about summary refs log tree commit diff stats
path: root/example/ida/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/ida/utils.py')
-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 cb4ef4d8..245dd541 100644
--- a/example/ida/utils.py
+++ b/example/ida/utils.py
@@ -10,7 +10,7 @@ import miasm.expression.expression as m2_expr
 def guess_machine(addr=None):
     "Return an instance of Machine corresponding to the IDA guessed processor"
 
-    processor_name = GetLongPrm(INF_PROCNAME)
+    processor_name = get_inf_attr(INF_PROCNAME)
     info = idaapi.get_inf_structure()
 
     if info.is_64bit():