调试方法

set integration-provider ida
set ida-rpc-host 192.168.3.166

细节

参考文章

https://github.com/pwndbg/pwndbg/blob/dev/docs/binja_integration.md

https://github.com/pwndbg/pwndbg/blob/dev/FEATURES.md

ida需要开启一个xml-server

先下载这个插件

https://github.com/pwndbg/pwndbg/blob/dev/pwndbg/integration/ida.py

然后在pwndbg设置config就能连了

https://github.com/pwndbg/pwndbg/blob/dev/ida_script.py

一个更好的插件

https://github.com/mahaloz/decomp2dbg?tab=readme-ov-file

思路和pwndbg提供的一样,都是xml-rpc server提供信息

但是支持打印局部变量

pwndbg客户端

pip3 install decomp2dbg && decomp2dbg --install

然后把d2d_ida文件夹放到ida插件里