about summary refs log tree commit diff stats
path: root/example/ida/utils.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-06-10 12:14:34 +0200
committerGitHub <noreply@github.com>2020-06-10 12:14:34 +0200
commit030d19ae958b40e52dd8dfe4475fc181eae1480e (patch)
treec75f089b9860588342492b1068ba0bc3c26dea85 /example/ida/utils.py
parentdd2fd9c8e424463591782472192627cfdbe397f5 (diff)
parentce517ae68975e6f39c11e3b62d68548bc85b6f6b (diff)
downloadfocaccia-miasm-030d19ae958b40e52dd8dfe4475fc181eae1480e.tar.gz
focaccia-miasm-030d19ae958b40e52dd8dfe4475fc181eae1480e.zip
Merge pull request #1185 from nofiv/IDAPython74
Ported IDAPython code to the 7.4 version
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():