about summary refs log tree commit diff stats
path: root/miasm/jitter/emulatedsymbexec.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/jitter/emulatedsymbexec.py')
-rw-r--r--miasm/jitter/emulatedsymbexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/jitter/emulatedsymbexec.py b/miasm/jitter/emulatedsymbexec.py
index b8ca52e3..1c3100ae 100644
--- a/miasm/jitter/emulatedsymbexec.py
+++ b/miasm/jitter/emulatedsymbexec.py
@@ -63,7 +63,7 @@ class EmulatedSymbExec(SymbolicExecutionEngine):
 
     def reset_regs(self):
         """Set registers value to 0. Ignore register aliases"""
-        for reg in self.ir_arch.arch.regs.all_regs_ids_no_alias:
+        for reg in self.lifter.arch.regs.all_regs_ids_no_alias:
             self.symbols.symbols_id[reg] = m2_expr.ExprInt(0, size=reg.size)
 
     # Memory management