sibears / IDAGolangHelper

Set of IDA Pro scripts for parsing GoLang types information stored in compiled binary
1.01k stars 150 forks source link

AttributeError: 'module' object has no attribute 'inf_get_min_ea' #14

Closed AlifeLine closed 4 years ago

AlifeLine commented 4 years ago

I've tried many versions of ida pro, but I still can't import the script. Here is the error message.: \go_entry.py: 'module' object has no attribute 'inf_get_min_ea' Traceback (most recent call last): File "C:\Program Files\IDA 7.2\python\ida_idaapi.py", line 572, in IDAPython_ExecScript execfile(script, g) File "/go_entry.py", line 15, in GO_SETTINGS = GO_Utils.GoSettings() File "\GO_Utils__init.py", line 16, in init__ self.bt_obj = Utils.get_bitness(ida_ida.inf_get_min_ea()) AttributeError: 'module' object has no attribute 'inf_get_min_ea'

AlifeLine commented 4 years ago

I fix it i change ida_ida.inf_get_min_ea() to idc.BeginEA()

xuing commented 4 years ago

I fix it i change ida_ida.inf_get_min_ea() to idc.BeginEA()

It work, thanks. seem like a low version compatibility issue.

CaledoniaProject commented 4 years ago

Just go back to https://github.com/sibears/IDAGolangHelper/tree/b6e7907755bd57f756a157b3cd7565e7ef7a5dec and it works for IDA 7.0