WinDbg script support for .wds files with syntax highlighting, smart indentation, and snippets for reverse engineering and exploit development.
- Complete WinDbg script syntax highlighting
- WinDbg compliant auto-indent for control flow blocks
- Dot command recognition (
.block,.for,.if,.foreach) - Pseudo-register support (
$t0-$t19,$arg1-$argN) - Full x86/x64 register highlighting
- Expression evaluator syntax (
@@C++(),@@masm()) - Memory search command patterns
- 30+ code snippets for common exploit dev tasks
Create files with .wds extension and write your WinDbg scripts. Execute in WinDbg using:
$$>< script.wds
or if script takes arguments:
$$>a< script.wds
Type a snippet prefix and press Tab to expand:
rop<Tab> → ROP gadget search with badchar filtering
aslr<Tab> → Check ASLR for all modules
pivot<Tab> → Stack pivot gadget search
See SNIPPETS.md for the full list.
Press Enter after { to auto-indent. Type } to auto-dedent.
Copy to VSCode extensions directory:
- Windows:
%USERPROFILE%\.vscode\extensions\wds-syntax - macOS/Linux:
~/.vscode/extensions/wds-syntax
Then restart VSCode.
code --install-extension wds-syntax-1.0.0.vsixMIT