Background
現在時間是2020年2月15日 星期六
IDA插件地址
在Macos 上使用 IDA Pro 7.0
問題
由於現在IDAGolangHelper支持IDA Pro 7.4,可能對低版本的IDAPython支持不太友好。由於某些問題(qiong),無法更換到最新IDA版本,因此要想在IDAPro7.0上使用這個插件,需要進行一些代碼上的修改。
Solution
- 下載項目
git clone https://github.com/sibears/IDAGolangHelper
- 修改文件
GO_Utils/__init__.py
,將第16行self.bt_obj = Utils.get_bitness(ida_ida.inf_get_min_ea())
替換爲self.bt_obj = Utils.get_bitness(idc.BeginEA())
- 如果仍然不行,繼續修改文件
GO_Utils/Gopclntab.py
, 在31行while possible_loc != idc.BADADDR:
下面增加一行return possible_loc
- 使用IDA->File->Script File 打開IDAGolangHelper項目中的go_entry.py。
- 選擇Go版本(默認1.2),點擊Rename functions
- 大功告成