From ce517ae68975e6f39c11e3b62d68548bc85b6f6b Mon Sep 17 00:00:00 2001 From: nofiv <41523109+nofiv@users.noreply.github.com> Date: Wed, 15 Apr 2020 16:15:04 +0200 Subject: IDAPython 7.4 porting --- example/ida/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ida/utils.py') 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(): -- cgit 1.4.1