WinDbg

Install

Get the latest version (stolen from herearrow-up-right):

wget --quiet --continue  --no-check-certificate -O windbg.appinstaller https://aka.ms/windbg/download
grep -ioP "htt.*bundle" windbg.appinstaller > msix.txt
wget --quiet --continue  --no-check-certificate -i msix.txt
7z.exe x windbg.msixbundle 
7z.exe x *x64.msix -owindbgnew
cd windbgnew
start dbgx.shell.exe

Symbols

Cheatsheet

Load debugging symbols:

Unassemble from memory:

Read bytes from memory:

Read data at a specified address:

Dump structures:

Edit bytes:

Search memory space:

Work with registers:

Work with software breakpoints:

Breakpoints and actions:

Work with hardware breakpoints:

![[Pasted image 20230924234241.png]]

Step through code:

List modules and symbols:

Evaluation and output formats:

Pseudo registers:

Last updated