google / binexport

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

Ghidra Extension build issue on Apple M1 / workaround to consider #88

Closed ochimo closed 2 years ago

ochimo commented 2 years ago

Building the Ghidra Extension on Apple M1 (ARM) generates error:

Could not find protoc-3.13.0-osx-aarch_64.exe (com.google.protobuf:protoc:3.13.0)

Referencing similar issue was able to get successful build on M1 by bumping protobuf from 3.13.0 to 3.18.1 in java/build.gradle

Unclear if this protobuf upgrade will cause regressions so opening issue

cblichmann commented 2 years ago

Thanks! In c6cf16a48836b732f46842992badc0dbae3ff87f, I updated Protobuf to a newer version for the native code parts already. We should do this for the Java parts as well.