Code Monkey home page Code Monkey logo

ida_dll_shim's Introduction

ida.dll compatibility shim

v0.1.2 xorloser November 2022 - June 2023

This is targeted for usage with IDA Pro since that is the version I use. If you use another version such as IDA Teams and this does work with it, then get in contact with me or raise an issue on github.

What is this for?

This enables customising how ida.dll/ida64.dll works by potentially adding, removing, replacing or intercepting its dll exports.

The main reason I made this was for forward compatibility support of older HexRays Decompiler versions with newer IDA versions. Specifically HexRays decompilers v7.6 and v7.7 do not work with IDA v8.x due to some exports that were removed from ida.dll in IDA v8.x. When the decompilers are loaded they attempt to import a list of functions/data from ida.dll and if any are not found they throw an error and close IDA.

By using this compatibility shim you can use your older v7.6 and v7.7 decompilers with IDA v8.x without having to patch any files.

The decompilers have backward compatibility support by checking the IDA version and only importing functions/data that it knows exists in older versions of IDA. However they assume that exports will not be removed in newer versions of IDA and so fail if this is the case.

The HexRays developers could fix this by adding dummy versions of the removed exports into future ida.dll releases. The exports that are missing are documented in 'ida_dll_exports.h'.

How to build

Open the Visual Studio solution in VS2022. Edit DllMain.cpp to uncomment only the IDA version you want to use this with. eg uncomment the line #define IDA_810 1 for use with IDA v8.1 (You will need to build separate files for each version of IDA you want to use this with.) Now build the solution for Release configuration to get ida.dll. Then build the solution for Release64 configuration to get ida64.dll. (Or batch build both at the same time)

How to install

Navigate to your IDA install directory. Rename ida.dll to ida-orig.dll Rename ida64.dll to ida64-orig.dll Build the ida_dll_shim project configurations Release and Release64. Copy in the result ida_dll_shim files ida.dll and ida64.dll into your IDA install directory.

How to uninstall

Navigate to your IDA install directory. Delete the ida_dll_shim ida.dll and ida64.dll files from your IDA install directory. Rename ida-orig.dll to ida.dll Rename ida64-orig.dll to ida64.dll

History

v0.1.2 - added suport for ida v8.3

v0.1.1 - fixed an issue that made IDA throw an error when trying to use the previous version of this. (sorry about that) - added support for ida v8.2 & v8.2sp1

v0.1.0 - initial version

ida_dll_shim's People

Contributors

x0rloser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ida_dll_shim's Issues

IDA Pro8.3 64-bit new config item cannot read

When I open so using IDA 8.3, a warning pops up that the configuration item is invalid,look the photo:
image
image
I checked the corresponding configuration file of version 7.7 and found that this OPTIMIZATIONS configuration is not available, which means that this configuration is new, but after replacing ida.dll, I found that reading this configuration failed, could you please help me find out what is going on, thank you very much.

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.