about summary refs log tree commit diff stats
path: root/example/expression/expr_grapher.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 18:13:24 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 18:13:24 +0100
commit275b8d25aacd639a0512f54e99f9fa247ecb8bb3 (patch)
tree669a16a156874aa97ed27fd14a18130b9ea5ae16 /example/expression/expr_grapher.py
parentc2e52be18ddd2eeb86b413e851a3ade0ceeca1dc (diff)
downloadfocaccia-miasm-275b8d25aacd639a0512f54e99f9fa247ecb8bb3.tar.gz
focaccia-miasm-275b8d25aacd639a0512f54e99f9fa247ecb8bb3.zip
Expression: no default size for ExprId
Diffstat (limited to 'example/expression/expr_grapher.py')
-rw-r--r--example/expression/expr_grapher.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/expression/expr_grapher.py b/example/expression/expr_grapher.py
index 0de2142b..9bf6cd84 100644
--- a/example/expression/expr_grapher.py
+++ b/example/expression/expr_grapher.py
@@ -2,10 +2,10 @@ from miasm2.expression.expression import *
 
 print "Simple Expression grapher demo"
 
-a = ExprId("A")
-b = ExprId("B")
-c = ExprId("C")
-d = ExprId("D")
+a = ExprId("A", 32)
+b = ExprId("B", 32)
+c = ExprId("C", 32)
+d = ExprId("D", 32)
 m = ExprMem(a + b + c + a)
 
 e1 = ExprCompose(a + b - (c * a) / m | b, a + m)