google / binexport

Export disassemblies into Protocol Buffers
Apache License 2.0
1.03k stars 197 forks source link

[Question] Can this BinExport be used with BinDiff? #7

Closed schomatis closed 8 years ago

schomatis commented 8 years ago

Hi,

Now that BinDiff has been made available for free, can a plugin built with this version of BinExport be used to export an IDA Pro database to be used by BinDiff?

And if so, how can BinDiff be configured to use this zynamics_binexport_9 instead of zynamics_binexport_8?

Thanks, Lucas

newgre commented 8 years ago

Without having checked this, I would say it should work as the code base is identical (one version might be slightly newer, but that's it). Note though, that the filename has to match, i.e., BinDiff will use the file zynamics_binexport_8.pxx in the plugins directory of IDA.

cblichmann commented 8 years ago

No, the new BinExport 9 is not compatible with BinDiff yet. We switched the binary export file format to a single Protocol Buffer format. The old format had a custom header and other differences.

schomatis commented 8 years ago

OK, thanks for giving a definitive answer.

Manouchehri commented 8 years ago

@cblichmann Would it be possible to release BinExport 8 as well?

cblichmann commented 8 years ago

@Manouchehri We really want to get rid of the old .BinExport file format, so we're not going to release BinExport 8. That said, the .proto file for the old format was in the original source drop. I might even be convinced to upload the companion protocol_buffer_writer.h/cc if you want to rebuild a BinExport 8 yourself. I really can't recommend it, though.

Manouchehri commented 8 years ago

@cblichmann Is the answer for BinExport 9 support in a later BinDiff release a definite no within the foreseeable future?

cblichmann commented 8 years ago

@Manouchehri we definitely won't do a BinExport 8 release. While I can't comment on our plans for BinDiff, it's only logical to use BinExport 9 going forward.

Manouchehri commented 8 years ago

@cblichmann There isn't way to convert BinExport 8/9, is there? (My personal priority is with using BinDiff.)

On a related note, would it be possible for you to create an empty repo at Google for BinDiff so we can ask support questions? I've ran across a few issues and workarounds that should probably be documented just so that other persons are aware of them (even if the code itself is closed source).