google / bindiff

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

support IDA version 9.0 #50

Open zhefox opened 3 months ago

zhefox commented 3 months ago

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

cblichmann commented 3 months ago

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

steph3nsims commented 3 months ago

You rock man!

BruhRain commented 1 month 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 1 month 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 1 month ago

Thanks, i'll try this out

zhefox commented 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 month 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 3 weeks 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

nicolaipre commented 2 weeks ago

Some guy made a PR to fix this here: https://github.com/google/bindiff/pull/51

dumbasPL commented 1 week ago

Here is my IDA 9.0.240925 port (no backward compatibility, pre-built binaries for all platforms). This probably won't get merged but it's good enough to get by for now.

Check actions or the releases section for binaries or build yourself

https://github.com/cs2-analysis/binexport https://github.com/cs2-analysis/bindiff