Search code examples
pythonscriptingconsolewindbgida

IDA - execute commands in WinDbg console from python script


I have a python script to run in IDA that generates commands for WinDbg. I also open the memory dump (via the windmp64.dll loader), where the WinDbg console is already available:

available consoles

I want to execute commands in WinDbg console from python script. If I'm right, I need something like ida_expr.exec_idc_script() but for WinDbg.


Solution

  • ida_dbg.send_dbg_command() is exactly what I needed.