about summary refs log tree commit diff stats
path: root/miasm2/ir/symbexec.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-12-23 13:45:25 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-12-23 15:11:48 +0100
commit494ba6e2b3711b519d7f99f2867e293b0f1650eb (patch)
tree7eb36c35e792baa5806a68daeb16d4856ff9323b /miasm2/ir/symbexec.py
parent103c1ea91b7cbeef86041974ac493f341513efd8 (diff)
downloadmiasm-494ba6e2b3711b519d7f99f2867e293b0f1650eb.tar.gz
miasm-494ba6e2b3711b519d7f99f2867e293b0f1650eb.zip
Expr: Remove exprint_from
Diffstat (limited to 'miasm2/ir/symbexec.py')
-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 2bb99e5d..fd8413fc 100644
--- a/miasm2/ir/symbexec.py
+++ b/miasm2/ir/symbexec.py
@@ -204,7 +204,7 @@ class symbexec(object):
             return expr
         elif isinstance(expr, m2_expr.ExprId):
             if isinstance(expr.name, asmbloc.asm_label) and expr.name.offset is not None:
-                ret = m2_expr.ExprInt_from(expr, expr.name.offset)
+                ret = m2_expr.ExprInt(expr.name.offset, expr.size)
             else:
                 ret = state.get(expr, expr)
         elif isinstance(expr, m2_expr.ExprMem):