about summary refs log tree commit diff stats
path: root/example/disasm/callback.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-07-07 12:20:08 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-07-07 12:43:04 +0200
commit4fcd0faa925d8d33db3622430548e932443d6f02 (patch)
tree245ae1df0ef337cc764a595a6026513536209c88 /example/disasm/callback.py
parent84d93930af5faee327784bed0646ef4eecf8328b (diff)
downloadmiasm-4fcd0faa925d8d33db3622430548e932443d6f02.tar.gz
miasm-4fcd0faa925d8d33db3622430548e932443d6f02.zip
Asmblock: rename bloc
Diffstat (limited to 'example/disasm/callback.py')
-rw-r--r--example/disasm/callback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/disasm/callback.py b/example/disasm/callback.py
index 06159138..5aae7f6f 100644
--- a/example/disasm/callback.py
+++ b/example/disasm/callback.py
@@ -46,7 +46,7 @@ bin_stream = bin_stream_str(shellcode)
 mdis = dis_x86_32(bin_stream)
 
 print "Without callback:\n"
-blocks = mdis.dis_multibloc(0)
+blocks = mdis.dis_multiblock(0)
 print "\n".join(str(block) for block in blocks)
 
 # Enable callback
@@ -59,7 +59,7 @@ mdis.job_done.clear()
 
 print "=" * 40
 print "With callback:\n"
-blocks_after = mdis.dis_multibloc(0)
+blocks_after = mdis.dis_multiblock(0)
 print "\n".join(str(block) for block in blocks_after)
 
 # Ensure the callback has been called