From deb4200cf4b13039dea5b889d3f4cb47e8bd3221 Mon Sep 17 00:00:00 2001 From: serpilliere Date: Mon, 3 Dec 2012 11:04:29 +0100 Subject: core: add api set_offset for asm_label (louis granboulan) --- example/asm_x86.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') diff --git a/example/asm_x86.py b/example/asm_x86.py index bbccf25e..82bba972 100755 --- a/example/asm_x86.py +++ b/example/asm_x86.py @@ -56,7 +56,7 @@ eend: ''') #fix shellcode addr -symbol_pool.add(asmbloc.asm_label('base_address', 0x400000)) +symbol_pool.add_label('base_address', 0x400000) symbol_pool.getby_name("main").offset = 0x401000 e.Opthdr.AddressOfEntryPoint = s_text.addr -- cgit 1.4.1