Ghidra Headless
Bundled Java exporter records original function entry points, names, body size and bounded call edges. Optional decompilation remains private, and exports are SHA-256 identified.
native_lab.py analyze · ingestA deeper native-game workflow: inspect a shipped executable, recover function maps, probe a bounded machine-code slice and compare a separately instrumented original with Rust.
OPT-IN ANALYSIS · LOCAL EVIDENCE · NO GAME ASSETS BUNDLED
Bundled Java exporter records original function entry points, names, body size and bounded call edges. Optional decompilation remains private, and exports are SHA-256 identified.
native_lab.py analyze · ingestTake an explicitly verified raw function slice through a limited emulation harness. No OS, dynamic loader, or external calls. Do not confuse this with observing the game itself.
native_lab.py slice · emulateRun independent original and Rust JSON harnesses on seeded inputs. Capture the first difference, preserve a replay corpus and attempt a smaller failing input.
differential_fuzz.py · parityNative tools are optional. Analysis and execution require explicit opt-in, are bounded and may require an isolated VM. The code does not silently download software, modify your MCP settings or install agent plugins.
Commands below are documented examples. They are not results from a real game.
python3 scripts/native_lab.py doctor python3 scripts/native_lab.py analyze \ --binary Game.exe \ --output .rustport/native/functions.json \ --allow-analysis python3 scripts/native_lab.py ingest \ --export .rustport/native/functions.json \ --db port-ledger.sqlite python3 scripts/differential_fuzz.py \ harness.json --output .rustport/fuzz/001 \ --seed 42 --iterations 100 \ --allow-execute-original
Function locations from disassembly are hypotheses, not observations of gameplay.
Machine code behavior depends on captured ABI state, relocations and available memory.
A real original-side harness is required before claiming runtime behavior.
Recorded equivalence does not certify all game mechanics or asset compatibility.