Giter Site home page Giter Site logo

idatocpp's Introduction

idatocpp

A tool that allows you to generate function wrappers for classes from your IDB file.

Installation

Copy all dlls from "IDA 7.2 plugins" folder to your IDA 7.2 plugins folder.

Usage

  1. Start IDA, Edit > Plugins > Export to Plugin-SDK. Select a folder of your choice and extract.

  2. Run the program like this: idatocpp.py -db "<PathToPluginSDKOutput>\database" -iclass ClassNameHere --rcalls

  3. An output folder will be created along with the header and source file for the class. That's all.

idatocpp.py options

idatocpp.py [-h] -db path -iclass name [--rcalls] [--pdtypes]

help:
-h, --help    show this help message and exit

required arguments:
  -db path      The path to IDA generated database using plugin-sdk tool.
  -iclass name  The class name in the IDB.
  
optional arguments:
  --rcalls      Adds <className>_Reversed wrappers for virtual functions.
  --pdtypes     Function parameter types will be extracted from the demangled name 
                rather than the function prototype.

Supported calling conventions

  • cdecl, thiscall, stdcall, and fastcall

Credits

I used the plugin-sdk export tool for this project. I modified it to make it easier to work with.

idatocpp's People

Contributors

codenulls avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

umbreon22

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.