google / bindiff

Quickly find differences and similarities in disassembled code
https://zynamics.com/bindiff.html
Apache License 2.0
2.25k stars 142 forks source link

support IDA version 9.0 #50

Open zhefox opened 2 months ago

zhefox commented 2 months ago

Is your feature request related to a problem? Please describe. support IDA version 9.0

cblichmann commented 2 months ago

Yes! This needs to be done. I was on vacation last week, but will request the beta version today :)

steph3nsims commented 2 months ago

You rock man!

BruhRain commented 4 weeks ago

Any updates on this? I've been waiting a while for this to release, I'm pretty sure someone has already made an update but changes haven't been merged, I cant build the project currently lol.

cblichmann commented 4 weeks ago

I am super sorry about this, but I don't really have the cycles for this at the moment (see my "rant" at https://x.com/AdmVonSchneider/status/1841261692728037445).

Note that as a workaround, you can use the BinExport PR mentioned in the thread (https://github.com/google/binexport/pull/133) to build a binexport64.so that works with IDA 9.0 and then use a workflow similar to the one for Ghidra/Binary Ninja:

BruhRain commented 4 weeks ago

Thanks, i'll try this out

zhefox commented 4 weeks ago

51 Compile and obtain

Or if there is already a version compiled by others in other repositories, you can download it directly.

Jacky-LinPeng commented 4 weeks ago

Hi,would it be possible for you to release a package so that we can install and use it conveniently? We would be extremely grateful.

As a novice, I have installed BinDiff using BinDiff8.dmg. However, if there is no new release package, I don't know how to ensure compatibility. Currently, there is no BinExport in my IDA9 - Edit - Plugins.

cblichmann commented 4 weeks ago

For various reasons I can't currently provide release packages. We'll also need to fix the Windows builds here on GitHub (protobuf linking against the wrong std lib) first.

zhefox commented 4 weeks ago

tomorrow

ZHEFOX

@. | ---- Replied Message ---- | From | @.> | | Date | 10/08/2024 19:42 | | To | google/bindiff @.> | | Cc | ZheFox @.>, State @.***> | | Subject | Re: [google/bindiff] support IDA version 9.0 (Issue #50) |

Hello, can you release a release package for us to install and use? Thank you very much

I am new, I have already installed BinDiff using BinDiff8.dmg, if no new release package is published, I do not know how to be compatible, my IDA9-Edit-Plugins do not have BinExport

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

zhefox commented 3 weeks ago

Hi,would it be possible for you to release a package so that we can install and use it conveniently? We would be extremely grateful.

As a novice, I have installed BinDiff using BinDiff8.dmg. However, if there is no new release package, I don't know how to ensure compatibility. Currently, there is no BinExport in my IDA9 - Edit - Plugins.

https://github.com/zhefox/Bindiff_for_IDA9.0

zhefox commented 3 weeks ago

Just replace the original file,for example, mine is in the directory: C:\Users\xxx\AppData\Roaming\Hex-Rays\IDA Pro\plugins\

Jacky-LinPeng commented 3 weeks ago

Hi,would it be possible for you to release a package so that we can install and use it conveniently? We would be extremely grateful. As a novice, I have installed BinDiff using BinDiff8.dmg. However, if there is no new release package, I don't know how to ensure compatibility. Currently, there is no BinExport in my IDA9 - Edit - Plugins.

https://github.com/zhefox/Bindiff_for_IDA9.0

Thank you so much! However, I am using the Mac system. It seems that it needs to be compiled into a dynamic link library. For instance, bindiff7_ida64.dylib. Would it be convenient for you to compile a version that supports the Mac system? I believe there are also many Mac users who would find it useful.

Image

zhefox commented 3 weeks ago

Hi,would it be possible for you to release a package so that we can install and use it conveniently? We would be extremely grateful. As a novice, I have installed BinDiff using BinDiff8.dmg. However, if there is no new release package, I don't know how to ensure compatibility. Currently, there is no BinExport in my IDA9 - Edit - Plugins.

https://github.com/zhefox/Bindiff_for_IDA9.0

Thank you so much! However, I am using the Mac system. It seems that it needs to be compiled into a dynamic link library. For instance, bindiff7_ida64.dylib. Would it be convenient for you to compile a version that supports the Mac system? I believe there are also many Mac users who would find it useful.

Image

https://bbs.kanxue.com/thread-283322.htm You can download it here

Jacky-LinPeng commented 3 weeks ago

Hi,would it be possible for you to release a package so that we can install and use it conveniently? We would be extremely grateful. As a novice, I have installed BinDiff using BinDiff8.dmg. However, if there is no new release package, I don't know how to ensure compatibility. Currently, there is no BinExport in my IDA9 - Edit - Plugins.

https://github.com/zhefox/Bindiff_for_IDA9.0

Thank you so much! However, I am using the Mac system. It seems that it needs to be compiled into a dynamic link library. For instance, bindiff7_ida64.dylib. Would it be convenient for you to compile a version that supports the Mac system? I believe there are also many Mac users who would find it useful. Image

https://bbs.kanxue.com/thread-283322.htm You can download it here

Thank you so much

cblichmann commented 1 week ago

We still go this issue to deal with that I got notified about:

This also requires additional changes to idb_exporter.cc in BinExport which is also used by BinDiff. BinDiff calls IDA to perform export of secondary database, and IDA name is kinda hardcoded to be ida.exe for 32bit and ida64.exe for 64bit. And this is not correct anymore for IDA 9 where there is no such thing as 32bit IDA, and 64bit is called ida.exe now. So exporting of the secondary database fails (tries to call nonexistent ida64.exe), and because of this diffing fails as well.

XZVB12 commented 1 day ago

Hello, is it possible to publish a version for linux ? I tried to use plugin from here: https://github.com/google/binexport/actions/runs/11632778168 but I still get a error: /plugins/binexport12_ida.so: undefined symbol: root_node /plugins/binexport12_ida.so: can't load file