google / binexport

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

Binexport 12 for Ghidra 10.2 (doesn't support 10.2.2?) #103

Closed MisterAero closed 10 months ago

MisterAero commented 1 year ago

install extensions for : ghidra_BinExport.zip (binexport12-linux.zip isn't recognized as an extension)

Extension version for [ghidra_BinExport.zip] is incompatible with Ghidra.

Build Date: 2022-Nov-15 1249 EST Ghidra Version: 10.2.2 Java Home: /usr/lib/jvm/java-17-openjdk-amd64 JVM Version: Private Build 17.0.5 OS: Linux 5.10.102.1-microsoft-standard-WSL2 amd64

cblichmann commented 1 year ago

I'm not quite sure I get this report. BinExport should work with 10.2 and also 10.2.1 / 10.2.2. You indeed need to install ghidra_BinExport.zip, as usual. The other .zip files contain the native plugins for IDA Pro and Binary Ninja.

0xor0ne commented 1 year ago

Hi @MisterAero,

as a temporary workaround try this:

unzip ghidra_BinExport.zip
version=10.2.2
zip -r ghidra_BinExport.zip BinExport

and try to load again the extension in Ghidra. In theory it shouldn't complain any more.

MisterAero commented 1 year ago

Offered solution worked. ( Also, Maybe I haven't done it right in the beginning)

vladionescu commented 1 year ago

I recommend keeping this issue open because I ran into the same thing, unable to load BinExport 12 on Ghidra 10.2.2 :) ty for workaround.

cblichmann commented 1 year ago

Updated binaries can be found here: https://github.com/google/binexport/releases/tag/v12-20230113-ghidra_10.2.2

ab9rf commented 1 year ago

The tweak suggested above by @0xor0ne appears to work for using the 10.2.2 binary with Ghidra 10.2.3, but of course ymmv