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/expression | |
| parent | 84d93930af5faee327784bed0646ef4eecf8328b (diff) | |
| download | miasm-4fcd0faa925d8d33db3622430548e932443d6f02.tar.gz miasm-4fcd0faa925d8d33db3622430548e932443d6f02.zip | |
Asmblock: rename bloc
Diffstat (limited to 'example/expression')
| -rw-r--r-- | example/expression/access_c.py | 2 | ||||
| -rw-r--r-- | example/expression/graph_dataflow.py | 2 | ||||
| -rw-r--r-- | example/expression/solve_condition_stp.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/example/expression/access_c.py b/example/expression/access_c.py index a3de66f7..7255e23a 100644 --- a/example/expression/access_c.py +++ b/example/expression/access_c.py @@ -157,7 +157,7 @@ dis_engine, ira = machine.dis_engine, machine.ira mdis = dis_engine(cont.bin_stream, symbol_pool=cont.symbol_pool) addr_head = 0 -blocks = mdis.dis_multibloc(addr_head) +blocks = mdis.dis_multiblock(addr_head) lbl_head = mdis.symbol_pool.getby_offset(addr_head) ir_arch_a = ira(mdis.symbol_pool) diff --git a/example/expression/graph_dataflow.py b/example/expression/graph_dataflow.py index 2661e72f..120cd73a 100644 --- a/example/expression/graph_dataflow.py +++ b/example/expression/graph_dataflow.py @@ -151,7 +151,7 @@ ad = int(args.addr, 16) print 'disasm...' mdis = dis_x86_32(data) mdis.follow_call = True -ab = mdis.dis_multibloc(ad) +ab = mdis.dis_multiblock(ad) print 'ok' diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py index 93ebdd4e..c9d4c7af 100644 --- a/example/expression/solve_condition_stp.py +++ b/example/expression/solve_condition_stp.py @@ -37,7 +37,7 @@ def get_block(ir_arch, mdis, ad): l = mdis.symbol_pool.getby_offset_create(ad) if not l in ir_arch.blocks: ad = l.offset - b = mdis.dis_bloc(ad) + b = mdis.dis_block(ad) ir_arch.add_block(b) b = ir_arch.get_block(l) if b is None: |