diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-07-07 08:17:30 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-07-07 12:33:47 +0200 |
| commit | 7c98de47f759e98fafab5e203e1f2d13e559f2cc (patch) | |
| tree | 04f99c8ce69885d911054a9bb521f1a16ed6f825 /example/symbol_exec | |
| parent | 0da61c83fdf9053b043391634a175b104b332e42 (diff) | |
| download | miasm-7c98de47f759e98fafab5e203e1f2d13e559f2cc.tar.gz miasm-7c98de47f759e98fafab5e203e1f2d13e559f2cc.zip | |
IR: rename add_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 56ca3f82..75942ec1 100644 --- a/example/symbol_exec/depgraph.py +++ b/example/symbol_exec/depgraph.py @@ -63,7 +63,7 @@ blocks = mdis.dis_multibloc(int(args.func_addr, 0)) # Generate IR for block in blocks: - ir_arch.add_bloc(block) + ir_arch.add_block(block) # Get the instance dg = DependencyGraph(ir_arch, implicit=args.implicit, diff --git a/example/symbol_exec/single_instr.py b/example/symbol_exec/single_instr.py index c31de738..1d520d3a 100644 --- a/example/symbol_exec/single_instr.py +++ b/example/symbol_exec/single_instr.py @@ -18,7 +18,7 @@ asm_block = mdis.dis_bloc(START_ADDR) # Translate ASM -> IR ira = machine.ira(mdis.symbol_pool) -ira.add_bloc(asm_block) +ira.add_block(asm_block) # Instanciate a Symbolic Execution engine with default value for registers ## EAX = EAX_init, ... |