thelumberjhack / windbg_js_scripts

Toy scripts for playing with WinDbg JS API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WinDbg JavaScript Scripts

Learning Windows Internals by debugging it...

Using as a WinDbg gallery

  • Clone the repository
C:> git clone https://github.com/hugsy/windbg_js_scripts
  • In windbg_js_scripts\config.xml, edit the lines Setting Name="LocalCacheRootFolder" to reflect the local path of the repository.

  • In WinDbg, load the config.xml file and save the settings:

0:000> .settings load \path\to\windbg_js_scripts\config.xml
[...]\windbg_js_scripts\config.xml has been loaded successfully.
0:000> .settings save
Settings have been saved.

Every time WinDbg loads, the galleries will be loaded:

kd> dx -r1 Debugger.State.ExtensionGallery.ExtensionRepositories
Debugger.State.ExtensionGallery.ExtensionRepositories
[...]
    [0x1]            : hugsysgallery

Random links somewhat related:

About

Toy scripts for playing with WinDbg JS API

License:MIT License


Languages

Language:JavaScript 100.0%