Files
reverse-engineering-anything/docs/reference/supported-targets.md
T
Ysopwnableandgensokyo-dev c07901b9c9 feat(artifacts): inventory and extract .NET resource sets (#17072)
* feat(managed): decode .NET resource set headers and values

Parse the ResourceManager and RuntimeResourceSet headers of a .resources
stream, its name table and each entry's type code and payload range, as
System.Resources.ResourceReader lays them out. Fixed-size primitives get a
decoded value; strings, byte arrays and streams are payload ranges;
serialized user types are named from the type table and never decoded.

The test fixture writes resource sets the way ResourceWriter does, and its
output is byte-identical to .NET Framework 4.8 ResourceWriter for the same
values.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* feat(artifacts): bound .NET resource set admission

Add the dotnet_resources reader limit group: the resource count follows the
session member count, and the type count and header bytes bound what a
reader holds before it reaches the data section.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* feat(artifacts): read .NET resource sets as members

Serve each named resource of a .resources stream as a member whose bytes
are one range of the set: a string's UTF-8 bytes, a byte array's or
stream's payload, or a primitive's stored bytes with its decoded value in
the entry metadata. Serialized objects are listed by type name. Names that
are not safe paths, malformed values, hash table damage and version 1 sets
are reported as limitations.

Entry heads are read through windows of the data section in offset order,
so a large set costs few reads.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* feat(artifacts): recognize .NET resource sets for inventory and extraction

Claim a .resources stream by its 0xBEEFCACE magic and a usable
ResourceManager header, open it as an archive target, and register the
extractable dotnet-resources container so inspect_artifact,
extract_artifact and inventory views reach its members.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* test(artifacts): cover .NET resource sets through the artifact provider

Open a resource set as a target, inventory its members with value facts,
extract payloads, and recover from a resource count limit.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(managed): document .NET resource set inventory

Describe how resource sets are recognized, what each member's bytes and
metadata hold, which values stay unknown, extraction, and reader admission.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(reference): list .NET resource set limits and compared metadata

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(skill): route .NET resource sets to artifact inventory

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* refactor(managed): read resource set fields through BinaryReader

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(skill): sync the Cursor plugin skill

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* test(artifacts): select the .NET resource count among explicit member counts

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* test(artifacts): resolve .NET resource limits from the member count setting

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* fix(managed): reject negative type codes and show Local dates as UTC instants

A version 2 type code decoded as a negative Int32 is malformed, so the
entry is omitted instead of failing the metadata schema. DateTime.ToBinary
stores a Local value's UTC instant, so it is shown with a Z suffix like a
Utc value. Name records are read without decoding, so callers can bound
decoded names.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* feat(artifacts): bound retained .NET resource names

Count every decoded name, including names several table entries share,
against dotnet_resources.retained_name_bytes.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* fix(artifacts): bound shared resource names and keep neighbors' data ranges

Entry data ranges now come from every record with a data offset, so an
entry whose name does not decode no longer extends its neighbor. Decoded
names are charged against retained_name_bytes; a set that exceeds it keeps
the members read before the limit.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* fix(artifacts): inventory .NET resource names that collide as paths

Resource names are flat keys, so a and a/b are distinct resources. Inventory
lists both, as for PyInstaller, Bun and Deno members, and extraction still
refuses to write colliding destinations together.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(managed): describe resource name limits, flat keys and DateTime instants

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* refactor(managed): report resource set header failures through ParseFailureError

The header parser now throws the shared parse failure with the format,
offset and field: truncated with the available and required bytes,
unsupported for a set version ResourceReader does not read, limit naming
the exceeded artifact_limits.dotnet_resources field, and malformed
otherwise. Name and value decoders take the caller's BinaryReader instead
of allocating one per record, and the metadata schemas live in
formatMetadata.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* fix(artifacts): report the full retained name requirement in bytes

The retained name refusal now names every reference's bytes, which are
known before decoding, so retrying with that value succeeds, and both byte
allowances report the bytes unit. The reader maps shared parse failures,
grows its header read on truncation inside the set, and holds one reader
per name section and data window.

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* ci: select the Apple artifact lane for .NET resource set changes

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(cli): show .NET resource set inventory and extraction

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

* docs(skill): describe .NET resource set members for agents

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

---------

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-05 22:15:09 +08:00

21 KiB

Supported targets and requirements

REA requires Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+, plus npm. The table lists what REA returns for each target and which tools or host it requires. For worked examples by target type, see the guides on rea.tools.

Target What REA returns Requirements and guide
Desktop installations Runtime candidates, supporting files, component markers and next probes Built-in bounded directory/header inspection; desktop applications
Native binaries Pseudocode, assembly, strings, symbols, calls and references Hopper, Ghidra, IDA or Kuna; native analysis
Offline ELF layout Sections, segments, original symbols/relocations and static mitigation candidates Caller-supplied pwntools on Linux x64; binary diagnostics
Go binaries Embedded compiler version, modules, replacements and build settings Built-in static ELF/PE/thin or universal Mach-O inspection; no Go installation required
GPU code objects CUDA/HIP/AMDGPU targets and ABI, kernel and AMD PAL pipeline declarations, retained PTX text Built-in static ELF/PE/fatbin/CUBIN/PTX inspection; GPU code objects
Model artifacts GGUF / safetensors / PyTorch / pickle declarations, tensors, pickle references and totals Built-in header inspection and static pickle walk, never unpickled; optional full-file hash; model files
IL2CPP metadata Unity global-metadata.dat assembly images, type and method names and index ranges Built-in static decoding of versions 24, 27, 29, 31 and 39; version 108 gets partial header and bounded string observation only; no Unity required
Godot PCK Archive inventory and extraction, original header/directory facts and selected content identities Built-in static formats 1, 2, 3 and 4; no Godot required
tar archives Member inventory and extraction for stored and gzip tar, including .unitypackage Built-in static ustar, pax and GNU headers; tar archives
Unix ar archives GNU and BSD member inventory, thin references, and stored-member extraction Built-in static reader; Unix ar archives
.NET resource sets Named strings, byte arrays, streams and primitives with decoded values; serialized objects listed by type Built-in static reader; .NET resource sets
Switch NSO/NRO Module id, segment layout and hashes, NRO icon/NACP/RomFS ranges; LZ4 segments decompressed Built-in static header parsing; Switch executables
GPU asset headers DDS (incl. DX10), GLB, KTX and KTX2 header facts and declared regions; payloads not decoded Built-in static header parsing; GPU asset headers
Media asset headers Ogg Opus, RIFF/XMA2, Bink 2 and Vulkan pipeline-cache header facts and declared regions; payloads not decoded Built-in static header parsing; media asset headers
Game Boy ROMs Cartridge header, logo match, cartridge type, declared sizes, header and global checksums; nothing executed Built-in static header parsing; Game Boy ROMs
Game Boy Advance ROMs Entry branch, logo match, title and codes, complement check, multiboot fields; nothing executed Built-in static header parsing; Game Boy Advance ROMs
Nintendo DS ROMs Cartridge header, ARM9/ARM7 load facts, overlay tables and FNT/FAT file ranges; nothing decrypted Built-in static header and table parsing; Nintendo DS ROMs
Image4 containers IM4P type, compression and keybag presence; IM4M properties and digests; stored payload bytes Built-in static DER parsing; nothing decrypted; Image4 containers
MetaTrader programs EX4/EX5 program type, build, copyright/link/version properties, resource table; body and resources as stored Built-in static header parsing; nothing decrypted; EX4 and EX5 programs
Nintendo 64 ROMs Cartridge header, CIC/IPL3 variant, CRC pair and big-endian program.z64; nothing executed Built-in static header parsing; Nintendo 64 ROMs
Sega Mega Drive ROMs Vector table, header fields, declared and computed checksum, ROM and RAM ranges; SMD dumps de-interleaved Built-in static header parsing; Sega Mega Drive ROMs
PlayStation executables PS-X EXE header: initial PC, GP and SP, text, data and BSS ranges, region marker, size agreement; nothing executed Built-in static header parsing; PlayStation executables
Rust binaries Embedded cargo-auditable crate names, versions, sources and dependency edges Built-in static ELF/PE/thin or universal Mach-O/WebAssembly module inspection; Rust binaries
LabVIEW artifacts RSRC container header, LabVIEW version, block inventory and section coding Built-in static RSRC parsing; LabVIEW RSRC containers
PE certificates Authenticode WIN_CERTIFICATE entries and PKCS#7 signer/X.509 identity fields Built-in static PE inspection; PE certificates
PE imports Import and delay-load DLL names, ordinals, IAT RVAs and pefile import hash Built-in static PE inspection; PE imports
Windows shortcuts Shell Link target, arguments, working dir, ExtraData and Tracker droid facts Built-in static LNK inspection; Windows shortcuts
ELF notes PT_NOTE/SHT_NOTE owners, types, and supported note metadata Built-in static ELF inspection; ELF notes
DWARF compile units Compile-unit name, directory, producer, language, and dwo_name Built-in static ELF, Mach-O, and PE inspection; DWARF compile units
Native toolchains Nim, Zig, Haskell (GHC), OCaml and D runtime markers with offsets; verdict, confidence and stated version Built-in static ELF, PE and thin or universal Mach-O search; native toolchains
ELF dependencies DT_NEEDED, SONAME, RPATH/RUNPATH, GNU versions, and undefined imports Built-in static ELF inspection; ELF dependencies
Binary hardening PIE, NX, RELRO, CFG and related header flags for ELF, PE and Mach-O Built-in static header inspection; binary hardening
Apple IPS crashes .ips metadata, threads, images, registers and documented crash classes Built-in static JSON inspection; Apple IPS
Linux kernel modules .modinfo keys, __versions CRCs, this_module presence, and signature trailer Built-in static ELF inspection; kernel modules
Erlang BEAM IFF chunks, atoms, exports, imports, lambdas and the Code header Built-in static BEAM inspection; Erlang BEAM
Debian packages ar members, control identity and relationships, maintainer-script presence, data inventory Built-in static .deb inspection; Debian packages
NuGet packages Package identity, dependency groups, license, repository and ZIP contents Built-in static .nupkg inspection; NuGet packages
VS Code extensions Identity from both manifests, activation, contributes, native/wasm members and ZIP inventory Built-in static .vsix inspection; VS Code extensions
OCI image layouts Layout version, index entries, image config, layers and blob digest verification Built-in static directory inspection; OCI image layouts
WASM artifact Validation, sections, exact import/export WAT forms and decoded WAT Caller-supplied WABT; inspect_wasm_artifact
YARA rule matches Matching rules, tags, metadata and string offsets from caller-supplied rule files Caller-supplied yara 4.x; YARA rule matches
EVM bytecode Dispatch selectors, byte offsets, inferred arguments and mutability Local raw/hex carrier on Linux x64; offline EVM guide
SQLite databases Tables, columns, indexes, views, triggers and selected ordinary-table rows Local database/WAL snapshot; REA on Node.js 24.x or 26.x (unavailable on 22.x)
Recorded Linux crashes Raw notes, every recorded thread's registers/signals and optional mapping candidates Caller-supplied pwntools on Linux x64; optional GDB/pwndbg; recorded crashes
JavaScript / Electron Modules, imports, source maps, routes, IPC, native add-ons, rea audit-release-exposure Node.js and npm; Linux: procps-compatible ps; application analysis
Websites Page structure, scripts, network observations and requested screenshots A Chrome-family browser; browser analysis
Saved network captures Requests, responses, exposed payloads and source locations HAR or Fiddler Everywhere SAZ; mitmdump on Linux for native mitmproxy; capture guide
.NET assemblies Metadata, CIL instructions, declared native dependencies and build comparisons None (static only); managed-code guide
Android APKs Manifest declarations, classes, decompiled methods and references Headless JADX and a full JDK on Linux/macOS/Windows x64; Android guide
APK signatures v1/v2/v3/v3.1 signers, certificate fingerprints, key rotation and digest self-consistency None (static only); inspect_apk_signature
Android devices Devices, packages, processes, logs, dumps, screen captures, and APK/file transfers Caller-supplied adb (emulator or hardware); ADB guide
JEB projects Engine-backed project units, artifact digests and type/method pseudo-code A caller-started JEB client serving MCP, selected with REA_JEB_MCP_URL; JEB guide
Android resources Decoded manifest, string tables, locales and version facts Caller-supplied Apktool launcher; resource guide
Flutter apps Dart snapshot hash, per-ABI library digests and engine build provenance None (static APK parsing); Flutter guide
Firmware Regions, extraction results and native-analysis handoffs Bundled UEFI/NVAR; external Binwalk/Unblob on Linux; firmware guide
Recorded packets Selected fields, repeated values, filters and decode-as rules Linux: TShark 4.x + prlimit; capture guide
Packet summaries Endpoints, DNS, TLS SNI, protocol distribution and HTTP requests Caller-supplied tshark and capinfos on Linux (prlimit) or Windows; pcap guide
Recorded logic signals Decoder annotations, sample ranges and diagnostics Linux: sigrok-cli 0.7.2 + prlimit; signal recordings
Packages and resources File inventories, digests, plists, Apple bundle anatomy and extracted resources Artifact and JavaScript guide, Apple applications
Process behavior Terminal output, interactions, exit and filesystem observations, and run comparisons Linux/macOS with a native PTY; process capture
PyInstaller executables CArchive members, Python version, entry scripts and extracted bytecode None (static only); Python packaged applications
Deno compile binaries Virtual files, entry point, recorded options, npm snapshot length None (static only); Deno compile executables

Static JavaScript and .NET inspection read the supplied files without running the application. Runtime capture runs or interacts with the selected target using your user permissions; each runtime guide describes its effects.

For offline native-binary inspection, REA also supports caller-supplied GNU objdump and Rizin. See the reverse-engineering tools guide for provider setup, CLI commands, and Evidence limitations. REA does not install or update either provider.

Choosing a deep analysis provider

Native formats and host support vary by provider. See Hopper and Ghidra setup, the IDA guide (including an optional native MCP bridge), the Kuna decompiler guide, and experimental Windows Ghidra support. Ghidra also supports 16-bit DOS analysis. For large binaries, raise the provider's startup deadline with REA_GHIDRA_STARTUP_TIMEOUT_MS or REA_HOPPER_STARTUP_TIMEOUT_MS. For provider selection, see the CLI guide. Check release availability for features added since the latest npm release.