📜 ⬆️ ⬇️

Configuring WinDbg

WinDbg - allows you to debug 32/64 bit user-level applications, drivers, can be used to analyze crash memory dumps, WinDbg supports automatic loading of debugging symbols, there is a built-in scripting language to automate the debugging process, you can download the debugger here .

WorkSpace


May contain the following:

Current session information


Debug Settings


GUI Settings



Each debugger has its strength, if you need to debug 64 bit applications or you need to debug a driver, then my choice falls on WinDbg. When you first start WinDbg, we get a rather inconvenient workspace; this is what repels those who use OllyDbg at the beginning.
')
image

Especially for "pleasant" debugging made sane workspace, with a convenient arrangement of windows and a dark color scheme close to OllyDbg. Download here .

image

List of frequently used commands


Performance control



Breakpoints



Dump



miscellanea



useful links


Extensions

Debugging Extensions — Uses the Wait Chain Traversal API to find “waiting” threads and automatically detects deadlocks.
Viscope - draws graphs for code.
Core Analyzer - shows the analysis of memory and displays the relationship of each object.
pykd - allows you to use python as a language for automating debugging and analysis.
! exploitable - automatic analysis of dumps and risk assessment.
windbgshark - WinDbg integration with wireshark.
ollymigrate - the plugin allows you to "transfer" debugging from one debugger to another (Supported debuggers: OllyDbg1, OllyDbg2, Immunity Debugger, WinDbg, IDA Pro)
blwdbgue - lights in the command window.
WinDbg Highlighted - highlighting asm instructions in the disassembler and commands window.

Help

Common WinDbg Commands - a complete list of WinDbg commands grouped thematically.
WinDbg Hotkeys - a list of available hotkeys.
WinDbg Tutorials is a series of debugging articles from Microsoft.
WinDbg Uncovered - project teaches debugging and analysis using WinDbg.
Crash Dump Analysis Poster - cheat sheet for dump analysis.
Kate Butenko blog - a blog that describes work with crash dumps, memory leaks.

Source: https://habr.com/ru/post/187522/


All Articles