about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--miasm2/ir/symbexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/symbexec.py b/miasm2/ir/symbexec.py
index 3954a543..76bb65b6 100644
--- a/miasm2/ir/symbexec.py
+++ b/miasm2/ir/symbexec.py
@@ -272,7 +272,7 @@ class symbexec:
         return o
 
     def substract_mems(self, a, b):
-        ex = ExprOp('-', b.arg, a.arg)
+        ex = b.arg - a.arg
         ex = self.expr_simp(self.eval_expr(ex, {}))
         if not isinstance(ex, ExprInt):
             return None