diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-02-09 18:13:24 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-02-09 18:13:24 +0100 |
| commit | 275b8d25aacd639a0512f54e99f9fa247ecb8bb3 (patch) | |
| tree | 669a16a156874aa97ed27fd14a18130b9ea5ae16 /example/symbol_exec | |
| parent | c2e52be18ddd2eeb86b413e851a3ade0ceeca1dc (diff) | |
| download | miasm-275b8d25aacd639a0512f54e99f9fa247ecb8bb3.tar.gz miasm-275b8d25aacd639a0512f54e99f9fa247ecb8bb3.zip | |
Expression: no default size for ExprId
Diffstat (limited to 'example/symbol_exec')
| -rw-r--r-- | example/symbol_exec/depgraph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/symbol_exec/depgraph.py b/example/symbol_exec/depgraph.py index e24f7f9b..b8d838ae 100644 --- a/example/symbol_exec/depgraph.py +++ b/example/symbol_exec/depgraph.py @@ -55,8 +55,8 @@ if args.rename_args: if arch == "x86_32": # StdCall example for i in xrange(4): - e_mem = ExprMem(ExprId("ESP_init") + ExprInt(4 * (i + 1), 32), 32) - init_ctx[e_mem] = ExprId("arg%d" % i) + e_mem = ExprMem(ExprId("ESP_init", 32) + ExprInt(4 * (i + 1), 32), 32) + init_ctx[e_mem] = ExprId("arg%d" % i, 32) # Disassemble the targeted function blocks = mdis.dis_multiblock(int(args.func_addr, 0)) |