diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2016-10-03 13:33:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 13:33:56 +0200 |
| commit | 664cd60430c535931e2a10c5fbe18235756fba0c (patch) | |
| tree | a90abf03c7495779b12549f0a6d7a443b5b96def /miasm2/ir/symbexec.py | |
| parent | 9bc007e7350851d1d97e426f4d1ae369facdb721 (diff) | |
| parent | c86e781f38e4b3688392d726bdd6fcbc2e6d377b (diff) | |
| download | miasm-664cd60430c535931e2a10c5fbe18235756fba0c.tar.gz miasm-664cd60430c535931e2a10c5fbe18235756fba0c.zip | |
Merge pull request #430 from commial/feature/int_ExprInt
Feature/int expr 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 1dc8dde1..4c133c4c 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.arg)) + ptr_diff = int(int32(ex)) out = [] if ptr_diff < 0: # [a ] |