garyttierney / intellij-ghidra

An IntelliJ IDEA plugin for working on Ghidra Extensions.
97 stars 22 forks source link
ghidra ghidra-extension intellij

intellij-ghidra

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

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.

  2. Run the Gradle to build the plugin

    gradle buildPlugin
  3. 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