Installing Ghidra as a self-contained OSX .app (without contaminating your system with having to install Java):
- Download and extract the launcher AppleScript template app below. Optionally modify
Ghidra.app/Info.plistto your liking. - Download the latest OpenJDK and extract it to
Ghidra.app/jdk. Make sureGhidra.app/jdk/Contents/Home/bin/javaexists. - Download the latest Ghidra and extract it to
Ghidra.app/ghidra. Make sureGhidra.app/ghidra/ghidraRunexists. - Copy
Ghidra.appto your Applications directory.
Note that the template .app is just a standard AppleScript generated .app. If you don't trust the binary, you can build your own with the provided AppleScript.
Holy cow. That's awesome, thanks a lot!