Giter VIP home page Giter VIP logo

idbg's Introduction

IDBG

Allows to add breakpoints from IDA (from the graph/text view) to WinDbg easily.

Since I found the debugger inside IDA confusing(probably because I couldn't use it properly) I decided to write a plugin that allowed me to add breakpoints from the IDA graph view to WinDbg.

How to load:

On IDA: File, Script File (or just ALT F7) then browse to idbg.py
On WinDbg: !load path
!sync_with module (module without the .dll at the end)

How to unload:

On WinDbg: !unload_idbg then !unload path

On IDA:
just click somewhere on the graph so OnViewCurpos gets called
(path is the path of the WinDbg DLL extension)

How to use:

Load idbg on IDA and windbg-extension.dll on WinDbg then simply press the key j + left click wherever you want to add a breakpoint to add a breakpoint and doing the same will also remove it if there's already a breakpoint in that location.
To change the key j to whatever key you want, you have to modify the parameter of the is_key_down function with the vkey code of the key you desire to use instead.

Credits:
https://github.com/geohot/qira/blob/master/ida/python/qira.py (took the hooks from there)
dbgsdk samples from Microsoft and wdbgark https://github.com/swwwolf/wdbgark

while using it I found a few bugs that I can't be bothered to fix at the moment since it's fine for me but I'll try to to fix them if it can be helpful for someone

idbg's People

Contributors

almost-real avatar

Stargazers

dinero avatar  avatar jay avatar Hyun Yi avatar  avatar Vasile2kappa avatar cryzlasm avatar  avatar R avatar  avatar Duc Phan avatar Bu2Nil avatar Pedram Amini avatar Tennn 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.