diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-10-03 14:51:01 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-10-03 14:51:01 +0200 |
| commit | 268201a0678e45e2c5bc9503e8866075f698a0cb (patch) | |
| tree | 265ec433ec6a3b815301daf31ce48c6a562cbc26 | |
| parent | 664cd60430c535931e2a10c5fbe18235756fba0c (diff) | |
| download | miasm-268201a0678e45e2c5bc9503e8866075f698a0cb.tar.gz miasm-268201a0678e45e2c5bc9503e8866075f698a0cb.zip | |
Symbexec: Fix int
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 4c133c4c..1dc8dde1 100644 --- a/miasm2/ir/symbexec.py +++ b/miasm2/ir/symbexec.py @@ -295,7 +295,7 @@ class symbexec(object): ex = self.expr_simp(self.eval_expr(ex, {})) if not isinstance(ex, m2_expr.ExprInt): return None - ptr_diff = int(int32(ex)) + ptr_diff = int(int32(ex.arg)) out = [] if ptr_diff < 0: # [a ] |