diff options
| author | serpilliere <devnull@localhost> | 2011-11-07 14:32:14 +0100 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2011-11-07 14:32:14 +0100 |
| commit | 42be5a492ee4b694e31a05eb7f5e3d984dd34ed4 (patch) | |
| tree | 81faa2aa5718f17445940b45e56f537dd7755992 /example/disas_and_graph.py | |
| parent | ffe1e1a7b1c6b158b5701585f27102f0c6c4eb82 (diff) | |
| download | miasm-42be5a492ee4b694e31a05eb7f5e3d984dd34ed4.tar.gz miasm-42be5a492ee4b694e31a05eb7f5e3d984dd34ed4.zip | |
fix api tipo
Diffstat (limited to 'example/disas_and_graph.py')
| -rwxr-xr-x | example/disas_and_graph.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/example/disas_and_graph.py b/example/disas_and_graph.py index b21ba2af..9ca32c23 100755 --- a/example/disas_and_graph.py +++ b/example/disas_and_graph.py @@ -151,10 +151,9 @@ from miasm.graph.graph_qt import graph_blocs #test symbols from ida -for (n,f), ads in dll_dyn_funcs.items(): - for ad in ads: - l = symbol_pool.getby_name_create("%s_%s"%(n, f)) - l.offset = ad +for (n,f), ad in dll_dyn_funcs.items(): + l = symbol_pool.getby_name_create("%s_%s"%(n, f)) + l.offset = ad def my_disasm_callback(ad): |