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/symbol_exec | |
| parent | 84d93930af5faee327784bed0646ef4eecf8328b (diff) | |
| download | miasm-4fcd0faa925d8d33db3622430548e932443d6f02.tar.gz miasm-4fcd0faa925d8d33db3622430548e932443d6f02.zip | |
Asmblock: rename bloc
Diffstat (limited to 'example/symbol_exec')
| -rw-r--r-- | example/symbol_exec/depgraph.py | 2 | ||||
| -rw-r--r-- | example/symbol_exec/single_instr.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/symbol_exec/depgraph.py b/example/symbol_exec/depgraph.py index 75942ec1..4d518cb3 100644 --- a/example/symbol_exec/depgraph.py +++ b/example/symbol_exec/depgraph.py @@ -59,7 +59,7 @@ if args.rename_args: init_ctx[e_mem] = ExprId("arg%d" % i) # Disassemble the targeted function -blocks = mdis.dis_multibloc(int(args.func_addr, 0)) +blocks = mdis.dis_multiblock(int(args.func_addr, 0)) # Generate IR for block in blocks: diff --git a/example/symbol_exec/single_instr.py b/example/symbol_exec/single_instr.py index 1d520d3a..263c0252 100644 --- a/example/symbol_exec/single_instr.py +++ b/example/symbol_exec/single_instr.py @@ -14,7 +14,7 @@ asm = machine.mn.asm(line)[0] # Get back block bin_stream = bin_stream_str(asm) mdis = machine.dis_engine(bin_stream) -asm_block = mdis.dis_bloc(START_ADDR) +asm_block = mdis.dis_block(START_ADDR) # Translate ASM -> IR ira = machine.ira(mdis.symbol_pool) |