链接到 IdaPython 的函数

逆向工程 艾达 蟒蛇
2021-07-02 20:20:24

在我的 IdaPython 脚本中,我打印了我找到的函数。

print(func_address)

如果用户单击此功能(在输出窗口中)Ida 将跳转到此功能,我该怎么做?

1个回答

只需将地址打印为十六进制值:

print("%08x" % func_address)

所以在输出窗口中:

Python>print(0x1001CC80)
268553344     # <---- this is not clickable
Python>print("%08x" % 0x1001CC80)
1001cc80      # <---- this is clickable