13 Security Lab

IDA Pro - idapython idaapi.get_name parse error 본문

Computer Science/Tools

IDA Pro - idapython idaapi.get_name parse error

Maj0r Tom 2018. 3. 31. 21:31

Environment

win 10 x64

ida 6.8

idapython

ida2pat

 

When I run idb2pat script using idapython on shell prompt, idb2pat fail call idb2pat.getname() function

it shows the below exception message

 

it fails to parse getname() parameter, it provides different number of parameters

 

 

 

 

 

I found it. idb2pat is updated after IDA 7.0 release, get_name function is modified after then.

 

 

 

idb2pat repository code diff.

 

 

Problem

It is required 2 parameters but, just one param is provided.

 

Solution

Use the proper script at IDA Pro 6.8

or

Upgrade to upper version IDA Pro 7.0 

 

 

Comments