吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2492|回复: 15
收起左侧

[IDA Plugin] ida.dll compatibility shim

  [复制链接]
风吹屁屁凉 发表于 2023-12-13 16:32

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

https://github.com/x0rloser/ida_dll_shim

ida_830.zip

57.78 KB, 下载次数: 74, 下载积分: 吾爱币 -1 CB

免费评分

参与人数 4吾爱币 +5 热心值 +4 收起 理由
fangchang819 + 2 + 1 谢谢@Thanks!
cxn1ce + 1 + 1 谢谢@Thanks!
YI0IX + 1 + 1 谢谢@Thanks!
yp17792351859 + 1 + 1 欢迎分析讨论交流,吾爱破解论坛有你更精彩!

查看全部评分

本帖被以下淘专辑推荐:

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

qqycra 发表于 2023-12-13 16:56
牛X啊,老插件直接用到新ida上
doc516 发表于 2024-1-22 21:50
请问版主,你发的这个dll包是已经编译好直接可以拖到安装目录覆盖使用吗,还是需要按照上面的流程,在visual studio 2022进行build之后才行,因为我直接拖进去覆盖,还是显示没有对应的反编译插件
ias想 发表于 2023-12-13 16:50
能否具体说明下用途

点评

机翻都懒得用是吧  发表于 2023-12-13 21:03
gcode 发表于 2023-12-13 17:08
好东西,感谢风大分享,这下可以用7.7的arm了
sunsjw 发表于 2023-12-13 21:44
果然牛B,
PYG老大费了老劲就这么给化解了。
cxn1ce 发表于 2023-12-13 22:14
感谢分享~~~
starsunyzl 发表于 2023-12-14 09:21
8.3 放出来的第一天就有人提供 patch 实现兼容 7.6/7.7 插件了,一直用着似乎没啥问题,Mark 一下,有问题了再来换这个试试
Magic369 发表于 2023-12-14 10:19
很不错的推荐
hackest 发表于 2023-12-14 12:57
正好需要呢
fangchang819 发表于 2023-12-14 13:45
感谢分享!!!
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-5-6 22:48

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表