about summary refs log tree commit diff stats
path: root/example/disas_and_graph.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2011-11-07 14:32:14 +0100
committerserpilliere <devnull@localhost>2011-11-07 14:32:14 +0100
commit42be5a492ee4b694e31a05eb7f5e3d984dd34ed4 (patch)
tree81faa2aa5718f17445940b45e56f537dd7755992 /example/disas_and_graph.py
parentffe1e1a7b1c6b158b5701585f27102f0c6c4eb82 (diff)
downloadmiasm-42be5a492ee4b694e31a05eb7f5e3d984dd34ed4.tar.gz
miasm-42be5a492ee4b694e31a05eb7f5e3d984dd34ed4.zip
fix api tipo
Diffstat (limited to 'example/disas_and_graph.py')
-rwxr-xr-xexample/disas_and_graph.py7
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):