From 688ef20af335c6829a4156d0d37d3ad98b55ff21 Mon Sep 17 00:00:00 2001 From: serpilliere Date: Mon, 3 Dec 2012 11:30:02 +0100 Subject: parse_asm: clean space; fix examples asm_bloc api --- example/asm_x86.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/asm_x86.py') diff --git a/example/asm_x86.py b/example/asm_x86.py index 82bba972..d4a621f6 100755 --- a/example/asm_x86.py +++ b/example/asm_x86.py @@ -57,7 +57,7 @@ eend: #fix shellcode addr symbol_pool.add_label('base_address', 0x400000) -symbol_pool.getby_name("main").offset = 0x401000 +symbol_pool.set_offset(symbol_pool.getby_name("main"), 0x401000) e.Opthdr.AddressOfEntryPoint = s_text.addr for b in all_bloc[0]: -- cgit 1.4.1