-
Notifications
You must be signed in to change notification settings - Fork 1
Reverse Engineering
SaveEditors edited this page Jul 21, 2026
·
4 revisions
XeCLI does not bundle Ghidra, IDA Pro, Java, or XEX loader plugins. Reverse-engineering workflows depend on external installs plus the helper loaders that XeCLI can install after you point it at those tools.
- Official Ghidra site: Ghidra
- Official Ghidra releases: NSA Ghidra Releases
- Official IDA Pro site: IDA Pro
- Official Hex-Rays download/account portal: My Hex-Rays
- Official open-source IDA SDK: ida-sdk
- Maintained Ghidra XEX loader supported by XeCLI: SaveEditors/XEXLoaderWV
- Upstream XEXLoaderWV project: zeroKilo/XEXLoaderWV
- Community Xbox reverse-engineering references: emoose/xbox-reversing
rgh ghidra configrgh ghidra install-loaderrgh ghidra analyzergh ghidra decompilergh ghidra export-symbolsrgh ghidra verifyrgh xex decompilergh xex maprgh xex bundle
- Treats Ghidra as an external headless tool.
- Stores the Ghidra install path,
JAVA_HOME, and default project path. - Pulls
.xexfiles from a local path, FTP path, or the current running title. - Ships the Ghidra headless helper script used by
rgh ghidra analyzeandrgh ghidra decompile. - Detects
XEXLoaderWV.jarautomatically for.xeximports. - Can install
XEXLoaderWVinto the configured Ghidra install withrgh ghidra install-loader. - Verifies decompile output with
rgh ghidra verify. - Maps Ghidra addresses back to XEX load addresses with
rgh xex map --file .\default.xex --ghidra-base 0x82000000 --ghidra 0x82001234. - Exports an offline XEX analysis bundle with
rgh xex bundleso the source metadata, address map, and optional symbol sidecar can be reloaded and validated without another analysis pass.
rgh xex inforgh xex headerrgh xex maprgh xex bundle
- Inspects local XEX metadata offline from a file on disk.
- Treats
rgh xex headeras the same metadata view asrgh xex info. - Maps a Ghidra address to the matching XEX load address offline from a local XEX file.
- Packages XEX metadata, optional address-map data, and an optional symbol sidecar into a round-trip bundle.
- Uses concise file references in the default text output.
- Supports
--jsonwhen you want machine-readable output. - The JSON shape is intended to stay stable for scripting. Hex-valued fields are emitted as
0x-prefixed strings, and private path-like strings are redacted or reduced to safe leaf names rather than echoed verbatim.
- Ghidra is external and not shipped by XeCLI.
- Ghidra is documented as
(Free)in the CLI. XeCLI pins the loader integration toSaveEditors/XEXLoaderWVtag/version13.0.0, assetghidra_12.0.4_PUBLIC_20260325_XEXLoaderWV.zip, SHA-256498B9C2A2430585CC49A13DB33603B6A46CFE84B157985F9BE2C4360F917FA5A. - Java must be available for the configured Ghidra runtime.
-
XEXLoaderWVis required for clean.xeximports. - After
rgh ghidra config --path <dir>, XeCLI can install the loader helper for you withrgh ghidra install-loader.
- Supported IDA build:
IDA Pro 9.3 - Supported XEX loader build:
SaveEditors/idaxextagida-pro-9.3-saveeditors-1, archive SHA-2561734277D26FF4985F15931B6855368312EC11D619D53D2C104F9F7C5753BBD7C. - The supported baseline is
IDA Pro 9.3. Legacy support requiresIDA Pro 9.1.250226andemoose/idaxextag0.42b, assetidaxex+xex1tool-0.42b_ida91.zip, SHA-25649F7C519C4A0BF7E90AF3411554B00591C0C628676E1CBA62A7EAA6216BDCD89. Other IDA or loader combinations are outside the documented baseline.
rgh ida configrgh ida checkrgh ida install-loaderrgh ida analyzergh ida decompilergh ida export-symbolsrgh ida verifyrgh xex ida-decompile
- Treats IDA Pro as an external headless tool.
- Stores the IDA install path, Python command,
IDAUSR, and preferred execution path. - Validates the configured runtime with
rgh ida check. - Installs the pinned IDA-compatible XEX loader set with
rgh ida install-loader. - Ships the IDA helper scripts used by
rgh ida analyzeandrgh ida decompile. - Imports raw
.xexfiles throughidat.exebatch mode. - Uses
idalibfor database-backed decompilation when available. - Supports one-shot console-driven decompilation through
rgh xex ida-decompile. - Verifies exported C output with
rgh ida verify. - Exports function names to a small shared symbol sidecar JSON with
rgh ida export-symbolsorrgh ghidra export-symbols, then imports those names into offline bookmarks withrgh mem-bookmarks import.
The symbol sidecar slice is intentionally small and user-facing:
versionmodulesymbols
Each entry in symbols carries name, RVA, and type.
This workflow is for function names only. It does not cover comments or PDB data, and there is no comments/PDB import-back workflow yet. rgh mem-bookmarks import --file .\symbols.json accepts either IDA or Ghidra sidecars when the bookmarks use exact-address or module/RVA style coordinates.
- IDA Pro is external and not shipped by XeCLI.
- XeCLI documents
IDA Pro 9.3as the supported baseline, with legacyIDA Pro 9.1.250226archives still supported for compatible installs. - A valid local IDA install and license are required for
idatandidalib. - The supported IDA-compatible XEX loader must be present for
.xexloading. - Python is required for
idalibworkflows. - After
rgh ida config --path <dir>, XeCLI can install the supported loader helper for you withrgh ida install-loader. - Built-in archives are pinned and authenticated. A custom
--archiveor--urlrequires--sha256, and every installed loader, TIL, and legacyxex1tool.exepayload is checked against the manifest for the detected IDA build.
XeCLI documentation for the rgh command. For release downloads, use the latest release.