Skip to content

WinDbg script support for .wds files with syntax highlighting, smart indentation, and snippets for reverse engineering and exploit development.

License

Notifications You must be signed in to change notification settings

0xntpower/wds-syntax

Repository files navigation

VSCode License

icon-128

WDS Script Syntax

WinDbg script support for .wds files with syntax highlighting, smart indentation, and snippets for reverse engineering and exploit development.

Syntax Highlighting Comparison

Features

  • 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

Usage

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.

Installation

From Source

Copy to VSCode extensions directory:

  • Windows: %USERPROFILE%\.vscode\extensions\wds-syntax
  • macOS/Linux: ~/.vscode/extensions/wds-syntax

Then restart VSCode.

From VSIX

code --install-extension wds-syntax-1.0.0.vsix

License

MIT

About

WinDbg script support for .wds files with syntax highlighting, smart indentation, and snippets for reverse engineering and exploit development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published