diff options
| author | Camille Mougey <commial@gmail.com> | 2018-02-09 19:00:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-09 19:00:16 +0100 |
| commit | b41223c0418447113b12c2f2315bd66165e72866 (patch) | |
| tree | 669a16a156874aa97ed27fd14a18130b9ea5ae16 /example/expression/expr_grapher.py | |
| parent | c2e52be18ddd2eeb86b413e851a3ade0ceeca1dc (diff) | |
| parent | 275b8d25aacd639a0512f54e99f9fa247ecb8bb3 (diff) | |
| download | miasm-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.py | 8 |
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) |