Skip to content

Instantly share code, notes, and snippets.

@yifanlu
Last active March 15, 2024 11:13
Show Gist options
  • Star 92 You must be signed in to star a gist
  • Fork 19 You must be signed in to fork a gist
  • Save yifanlu/e9965cdb148b550335e57899f790cad2 to your computer and use it in GitHub Desktop.
Save yifanlu/e9965cdb148b550335e57899f790cad2 to your computer and use it in GitHub Desktop.
Ghidra.app launcher for OSX

Installing Ghidra as a self-contained OSX .app (without contaminating your system with having to install Java):

Prebuilt (9.0.2)

Download

Build your own

  1. Download and extract the launcher AppleScript template app below. Optionally modify Ghidra.app/Info.plist to your liking.
  2. Download the latest OpenJDK and extract it to Ghidra.app/jdk. Make sure Ghidra.app/jdk/Contents/Home/bin/java exists.
  3. Download the latest Ghidra and extract it to Ghidra.app/ghidra. Make sure Ghidra.app/ghidra/ghidraRun exists.
  4. Copy Ghidra.app to 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.

@dikim33
Copy link

dikim33 commented Sep 9, 2022

This still works great on Monterey. Thank you!

@EasyVector
Copy link

Works like a charm! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment