Skip to content

An IntelliJ IDEA plugin for working on Ghidra Extensions.

Notifications You must be signed in to change notification settings

garyttierney/intellij-ghidra

Repository files navigation

intellij-ghidra

Adds support for Ghidra extensions and scripts written in Java to IntellIJ. The following additional features have been added to the IDE:

  • Ghidra Framework facet and global library support
  • Code Assistance from the Ghidra API
  • Run Configuration integration to launch the current extension

Building

  1. Check if your Intellij IDEA version and edition matches the properties set in gradle.properties file:
platformType = IC
platformVersion = 2021.3.2

For the Intellij IDEA Community edition you need to keep IC as is, for the Ultimate edition it should become IU.

  1. Run the Gradle to build the plugin
gradle buildPlugin
  1. The resulting ZIP ready for installation is located at build/distributions/intellij-ghidra-*.zip

Usage

At the moment the only functionality available is configuring the IDE with the path to Ghidra, and a custom run configuration. This can be set up by configuring the Ghidra facet and then creating a Ghidra Launcher run configuration, as shown below.

Setup demonstration