IDA – execute commands in WinDbg console from python script

Question:

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.

Asked By: 1ndahous3

||

Answers:

ida_dbg.send_dbg_command() is exactly what I needed.

Answered By: 1ndahous3