Provides libclang-based source code parsing in Ghidra
- Ensure you have
JAVA_HOMEset to the path of your JDK 17 installation. - Set
GHIDRA_INSTALL_DIRto your Ghidra install directory. This can be done in one of the following ways:- Windows: Running
set GHIDRA_INSTALL_DIR=<Absolute path to Ghidra without quotations> - macos/Linux: Running
export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra> - Using
-PGHIDRA_INSTALL_DIR=<Absolute path to Ghidra>when running./gradlew - Adding
GHIDRA_INSTALL_DIRto your Windows environment variables.
- Windows: Running
- Run
./gradlew - You'll find the output zip file inside
/dist
- Start Ghidra and use the "Install Extensions" dialog (
File -> Install Extensions...). - Press the
+button in the upper right corner. - Select the zip file in the file browser, then restart Ghidra.