Windbg Extentions

PowerDbg:

PowerDbg is a PowerShell library that enables you to easily create PowerShell scripts to automate a WinDbg / CDB debugging session. You can use PowerDbg for Kernel Mode or User Mode, Post-Mortem debugging or Live Debugging and for native or managed code.

PowerShell has several advantages over the WinDbg Scripting Language. A few of them are: 

- Easier to create scripts 
- Leverage the .NET Framework 
- Debugging and tracing features 
- Code reuse through functions and cmdlets 
- Easier maintenance 
- Easier to build large scripts 
- Easier to format and display the important information

Whether you’re an old hand frustrated with WinDbg scripting, or you’re having your ‘first memory dump’ freak-out, PowerDbg is for you. And hopefully for everyone in the middle too.

PyKd:
PyKd - Python extension to access Debug Engine
PurposeThis project can help to automate debugging and crash dump analysis using Python. It allows one to take the best from both worlds: the expressiveness and convenience of Python with the power of WinDbg!
Additionally, pykd can work in two ways: 
It's a Python module and can be used in any Python script
Also it can be loaded as a WinDbg extension and provide service to control the debugger from a Python script
Why do I need this?If you want to automate the debugger but dislike the WinDbg built-in script machine syntax it's time to try again using the handy and powerful Python language. Even if you don't want to create your own script, maybe some existing scripts will be of interest to you?


原文地址:https://www.cnblogs.com/pugang/p/2771893.html