From 42be5a492ee4b694e31a05eb7f5e3d984dd34ed4 Mon Sep 17 00:00:00 2001 From: serpilliere Date: Mon, 7 Nov 2011 14:32:14 +0100 Subject: fix api tipo --- example/disas_and_graph.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'example') 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): -- cgit 1.4.1