google / binexport

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

Cannot install ghidra extension #40

Closed blacktop closed 4 years ago

blacktop commented 4 years ago

Running latest macOS with ghidra 9.1.2 and built ext with gradle.

It appears to be installed, but there is no binexport option in the Export... menu like the docs say.

blacktop commented 4 years ago

I think this might be a ghidra 9.1.2 issue? As the zip didn't seem to be unzipped and moved, however, when I manually unzip and move it still doesn't seem to activate within ghidra?

r0ny123 commented 4 years ago

In that case, you can try installing the already built Ghidra Binexport package using this guidelines https://github.com/google/binexport/tree/master/java/BinExport#installing-the-ghidra-extension. It can at least get you started.

cblichmann commented 4 years ago

Which version of Java are you using on macOS? The prebuilt binaries were built with OpenJDK version 11.0.5 (2019-10-15).

I have seen an issue before where the bytecode versions of the .class files would not match. In that case, Ghidra shows the extension as being installed, but does not actually load it and silently discards any exceptions.

blacktop commented 4 years ago

@cblichmann that was exactly the error, I used homebrew to get gradle which also installed/used openjdk 13, but my system java was 11.

Thank you for making such an amazing tool!

cblichmann commented 4 years ago

Glad I could be of help!