Skip to content

About

One Ghidra, many heads: a headless reverse-engineering engine that many AI agents and tools work in at the same time, on any number of projects. Derived from NSA Ghidra, Apache-2.0.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19,662 Commits

Folders and files

Repository files navigation

Hydra Engine logo: the word HYDRA in green block letters with box-drawing shadows, as a terminal banner

Hydra Engine

One Ghidra, many heads: a headless reverse-engineering engine for AI agents and tools.
Several agents work in it at the same time, on several projects (tested with up to 4 clients). Warm native decompiles take milliseconds, not seconds.

Hydra Engine is a fork of NSA's Ghidra (12.3 DEV, Apache-2.0) and depends on it: the project format, decompiler, analyzers and scripts are Ghidra's own. It is not affiliated with or endorsed by the National Security Agency or the Ghidra project, and it is not affiliated with Marvel. The Ghidra name belongs to its authors.

Quick start: build and connect Website: docs and showcase Works best with Hydralysis

Apache-2.0 license CI status CI runs on Windows JDK 25 Python 3.13 or later, standard library only Based on Ghidra 12.3 DEV

Animated: the website's How it works. Claude Code, Codex, OpenCode and QoderCLI, each through the Hydralysis MCP server, send requests along their own wires into one Hydra Engine daemon. Its quick lane fills with millisecond decompiles and renames while its long lane runs an import, an analysis and an export at the same time. On the right, programs in five projects light up with the operation and the harness working on them, long jobs counting up their measured time.

Every head at work at once. One body holds them all.
Illustrative, not a recorded session. Here Claude Code, Codex, OpenCode and QoderCLI all reach the engine through the Hydralysis MCP server; any client can also connect directly.

In the myth, the Hydra has one body and many heads. Here the body is one long-lived JVM holding Ghidra, its open projects, its analysed programs and its warm decompilers. The heads are the clients: agent harnesses, MCP servers, scripts. Several work at the same time. They read the same programs in parallel, each with its own pooled decompiler. Writes are serialized, through working copies, private overlays or shared writing with an author journal, and no corruption was seen in the tests listed in the module README; collisions are only detected when you pass expect. Native commands stay in the quick lane while imports and analyses run in the long lane. Heads come and go; the body stays. A disconnected client's requests are cancelled and its uncommitted changes rolled back when its running request ends; the engine releases the client after 15 s of grace and 5 s more even when a request ignores the cancel (a lock wait ends on cancel). A script that does not poll for cancellation still runs to its own end.

Hydra Engine is the project name; inside, it's Ghidra: the same packages, modules, Gradle projects and paths (ghidra.*, Ghidra/Features/..., ghidra_12.3_DEV), so scripts that use the headless API run unchanged; GUI-only extensions do not apply, because there is no GUI: Hydra Engine is headless only. What it adds is one module, Ghidra/Features/HeadlessSession, and a headless-only build. It is upstream Ghidra master plus those, kept in sync by merge; NOTICE-HYDRA lists every upstream file changed. What the guarantees do not promise is spelled out below.

What it does

  • Several agents at the same time. Claude Code, Codex, OpenCode, QoderCLI, MCP servers such as Hydralysis and your own scripts work in one daemon at once (tested with up to 4 clients): one JVM per state directory and instance. The first client starts it; the rest find it through an endpoint file in the state directory and join in milliseconds.
  • Several projects and programs at once. Open projects in place, by their .gpr or folder, and switch between programs without importing them again.
  • Read-only without a lock. A project opens as a read-only view: no lock file, nothing written, so several clients, and other processes, can read it at the same time. Ask for writable when you want to change it.
  • Two lanes under load. Native commands (decompile, functions, list) stay in the quick lane while imports and analyses run in the long lane. Scripts run in the long lane, so questions asked through scripts, as Hydralysis does, share it, and a full long lane delays them (measured up to about 8 s). Readers of the program being analysed wait for its lock. Waiting requests are admitted round-robin by connection, and while another connection waits a per-connection cap limits how many slots one connection runs (maxRunningPerKey, module README, "Engine settings"). cancel (per client and per label) stops requests waiting for a slot or for a program lock, and cooperative scripts. busy, conflict and not_owner answers name who holds what and suggest what to do instead of a silent wait.
  • Several agents writing. Each in the way its work needs. Writes are serialized, and no corruption was seen in the tests listed; collisions are only detected when you pass expect:
    • a working copy of a project (fork_project) while the others keep reading the master: a block clone on ReFS (about 0.2 s and a few MB for a 1.5 GB project, measured before hydra.4; ReFS is not tested for hydra.4), a full copy elsewhere, with its source and base revision recorded;
    • a private overlay of a program others read: names, labels, comments, signatures and data types only that client sees, never saved unless promoted into a working copy;
    • several writers of one project (different programs in parallel), or of one program in shared mode, with every change journalled with its author, expect to detect lost updates (last writer wins when you do not pass it), atomic multi-operation edits and discard_edits.
  • Fresh views. Every project and program has a revision; when another process saves a project that a read-only view serves, its clients are told (stale), and refresh reopens it for all of them at once.
  • Imports once, in parallel. Any format a Ghidra loader accepts; a file whose SHA-256 is already in the project is never imported twice. Up to maxImports imports run at once (four large PEs in 64 s instead of 165 s); the rest wait in a queue that status shows, with positions and estimated waits, and that cancel empties.
  • A versioned contract. hello and status carry the protocol, the minimum client, the engine and Ghidra versions and an install id; each release ships the Python client as its own versioned zip, which refuses an engine it cannot drive.
  • Scripts, contained. Any GhidraScript, Java or Python, with arguments. On a program you do not own, a contained script's changes are rolled back and never saved; while it runs, other clients can see them.
  • Fast start. A standard-library Python launcher builds the classpath itself (no .bat, no .sh, no three extra JVMs), caches Ghidra's class search, and on JDK 25 uses an AOT cache. What no query needs (the language service, TLS, the script compiler) starts after ready.
  • Older projects, without the wait. A program saved by an older Ghidra opens at once: the first open upgrades it in memory and answers, while an upgraded copy is built in the background (in the long lane, only when no client is waiting). Later opens are served from that copy. The project itself is never touched.

Measured

Ghidra master (12.3 DEV) with this module, Windows 11, JDK 25.0.4, 24 threads, 64 GB, a USB NVMe Dev Drive; a 66.7 MB x64 executable with 243,855 functions, opened read-only; AOT and class search caches on. Medians from the module README:

Hydra Engine
No daemon running: start it and connect 533 ms
Daemon start until the first decompile answer 1,637 ms
Warm decompile 6.7-7.1 ms for this function; about 1 to 45 ms by function size
Another harness joins a running daemon: connect + hello, join the project, open_program (already open), decompile 14 ms, 0.9 ms, 0.9 ms, 7.4 ms for the benchmark function (measured on 12.1.4)

A warm decompile depends on the function's size. Measured by the owner on a KotOR executable (2026-10-27): 0.7-2.1 ms for a one-byte function, 35-45 ms for a 6.7 KB function of 29 basic blocks. So "about 7 ms" is the benchmark function in one program, not a constant.

The same question through stock analyzeHeadless (-process ... -readOnly -postScript, one decompile) took 7.0-7.8 s per question, and needed a copy of the project (stock Ghidra 12.1.4).

Several at once (same machine; the module README has the method):

Four large PEs imported in parallel (maxImports 4) 63.9 s, against 165.1 s one after another
Decompiles while two 128 MB imports write into the same project median 4.9 ms (5.7 ms before)
Working copy of a 1.5 GB project on ReFS (fork_project; measured before hydra.4 on the owner's former Dev Drive, not repeated: ReFS is not tested for hydra.4) 204-225 ms, 2.8-5.0 MB
Four clients x two threads, shared writing on one program 3,200 renames and comments with 64 saves in 6.0 s, none lost (in this test)

Platform and limits

  • Windows x64 only, for releases. Each release has hydra-engine-<version>-win_x86_64.zip. CI and the tests run on Windows. No Linux or macOS claim is made: the source may build there, but nothing is tested on them.
  • JDK 25 is required (application.java.min), and Python 3.13 or later for the launcher.
  • One daemon per state directory, which is per user unless you set GHIDRA_SESSION_HOME (or an instance name); a second daemon for the same one exits.
  • fork_project is a block clone only on ReFS (Windows 11 24H2 or later, for example a Dev Drive); on NTFS and elsewhere it is a full copy, which auto refuses above forkCopyLimitMb.
  • Writes are serialized, and no corruption was seen in the tests listed in the module README; they are not collision-checked by default. Each change is its own transaction under the program's exclusive lock. In shared mode ("share": true) the last writer wins per value; optimistic concurrency is opt-in per call (expect, in the module README's "Shared writing"). In owner mode one client writes and the rest get not_owner.
  • The quick lane protects native commands, not scripts. decompile, functions, list, open_program and the like take a quick slot; analyze, import, script, save and fork_project take a long slot (max(8, CPUs) slots by default since hydra.4; a quarter of the CPUs, at least two, before). A client that sends its reads as script requests, as Hydralysis does today, shares those slots with imports and analysis. Measured on 12.3-hydra.3 with two 8 s scripts holding a two-slot long lane: ten short scripts that asked for the quick lane all succeeded but took 8.05 to 8.27 s each, and save and fork_project answered busy after their 5 s wait. Since hydra.4, a client on protocol 3 can send a script with lane: "quick" and a timeout of at most quickScriptMaxS (60 s by default, 120 s at most) to take a quick slot, and save, fork_project, refresh, reopen and promote_overlay use their own maintenance lane (maintSlots, 4 by default); a protocol 2 client keeps the lanes above.
  • Since hydra.4 a client that dies is released after a bounded time; a script that ignores cancel keeps running inside the daemon. The engine cancels its requests when the connection closes, and cancel (or a timeout) ends a request that waits in a request-bound lock wait (a program, a project, an overlay's request lock site). The overlay lifecycle waits (open, rebuild, drop, promote of an overlay) are untimed: cancel, a timeout and the release do not reach them. After cleanupGraceS (15 s) the remaining requests are interrupted, and after abandonWaitS (5 s) more the client is released even if one still runs (the locks it holds are flagged abandoned). The tests of this (cc_e3b dead_client_lock_wait, owner_leave_bounded) pass, and so do the timing items of release gate 9.13 (dead_client_released, owner_leave_bounded, cancel_while_waiting); 9.13 as a whole was not met, on reader throughput under view writers (s11, see the release notes). Java cannot stop a non-cooperative thread: a script that does not poll for cancellation and runs inside the daemon runs to its own end, bounded and quarantined, not stopped. A script run in the script worker (isolation:"worker") is ended at its timeout (release gate 9.14, e7_kill_by_hand, e7_edited_view). This is a documented limit.
  • Every limit of hydra.5 and protocol 3 (PROTOCOL-3.md 6.2) is listed in the module README, Limits of 12.3-hydra.5 and protocol 3. Among them: nothing about ReFS is tested for this release (there is no ReFS volume on the release machine; NTFS is the release file system), there is no power-cut test, and the upgrade gate is a guard against accidents, not a security boundary.
  • Changes are kept only by save. Until a client saves, they live in the daemon's memory.
  • Projects upgrade one way. Ghidra 12.1.4 projects open read-only, unchanged; writing one with this build (it asks for "upgrade": true) moves its databases to a format that Ghidra 12.2 and 12.1.4 cannot read. Work on a fork_project copy when the original must stay as it is.

System requirements

What the engine and the semantic trace need. Every number below was measured on one machine, the reference machine; nothing is extrapolated, so there is no "minimum" that was measured on smaller hardware. Where a row says "not measured" it was not. Evidence: docs/release-notes-12.3-hydra.6.md.

Requirement Basis
Minimum (stated, not a measured floor) Windows x64 on NTFS, JDK 25, Python 3.13 or later, a trace volume with free space above diskReserve (default 5,120 MB) plus 16 MB per new session. These are what the engine enforces or documents. No machine smaller than the reference was run; a run limited to 4 logical CPUs on the reference machine is the smallest that was (below).
Reference (all recorded runs) Intel Core i7-13700KF (8 P-cores with SMT and 8 E-cores, 24 logical processors), 47.79 GiB RAM (4 DIMMs, 3000 MT/s), NVMe system and project volumes, NTFS on C:, D: and E:, Windows 11 Pro 10.0.26300, power plan Balanced, JDK Temurin 25.0.5+8, Python 3.15.2, Rust 1.99.1; daemon heap maximum 11,264 MB; CPU profile generic and auto. The machine was shared with other work while the runs went (system busy cores 4.3 to 8.8 during the multi-project runs); the load is recorded per run.
Recommended The reference configuration, for 16 simultaneous agents on three game programs with a live capture and two analysis agents reading it: the run peaked at 1.9 to 2.8 GB committed for the whole process tree and used 5 to 9 busy cores. Size memory above that for your programs. Measured headroom on the reference machine; not a tested hardware floor.
Optional capability Kernel ETW capture needs an elevated process (hydra-etw). In-process hooks need Frida. Symbolization needs the program open in the daemon. Without them that source is not available; this lane did not test those refusals. Capture is a Hydralysis feature; its overhead numbers are in Hydralysis docs/trace-overhead.md, not in this table.

Support matrix: Windows 11 x64 on NTFS is the supported and tested platform. ReFS was not run for the trace. Linux and macOS are not claimed. Headless only.

When the machine is short of a resource the trace answers in words and never in different evidence. These runs were done on the reference machine with the limit applied (examples/trace_constrained.py, examples/multiagent_bench.py --affinity):

  • Disk short: a daemon started with a diskReserve far above the free space refused a new session and an append with busy, reason capacity, resource disk, with have, need and retryAfterMs; the refused session left no file; reads were still served.
  • Event budget reached: a session with a 2,000-event budget given 10,000 events accepted 2,000 and counted 8,000 as dropped_budget, reported the stop in trace_info, recorded one core.capture.gap event, the check over it was unknown and never pass, and a later append was refused and counted.
  • 4 logical CPUs: the 16-agent workload with trace readers and a live capture completed with all 825 core operations correct (same 412-key digest as without limits), 0 waits and the same trace digest, but slower than on 24 CPUs: median workload wall 7.3 s (generic) and 7.9 s (auto) against 6.5 s for 12.3-hydra.5 without trace at the same limit, and about 7 to 8 tree CPU-seconds more (27.2 and 28.3 against 20.5). Whether the daemon sized its pools from the 4 granted CPUs was not read back.
  • Memory short: not measured.

Protocols

One port serves protocol 2 and protocol 3. A client that asks for nothing newer gets protocol 2, with replies byte-identical to 12.3-hydra.3 except for the changes listed by name in the release notes (V1 to V12; the table is in PROTOCOL-3.md, section 5.1). minClient stays 1.0.0: no existing client is rejected. The legacy window: hydra.4 and hydra.5 serve protocol 2; whether a later release refuses it is the owner's decision.

Client hydra.2 / hydra.3 engine hydra.4 / hydra.5 engine
A raw JSON-line client speaking protocol 2 works works
ghidra_session.py 1.0.0 (protocol 2) works works at protocol 2
ghidra_session.py 1.1.0 (protocols 2 to 3) works at protocol 2, without the protocol 3 additions the protocol 3 additions
Hydralysis 0.4.x works (its own pin) refuses by its own pin (protocol 2 client). hydra_allow_unpinned only lets a protocol 2 client of another release through; it does not accept a protocol 3 client

A build from the tree reports <Ghidra version>-hydra.dev, and Hydralysis treats such an engine as a stock Ghidra; stamping a local build is described in the module README, "Stamping a local build". The settings of the daemon (maintSlots, maxLong, cleanupGraceS and the others) are in the module README, "Engine settings".

Works best with Hydralysis

Hydralysis is the reverse-engineering toolkit made for Hydra Engine: twenty tools for programs you own, as one CLI and one MCP server. Register it in each of your harnesses (Claude Code, Codex, OpenCode, QoderCLI or any MCP client) and they all get the same tools on one warm engine. It prepares a binary once, as a durable job; answers bounded decompiles and references in milliseconds; finds and checks hook sites by signature and prologue; runs verified runtime sessions; and stores a finding only with its source. Its backend install fetches the pinned Hydra Engine release and a JDK, so setting up Hydralysis sets up both.

Hydra Engine stays a generic Ghidra front end that any client can use directly; Hydralysis is the quickest way to put it to work.

Status. Hydralysis is the new name of RusticRE (twenty tools). The RusticStack/Hydralysis repository is renamed and release 0.7.0 pins 12.3-hydra.5. While the repository is private the links and commands below need access to it; Hydra Engine works on its own either way, as described above and in the module README.

Quick start

You need a JDK 25 and Python 3.13 or later.

With your AI. Paste this into Claude Code, Codex, OpenCode or Qoder. It installs Hydralysis, which installs the pinned Hydra Engine release and registers itself with your harness:

Set up Hydralysis and Hydra Engine from github.com/RusticStack/Hydralysis. Ask me which AI harnesses to add it to if you can; otherwise, use this one.

Download (Windows x64). Each release has hydra-engine-<version>-win_x86_64.zip, the client alone as hydra-client-<version>.zip, and a SHA256SUMS. Unzip the engine anywhere; it holds the install, ghidra_12.3_DEV\:

Get-FileHash hydra-engine-12.3-hydra.5-win_x86_64.zip     # compare with SHA256SUMS
Expand-Archive hydra-engine-12.3-hydra.5-win_x86_64.zip C:\tools
$G = "C:\tools\ghidra_12.3_DEV"
python $G\Ghidra\Features\HeadlessSession\support\ghidra_session.py ensure   # the daemon
& $G\support\analyzeHeadless.bat C:\re MyProject -import target.exe          # stock headless

Or build the headless install (Linux and macOS: from source only, for now):

git clone https://github.com/RusticStack/hydra-engine.git
cd hydra-engine
./gradlew -I gradle/support/fetchDependencies.gradle -DnoEclipse   # once
./gradlew buildHeadless                                             # -> build/dist/ghidra_12.3_DEV

(On Windows, gradlew.bat. There is no GUI: Hydra Engine is headless only, and projects it writes cannot be opened by Ghidra 12.2 or 12.1.4. Details in CONTRIBUTING.)

Start the daemon and look at it:

GS=build/dist/ghidra_12.3_DEV/Ghidra/Features/HeadlessSession/support/ghidra_session.py
python $GS ensure                                   # starts the daemon if it is not running
python $GS status                                   # projects, programs, clients, lanes, memory

Each python $GS call <cmd> ... is one request from a new client that disconnects when it returns, so nothing it opened carries over to the next call: call open_project followed by call decompile answers no_project. Use call for a request that needs nothing opened first (call ping), and one connection for a sequence, as below.

A recorded Python session: connect starts the daemon, a project is opened writable, a small test program is imported and analysed, a second import of the same file is refused because its SHA-256 is already there, and a function is decompiled to C

A real session against a small test program (a 140 KB x64 executable built from 20 lines of C, with its PDB), replayed. The timings are the wall times the Python side measured; the second decompile is warm.

Connect from a harness

From Python, copy ghidra_session.py next to your code or put its folder on sys.path:

import ghidra_session as gs

with gs.connect(client="my-tool", harness="claude-code") as s:   # joins the daemon, or starts it
    s.call("open_project", path="/re/MyProject")                   # read-only, no lock
    s.call("open_program", path="target.exe")
    print(s.call("decompile", name="main")["c"])
    for f in s.call("functions", contains="crypt")["functions"]:
        print(f["name"], f["address"])
  • Name yourself. client is your tool, harness is the agent harness running it; status shows both, and busy errors name them.
  • One connection per process. It is thread-safe. If one connection carries several independent callers, as an MCP server's does, send parallel=True on each request.
  • Other languages speak the same protocol: run python ghidra_session.py ensure once, read default.json in the state directory (%LOCALAPPDATA%\GhidraSession, ~/Library/Application Support/GhidraSession or ~/.local/state/ghidra-session), connect to its loopback port, and send JSON lines, the first being hello with the token.
  • MCP servers wrap the client: one daemon connection for the server, one tool per command they expose, and a per-request client/harness label for each agent they serve. The session is a generic Ghidra front end; the tools belong to the client.

Through Hydralysis (private, no release yet; renamed from RusticRE). By hand, from a checkout of Hydralysis (Python 3.13 or later), with HYDRALYSIS_ROOT set to a directory for its engine, prepared projects, evidence and logs:

uv venv .venv
.venv/Scripts/python.exe -m pip install -e .
.venv/Scripts/hydralysis.exe backend install    # the pinned Hydra Engine release and a JDK, as a job

Then register it in any harness that reads the common mcpServers shape, and restart the harness:

{
  "mcpServers": {
    "hydralysis": {
      "command": "/path/to/Hydralysis/.venv/Scripts/hydralysis.exe",
      "args": ["mcp"],
      "env": { "HYDRALYSIS_ROOT": "/path/to/hydralysis-data" }
    }
  }
}

The Hydralysis docs cover the tools and the workflow.

The protocol, every command and every error code are in the module README; task-by-task guides are in the docs.

Compared with stock headless Ghidra

analyzeHeadless Hydra Engine
Lifetime one run per command, then exit one daemon per state directory and instance, stays up (or idles out)
Clients the one that started it several at once (tested with up to 4 clients)
Projects one per run several at once
Project lock always, even with -readOnly none for a read-only view; one per daemon when writable, shared by its clients
Several writers one process per project several clients per project or per program, overlays, working copies; one change at a time, last writer wins unless expect is sent
Programs the ones -import/-process select open, switch, close at will, without importing
A question about an analysed program 7.0-7.8 s (start, open, decompile, exit; stock Ghidra 12.1.4) native decompile about 1 to 45 ms by function size when warm (7 ms in the benchmark function)
Re-import of the same file a second copy refused by SHA-256
Scripts pre/post scripts per run any time, contained or as owner, with arguments
Launcher .bat / .sh + LaunchSupport one Python file, standard library only
A client crashes the run dies its requests are cancelled and its uncommitted changes rolled back when its running request ends; the client is released after about 20 s even if a request ignores the cancel

analyzeHeadless is still in the install and still the right tool for a one-shot batch import.

Configuration

Defaults work. Lowest to highest: defaults, <state>/config.json, environment, command-line options. The ones you are most likely to touch:

config.json Environment Default
java GHIDRA_SESSION_JAVA_HOME discovered The JDK.
maxHeap GHIDRA_SESSION_MAXMEM a quarter of RAM, 2-31 GiB -Xmx.
tmpdir GHIDRA_SESSION_TMPDIR the JVM's Where Ghidra keeps unsaved database buffers.
idleTimeout GHIDRA_SESSION_IDLE_TIMEOUT 0 (stay up) Seconds without clients before the daemon exits.
keepWarm GHIDRA_SESSION_KEEP_WARM 3600 Seconds an unused read-only program stays open for the next client.
aot GHIDRA_SESSION_AOT auto Use the AOT cache when one exists (ghidra_session.py aot builds it, JDK 25+).

The state directory is GHIDRA_SESSION_HOME or the per-user default above. ghidra_session.py config prints the effective configuration; the full table is in the module README.

Security. The daemon binds loopback only and every connection must present the 256-bit token from the owner-only endpoint file. Anyone who can read your state directory can drive the daemon with your rights, and a script runs with the daemon's rights: a contained script's changes are rolled back and never saved, but other clients can see them while it runs, and containment is not a sandbox for the machine. See SECURITY.

Building

Command What you get
Headless (default) gradle buildHeadless an unzipped install in build/dist/, or -PheadlessInstallDir=<dir>; zipHeadless zips it
Whole source tree (built on demand; not released) gradle buildGhidra Ghidra's usual zip in build/dist/

There is no GUI: Hydra Engine is headless only. The headless install leaves out the modules that only an interactive tool uses, the help, javadoc and Python stubs, the user docs and ghidraRun, and keeps everything headless analysis uses: every processor, the loaders and analyzers, the decompiler, scripting, the Ghidra server and the session module.

Windows x64, same commit buildHeadless buildGhidra (whole tree)
Gradle tasks that run (clean build) 524 836
Install 2,790 files, 639 MB (a directory) 5,332 files, 862 MB (538 MB zip)
Module jars / jars on the launcher's classpath 178 / 139 197 / 158
Cold build, no build cache (noisy, see CONTRIBUTING) 6-16 min 32-36 min

Both installs give the same answers: imported and analysed in each, three test binaries (a small x64 program with its PDB, a Windows EXE and a DLL) had the same function counts and names and byte-identical decompiled C for all 675 functions decompiled, and the daemon started, opened a program and answered its first decompile in the same time (medians of 5, within 3%).

Nothing is removed from the source tree. How the module list was worked out, and the check that keeps it honest, are in CONTRIBUTING.

CI (ci.yml) builds the headless install and runs session_smoke.py, daemon_tests.py and contract_tests.py on Windows, the platform that is tested and released. It runs on pull requests and on demand (gh workflow run ci.yml); the same lane runs weekly on the merged upstream tree in upstream-sync.yml. The launcher and module have no Windows-only path, but no Linux or macOS claim is made: they are not tested. The full build runs on demand (build-ghidra-multi-platform-artifact.yml). Releases are cut by release.yml (CONTRIBUTING).

Ghidra's original README is kept as README-GHIDRA.md; it describes the upstream project, not Hydra Engine.

Upstream sync

main is upstream Ghidra master plus the additions above, merged (never rebased) when upstream moves. Few upstream files are changed: README.md, one line of build.gradle, two lines of gradle/distributableGhidraModule.gradle, .gitattributes, the issue templates (replaced by issue forms), and small changes to five Java classes (LocalBufferFile, LocalDatabaseItem, SleighLanguageFile, LocalManagedBufferFile, VersionedDatabase) and one added class (VersionFileCheck; see the module README's "Changes outside this module"), so a sync conflicts in those at most. All of them are listed in NOTICE-HYDRA, which every release ships. The steps and the resolutions are in CONTRIBUTING.

Branches: main (on upstream master) and legacy-12.1.4, the same module on Ghidra 12.1.4, kept only for projects analysed with 12.1.4. A project opened writable by main may be upgraded to a database version that 12.1.4 cannot read; open older projects from a copy.

Built with Hydra Engine

Games remade in new engines, drivers brought back, tools rebuilt: projects made by reverse-engineering programs their authors own are on the showcase, which reads the RusticStack/hydra-re-showcase repository. Add yours there, by pull request or with its form.

License and credits

Apache License 2.0, the license of Ghidra. Ghidra's NOTICE and the third-party licenses in licenses/ and GPL/ apply unchanged; what Hydra Engine adds or modifies, and the disclaimers, are in NOTICE-HYDRA. Changes are in CHANGELOG.md.

Ghidra is the work of the National Security Agency's Research Directorate and the Ghidra contributors. Hydra Engine would be nothing without it.

The Hydra is the many-headed serpent of Greek myth, which grew two heads for every one cut off. Any resemblance to a certain comic-book organisation is limited to the name: we keep no secret base, only a daemon, and the serpent here is our own drawing.

About

One Ghidra, many heads: a headless reverse-engineering engine that many AI agents and tools work in at the same time, on any number of projects. Derived from NSA Ghidra, Apache-2.0.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages