about summary refs log tree commit diff stats
path: root/example/ida/utils.py
diff options
context:
space:
mode:
authornofiv <41523109+nofiv@users.noreply.github.com>2020-04-15 16:15:04 +0200
committernofiv <41523109+nofiv@users.noreply.github.com>2020-04-16 00:47:24 +0200
commitce517ae68975e6f39c11e3b62d68548bc85b6f6b (patch)
tree1a37e191af67d3f4659be99d92a90aecda3c5f4a /example/ida/utils.py
parent6b79e8c5ab820222e440d4b96d73dd1258630eb8 (diff)
downloadfocaccia-miasm-ce517ae68975e6f39c11e3b62d68548bc85b6f6b.tar.gz
focaccia-miasm-ce517ae68975e6f39c11e3b62d68548bc85b6f6b.zip
IDAPython 7.4 porting
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():