about summary refs log tree commit diff stats
path: root/example/asm_arm.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/asm_arm.py')
-rwxr-xr-xexample/asm_arm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/asm_arm.py b/example/asm_arm.py
index 2072f519..8cd5e303 100755
--- a/example/asm_arm.py
+++ b/example/asm_arm.py
@@ -45,7 +45,7 @@ open("graph.txt" , "w").write(g)
 for b in all_bloc[0]:
     print b
 symbol_pool.add_label('base_address', 0x0)
-symbol_pool.getby_name("toto").offset = 0x0
+symbol_pool.set_offset(symbol_pool.getby_name("toto"), 0x0)
 
 resolved_b, patches = asmbloc.asm_resolve_final(my_mn, all_bloc[0], symbol_pool)
 print patches