简体   繁体   English

Ida Pro通过Python脚本调用内部调试器

[英]Ida Pro Calling the internal debuggers via Python script

Is there some way to call the internal remote gdb debugger via python in the IDA Pro environment? 在IDA Pro环境中,是否可以通过python调用内部远程gdb调试器? Note that I am referring to situations in which the process doesn't already have a debugger attached, and I would like to call the remote gdb debugger and attach it. 请注意,我指的是进程尚未附加调试器的情况,我想调用远程gdb调试器并将其附加。

Well i figured it out. 好吧,我想通了。 I have made a python script that loads on startup. 我做了一个在启动时加载的python脚本。

idaapi.load_and_run_plugin("windbg_user.plw", 0)
idaapi.load_and_run_plugin("armlinux_stub.plw", 0)
idaapi.load_and_run_plugin("gdb_user.plw", 0)
idaapi.load_and_run_plugin("linux_stub.plw", 0)
idaapi.load_and_run_plugin("mac_stub.plw", 0)
idaapi.load_and_run_plugin("win32_stub.plw", 0)
idaapi.load_and_run_plugin("win32_user.plw", 0)
idaapi.load_and_run_plugin("wince_stub.plw", 0)
idaapi.load_and_run_plugin("bdescr.plw", 0)
idaapi.load_and_run_plugin("epoc_user", 0)
idc.LoadDebugger("gdb", 1)

last one is bringing the gdb debugger to front, its not really needed. 最后一个是将gdb调试器放在最前面,这并不是真正需要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM