about summary refs log tree commit diff stats
path: root/example/asm_x86.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/asm_x86.py')
-rwxr-xr-xexample/asm_x86.py2
1 files changed, 1 insertions, 1 deletions
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