Code Monkey home page Code Monkey logo

windbg_js_scripts's Introduction

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]            : VadExplorer
    [0x7]            : ObjectExplorer
    [0x8]            : RegistryExplorer
    [0x9]            : GetSiloMonitors
    [0xa]            : EnumApc
    [0xb]            : EnvVars
    [0xc]            : EnumImages
    [0xd]            : CallGraph
    [0xe]            : TraceFunctions
    [0xf]            : CyclicPattern

Related links

windbg_js_scripts's People

Contributors

hugsy avatar repnz avatar ionescu007 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.