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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm/jitter/emulatedsymbexec.py b/miasm/jitter/emulatedsymbexec.py
index 844e7d5f..b8ca52e3 100644
--- a/miasm/jitter/emulatedsymbexec.py
+++ b/miasm/jitter/emulatedsymbexec.py
@@ -1,6 +1,7 @@
 from miasm.core.utils import decode_hex, encode_hex
 import miasm.expression.expression as m2_expr
 from miasm.ir.symbexec import SymbolicExecutionEngine
+from miasm.arch.x86.arch import is_op_segm
 
 
 class EmulatedSymbExec(SymbolicExecutionEngine):
@@ -140,7 +141,7 @@ class EmulatedSymbExec(SymbolicExecutionEngine):
     # CPU specific simplifications
     def _simp_handle_segm(self, e_s, expr):
         """Handle 'segm' operation"""
-        if not m2_expr.is_op_segm(expr):
+        if not is_op_segm(expr):
             return expr
         if not expr.args[0].is_int():
             return expr