about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/ida/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/utils.py b/example/ida/utils.py
index 245dd541..6d90c82c 100644
--- a/example/ida/utils.py
+++ b/example/ida/utils.py
@@ -46,7 +46,7 @@ def guess_machine(addr=None):
         # Default is arm
         is_armt = False
         if addr is not None:
-            t_reg = GetReg(addr, "T")
+            t_reg = get_sreg(addr, "T")
             is_armt = t_reg == 1
 
         is_bigendian = info.is_be()