GithubHelp home page GithubHelp logo

anhkggfork / ida2sym Goto Github PK

View Code? Open in Web Editor NEW

This project forked from siberas/ida2sym

0.0 2.0 0.0 196 KB

IDAScript to create Symbol file which can be loaded in WinDbg via AddSyntheticSymbol

License: MIT License

Python 100.00%

ida2sym's Introduction

IDA2Sym

IDAScript to create pseudos symbol file which can be loaded in WinDbg via IDebug->AddSyntheticSymbol. This script was inspired by this forum post. The addsym.dll is the precompiled version of this post. The difference to the original IDC script is that IdaSym.py is focused only on function names which contain a specific token and their internal call-ret addresses. This keeps the symbol file small and speeds up the creation and load time.

Installation

Copy the IdaSym.py file to your favorite IDAPython folder.

Copy the addsym.dll to the binary path of your windbg installation.

Usage

The python script creates sym-entries only for functions which name ends with '_SYM'. So you have to rename the functions you want symbol entries for, e.g. DEADBEEF_sub_fffff**_SYM**.

To create a symbol file ues the following command (be sure to run the script IdaSym.py before):

Python>SaveSyms(AllSyms())
>> 131 syms written to G:\IDAs\YourBin\YourBin.sym

If you don't give a filename the default location of the symbols file will be created in your binary location.

To use the symbols in WinDbg use these commands:

.load addsym
!addsym <modname> <path-of-file> 

License

MIT (see LICENSE file)

ida2sym's People

Contributors

andyschmidt avatar siberas avatar

Watchers

James Cloos avatar Anhkgg 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.