From 3b339448178ba2ff41bda606829deacc21df7198 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Tue, 19 Jun 2018 17:01:20 +0200 Subject: All: fix var name to reflect object types --- example/disasm/file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/disasm/file.py') diff --git a/example/disasm/file.py b/example/disasm/file.py index 88ba6162..196e1b1a 100644 --- a/example/disasm/file.py +++ b/example/disasm/file.py @@ -13,6 +13,6 @@ cont = Container.from_stream(open(sys.argv[1])) mdis = dis_x86_32(cont.bin_stream) # Inform the engine to avoid disassembling null instructions mdis.dont_dis_nulstart_bloc = True -blocks = mdis.dis_multiblock(addr) +asmcfg = mdis.dis_multiblock(addr) -open('graph.dot', 'w').write(blocks.dot()) +open('graph.dot', 'w').write(asmcfg.dot()) -- cgit 1.4.1