diff options
| author | Ajax <commial@gmail.com> | 2016-09-15 17:46:32 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2016-09-16 08:16:17 +0200 |
| commit | c86e781f38e4b3688392d726bdd6fcbc2e6d377b (patch) | |
| tree | 1e2283aa841316cfabb21c9c2d4ac6e116f97dab /miasm2/ir/symbexec.py | |
| parent | effb612334d88ce2f52c728e542bda2902bd35ed (diff) | |
| download | miasm-c86e781f38e4b3688392d726bdd6fcbc2e6d377b.tar.gz miasm-c86e781f38e4b3688392d726bdd6fcbc2e6d377b.zip | |
Update int(XX.arg) -> int(XX)
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 ] |