diff options
| author | serpilliere <devnull@localhost> | 2011-12-22 10:16:56 +0100 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2011-12-22 10:16:56 +0100 |
| commit | 880a2ead19d69a8dacfd88c00fd9d5f75dea3abf (patch) | |
| tree | ed3b060c6e2dfb529c46bc3a79f6f470b94de348 /example/disas_and_graph.py | |
| parent | 1450a19ba0b1f7c3aba6faacc5e80ae90eb7b25c (diff) | |
| download | focaccia-miasm-880a2ead19d69a8dacfd88c00fd9d5f75dea3abf.tar.gz focaccia-miasm-880a2ead19d69a8dacfd88c00fd9d5f75dea3abf.zip | |
add segmentation q&d support for emulation (16bit/32bit?)
Diffstat (limited to 'example/disas_and_graph.py')
| -rwxr-xr-x | example/disas_and_graph.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/disas_and_graph.py b/example/disas_and_graph.py index 8a41d979..07030ea4 100755 --- a/example/disas_and_graph.py +++ b/example/disas_and_graph.py @@ -169,7 +169,8 @@ def my_disasm_callback(ad): raise ValueError('bad machine options') all_bloc = asmbloc.dis_bloc_all(mnemo, in_str, ad, set(), symbol_pool=symbol_pool, - amode = admode, + opmode = admode, + admode = admode, dontdis_retcall = options.dontdiscallret, follow_call = options.followcall) g = asmbloc.bloc2graph(all_bloc) |