Ghidra – macOS/ARM no “buildNatives” Script

By

in

Posted

Tags:

Updated

I was working on setting up Ghidra on my M2 Mac and I’ve been seeing information about going to the support folder and running ./buildNatives to build the native binaries like decompiler however it seems the script doesn’t exist anymore in more recent versions.

Solution:
– In the support folder go to the gradle folder (cd gradle)
– Run the buildNatives task with gradle (gradle buildNatives)

Requires: gradle installed on your system.

More notes:
– Finding your Ghidra installation: which ghidraRun, cd to that directory, ls -lah ghidraRun and see if there are additional symbolic links to follow. (OR realpath OR readlink with the symbolic link file)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *