diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-07-07 12:20:08 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-07-07 12:43:04 +0200 |
| commit | 4fcd0faa925d8d33db3622430548e932443d6f02 (patch) | |
| tree | 245ae1df0ef337cc764a595a6026513536209c88 /example/disasm/file.py | |
| parent | 84d93930af5faee327784bed0646ef4eecf8328b (diff) | |
| download | miasm-4fcd0faa925d8d33db3622430548e932443d6f02.tar.gz miasm-4fcd0faa925d8d33db3622430548e932443d6f02.zip | |
Asmblock: rename bloc
Diffstat (limited to 'example/disasm/file.py')
| -rw-r--r-- | example/disasm/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/disasm/file.py b/example/disasm/file.py index db5cd96b..88ba6162 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_multibloc(addr) +blocks = mdis.dis_multiblock(addr) open('graph.dot', 'w').write(blocks.dot()) |