Wouldn't it be nice if you could automate this task when using windbg to analyze dumps or perform live debugging? I have However, I was wondering if I could learn the scripting function of windbg, but I found an extension that can use python on windbg, so I will introduce it.
Python extension for WinDbg https://pykd.codeplex.com/
The flow from installation to hello world is described below.
https://pykd.codeplex.com/releases/view/116361
--I used setup.exe
--The windbg extension folder in the windbg installation folder? You will be asked for the path during installation --If you don't have python, it will download python msi from the net and execute it.
--Notepad.exe is fine
0:001>.load pykd.pyd
0:001>!pycmd
>>>print "hello world"
But I don't really know python. Well, I will play with it while googled appropriately.
Recommended Posts