1
0
Fork
You've already forked plugin-template
0
Simple example plugin and meson project for a Ghidra decompiler plugin.
  • C++ 78.6%
  • Meson 14.1%
  • Dockerfile 7.3%
2026年01月15日 01:21:48 +01:00
simple Fix wrong function name and add example warning header 2025年09月04日 20:09:21 +02:00
.clang-format Simple plugin setup with demo plugin 2025年05月07日 23:44:47 +02:00
.dockerignore Adding docker build and updating docs 2025年06月15日 18:30:05 +02:00
.gitignore Simple plugin setup with demo plugin 2025年05月07日 23:44:47 +02:00
Dockerfile Bump ReOxide version in Dockerfile 2026年01月15日 01:21:48 +01:00
LICENSE Simple plugin setup with demo plugin 2025年05月07日 23:44:47 +02:00
meson.build Remove libdecomp dependency 2025年08月31日 12:12:32 +02:00
README.md Add note regarding ReOxide dev versions 2025年07月24日 01:13:17 +02:00

ReOxide plugin template

This repository serves as template for creating new Ghidra decompiler plugins. Creating plugins this way currently only works on Linux. Plugins compile into native shared objects and the decompiler loads them using dlopen. This will change in the future, but the current setup relies on the C++ Application Binary Interface (ABI). This means you have to compile your plugin with exactly the same compiler as ReOxide itself.

Warning

The main branch of this template follows the stable releases of ReOxide. If you want to build a plugin against the latest git commit of the ReOxide main repository, make sure to check the dev branch of this repository for updates.

Building

You need working ReOxide setup for building plugins, see the setup guide. If you can run the reoxide command, then you can build the plugin by using meson:

$ meson setup build
$ meson install -C build

This will only work safely if you also compiled ReOxide yourself. If you want to build a portable plugin or use the reoxide pip package, you need to use the manylinux2014 container provided by the Python Packaging Authority. If you have Docker installed, you can use the provided Dockerfile to build your plugin:

$ docker build . -o output_dir

You can then find the shared objects for your plugins in the output_dir folder and copy them manually into your ReOxide plugin folder. Running reoxide print-plugin-dir will show you the path to the plugin folder.