diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-03-13 14:19:44 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-03-13 15:07:28 +0100 |
| commit | 1b3fcbdda83d6f248a11de30aaa7cfbf1f775b2e (patch) | |
| tree | f2ed11ae52cff5c21617d239f54d9d99f696cff3 /example/asm/simple.py | |
| parent | 7a473f0df464b3134bad5ad028e92cf780cd2cc5 (diff) | |
| download | focaccia-miasm-1b3fcbdda83d6f248a11de30aaa7cfbf1f775b2e.tar.gz focaccia-miasm-1b3fcbdda83d6f248a11de30aaa7cfbf1f775b2e.zip | |
Core/asmbloc: move asmbloc to asmblock
Diffstat (limited to 'example/asm/simple.py')
| -rw-r--r-- | example/asm/simple.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/asm/simple.py b/example/asm/simple.py index 7ab403f4..62d2ff80 100644 --- a/example/asm/simple.py +++ b/example/asm/simple.py @@ -2,7 +2,7 @@ from pdb import pm from pprint import pprint from miasm2.arch.x86.arch import mn_x86 -from miasm2.core import parse_asm, asmbloc +from miasm2.core import parse_asm, asmblock # Assemble code @@ -25,7 +25,7 @@ loop: symbol_pool.set_offset(symbol_pool.getby_name("main"), 0x0) # Spread information and resolve instructions offset -patches = asmbloc.asm_resolve_final(mn_x86, blocks, symbol_pool) +patches = asmblock.asm_resolve_final(mn_x86, blocks, symbol_pool) # Show resolved blocks for block in blocks: |