From 1b3fcbdda83d6f248a11de30aaa7cfbf1f775b2e Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Mon, 13 Mar 2017 14:19:44 +0100 Subject: Core/asmbloc: move asmbloc to asmblock --- example/asm/shellcode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/asm/shellcode.py') diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py index 20fa02d8..bacb65fb 100755 --- a/example/asm/shellcode.py +++ b/example/asm/shellcode.py @@ -5,7 +5,7 @@ from pdb import pm from elfesteem import pe_init from elfesteem.strpatchwork import StrPatchwork -from miasm2.core import parse_asm, asmbloc +from miasm2.core import parse_asm, asmblock from miasm2.analysis.machine import Machine from miasm2.core.interval import interval @@ -79,7 +79,7 @@ for block in blocks: open("graph.dot", "w").write(blocks.dot()) # Apply patches -patches = asmbloc.asm_resolve_final(machine.mn, +patches = asmblock.asm_resolve_final(machine.mn, blocks, symbol_pool, dst_interval) -- cgit 1.4.1