about summary refs log tree commit diff stats
path: root/example/expression/expr_grapher.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-02-09 19:00:16 +0100
committerGitHub <noreply@github.com>2018-02-09 19:00:16 +0100
commitb41223c0418447113b12c2f2315bd66165e72866 (patch)
tree669a16a156874aa97ed27fd14a18130b9ea5ae16 /example/expression/expr_grapher.py
parentc2e52be18ddd2eeb86b413e851a3ade0ceeca1dc (diff)
parent275b8d25aacd639a0512f54e99f9fa247ecb8bb3 (diff)
downloadmiasm-b41223c0418447113b12c2f2315bd66165e72866.tar.gz
miasm-b41223c0418447113b12c2f2315bd66165e72866.zip
Merge pull request #676 from serpilliere/exprid_no_default_size
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)