Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

hugsy/windbg_js_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

178 Commits

Repository files navigation

WinDbg JavaScript Scripts

Install as a WinDbg gallery

  • Clone the repository
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:

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

Every time WinDbg loads, the galleries will be loaded under Debugger.State.ExtensionGallery.ExtensionRepositories:

kd> dx -r1 Debugger.State.ExtensionGallery.ExtensionRepositories
Debugger.State.ExtensionGallery.ExtensionRepositories
 [0x0] : UserExtensions
 [0x1] : hugsysgallery
 [0x2] : overgallery
 [0x3] : LocalInstalled

And the scripts available for the current session can be listed too:

kd> dx -r1 Debugger.State.ExtensionGallery.ExtensionRepositories.Where( x => x.Name == "hugsysgallery" ).First().Packages
Debugger.State.ExtensionGallery.ExtensionRepositories.Where( x => x.Name == "hugsysgallery" ).First().Packages
 [0x0] : EnumCallbacks
 [0x1] : GetIdtGdt
 [0x2] : BreakOnProcessCreate
 [0x3] : DumpLookasides
 [0x4] : GetSsdtTable
 [0x5] : BigPool
 [0x6] : PageExplorer
 [0x7] : VadExplorer
 [0x8] : ObjectExplorer
 [0x9] : RegistryExplorer
 [0xa] : GetSiloMonitors
 [0xb] : EnumApc
 [0xc] : EnvVars
 [0xd] : EnumImages
 [0xe] : CallGraph
 [0xf] : TraceFunctions
 [0x10] : CyclicPattern

Related links

About

Toy scripts for playing with WinDbg JS API

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /