google / binexport

Export disassemblies into Protocol Buffers
Apache License 2.0
1.05k stars 206 forks source link

BinDiff5 and IDA Pro 6.8 - Exit code 1 #63

Closed ogamespec closed 4 years ago

ogamespec commented 4 years ago

Hi guys.

I am trying to compare the two exported BinExport files in BinDiff5. When trying to compare, I get an error - "An error occured while diffing. Exit code 1."

What could be wrong?

And could you add at least some debug log? The program is for reversers, but displays errors as for housewives - "Error 1"...

cblichmann commented 4 years ago

Hi there,

Please note that starting with BinDiff 5, we require at least IDA Pro 7.2, as they switched to 64-bit in their 7.x series.

The last version to support the 6.x series was 4.3, which unfortunately broke symbol porting.

The current version is BinDiff 6.

Now as for logging, as you likely launched the diff process from the UI itself, enable logging both to file and to stderr (if you launch it from the command line) under Settings|Main Settings...>Logging (nevermind the nonsensical booleans for log levels).

The diff engine itself should also log its errors to stderr, so you can also try to produce a .BinDiff result file by running

/path/to/bindiff \
    --primary=/path/to/first.BinExport \
    --secondary=/path/to/secondary.BinExport \
    --output_dir=/path/to/output.BinDiff

If you already have .BinExport files (for example, you still have BinDiff 4.3's version of BinExport installed in IDA and used it to create them).

P.S.: The housewives comment made me laugh. Probably shouldn't have :D

cblichmann commented 4 years ago

No comment on this for 11 days, marking as wontfix. If you feel there's something to add here, please just reopen this bug.