diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2014-09-05 13:28:40 +0200 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2014-09-05 13:28:40 +0200 |
| commit | 09cde7eaf747dfdaf29112d2bab25479dcf152a3 (patch) | |
| tree | ec6c7be7019e5158dc383bb5d91e60b6d4b14b90 | |
| parent | 888bf4c53530e896439192946acbb9bae6149171 (diff) | |
| download | miasm-09cde7eaf747dfdaf29112d2bab25479dcf152a3.tar.gz miasm-09cde7eaf747dfdaf29112d2bab25479dcf152a3.zip | |
Symbexec: Should use b - a instead of ExprOp('-', b, a)
Diffstat (limited to '')
| -rw-r--r-- | miasm2/ir/symbexec.py | 2 |
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 |