about summary refs log tree commit diff stats
path: root/example/expression/access_c.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/expression/access_c.py')
-rw-r--r--example/expression/access_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/expression/access_c.py b/example/expression/access_c.py
index 9b92d201..8e440cc1 100644
--- a/example/expression/access_c.py
+++ b/example/expression/access_c.py
@@ -144,7 +144,7 @@ dis_engine, ira = machine.dis_engine, machine.ira
 mdis = dis_engine(cont.bin_stream, loc_db=cont.loc_db)
 addr_head = 0
 asmcfg = mdis.dis_multiblock(addr_head)
-lbl_head = mdis.loc_db.getby_offset(addr_head)
+lbl_head = mdis.loc_db.get_offset_location(addr_head)
 
 ir_arch_a = ira(mdis.loc_db)
 for block in asmcfg.blocks: