google / bindiff

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

Stuck in "Exporting primary IDB", waited for a long time with no progress. #36

Closed Jacky-LinPeng closed 6 months ago

Jacky-LinPeng commented 6 months ago

device Info

screenshot

image image

Mark

These are two small test programs I wrote, and I wanted to compare the differences using BinDiff. However, it has been stuck in the 'Exporting primary IDB' state for the past two hours, and I haven't received any results. I would appreciate your guidance on this matter.

cblichmann commented 6 months ago

Do you have any previous version of BinDiff installed? Can you check the output in IDA Pro's output window when you launch it? If should show both the BinDiff and BinExport plugins (can also check under Help|About program and then click on Addons).

You may want to manually remove old version of BinDiff and the plugins under ~/.idapro/plugins

You could also try to separately export the binaries from IDA Pro:

You can then use the command-line bindiff tool to diff them:

bindiff /path_to_primary.BinExport /path_to_secondary.BinExport

Afterwards you should have a .BinDiff file in the directory that you can import into the BinDiff UI.