about summary refs log tree commit diff stats
path: root/miasm2/ir/symbexec.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2016-10-03 13:33:56 +0200
committerGitHub <noreply@github.com>2016-10-03 13:33:56 +0200
commit664cd60430c535931e2a10c5fbe18235756fba0c (patch)
treea90abf03c7495779b12549f0a6d7a443b5b96def /miasm2/ir/symbexec.py
parent9bc007e7350851d1d97e426f4d1ae369facdb721 (diff)
parentc86e781f38e4b3688392d726bdd6fcbc2e6d377b (diff)
downloadmiasm-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.py2
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     ]