diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-06-19 17:01:20 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-06-19 18:11:01 +0200 |
| commit | 3b339448178ba2ff41bda606829deacc21df7198 (patch) | |
| tree | 644544ae3cb356af99f8dc4976b21b008d6c5028 /example/disasm/file.py | |
| parent | 0adddb12a7410c4bbdd6ee79252e9bf05ca22818 (diff) | |
| download | miasm-3b339448178ba2ff41bda606829deacc21df7198.tar.gz miasm-3b339448178ba2ff41bda606829deacc21df7198.zip | |
All: fix var name to reflect object types
Diffstat (limited to 'example/disasm/file.py')
| -rw-r--r-- | example/disasm/file.py | 4 |
1 files changed, 2 insertions, 2 deletions
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()) |