Code Monkey home page Code Monkey logo

ida_migrator's Introduction

IDA Migrator Plugin

IDA Migrator plugin aids migrating function names, structures and enums from one database instance to another.

This comes in handy when:

  • Moving to a newer version of IDA that does better analysis and you don't want to change in the new instance type information or variable names of the decompiled functions.
  • The current idb instance fails to decompile a function or the decompilation looks wrong in comparison to another idb instance of the same binary.
  • Experimenting on another idb instance before making major changes on the current instance.
  • A lightweight easy way of creating small incremental backups from the current work.
  • For w/e reason, the current idb instance you're working on gets corrupted.

IDA Migrator plugin developed using PyQt, hence should work on all platforms.

Getting Started

Download links can be found here.

Copy the files under the source directory and put them under your IDA installation plugins directory.

Start your current IDA instance you want to migrate from and then press CTRL+SHIFT+D to show the plugin's UI. Alternative; open it through the Edit -> Plugins -> IDA Migrator menu:

Intro

Step 1 - Exporting Data

Clicking the Export button will show all functions of the current database instance:

Exporter UI

Hint: You can uncheck any functions you want to exclude from exporting.

Once you click the Start Export button, it will ask you where would you like to export the files; One is the *symbols*.json storing addresses and function names and the other is *types*.idc having all the structures and enums information:

Exporter Files

Step 2 - Importing Data

In the new idb instance, open the plugin again and click on the Import button, which will then ask you to provide the *symbols*.json file:

Importer UI

Same procedure from here, just that once you click the Start Import button, it will ask you if you would like to import structures and enums as well from the exported *types*.idc file, that's optional for you to choose.

Note that it will only rename functions that does not have the same name and will output what functions has been affected in IDA's console:

Importer Results

Contributing

Pull-Requests are greatly appreciated should you like to contribute to the project.

Same goes for opening issues; if you have any suggestions, feedback or you found any bugs, please do not hesitate to open an issue.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

ida_migrator's People

Contributors

giladreich avatar

Watchers

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