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/symbol_exec | |
| 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/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)) |