1

About four years ago I played with making some Ghidra extensions. At that time you had to use the Eclipse IDE and write your extension in Java.

I'd much prefer to use VS Code or, failing that, at least IntelliJ IDEA CE.

In 2024 are there other ways to make Ghidra addons besides Java + Eclipse?

I'm using an M1 Mac if that makes a difference.

2

1 Answer 1

3

This project offers a template for creating a Ghidra extension with Kotlin and IntelliJ, which seems to be what you are looking for.

More generally, you should be able to create an extension using any language you wish as long as it ultimately compiles to Java bytecode. If you build/download an extension and unzip it you'll see that they are primarily composed of JAR files that are loaded by Ghidra, so any system that can compile to JAR files should work as long as you inherit from the appropriate plugin classes and meet whatever other criteria traditional Java plugins for Ghidra do. Both Clojure and Groovy should be possible, for example, if you spent the time to get classpaths, build settings, and probably other things working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.