Files
reverse-engineering-anything/docs
Ysopwnableandgensokyo-dev c2960db49f feat(artifacts): inventory resources embedded in .NET assemblies (#17105)
* refactor(managed): read ManifestResource rows and the CLI Resources directory separately

Split a ManifestResource row's columns from its data, so a caller that
holds only the metadata can list resources, and let the CLI header prefix
report its Resources directory when it is read that far.

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

* feat(artifacts): bound .NET assembly manifest resource admission

Add the dotnet_assembly reader limit group: the resource count follows the
session member count, and metadata bytes bound the CLI metadata read to
list ManifestResource rows.

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

* feat(artifacts): locate a managed image's metadata and Resources directory

Read only the PE headers, section table and CLI header to find where a
managed image keeps its metadata and embedded manifest resources, so
recognition does not load the image.

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

* feat(artifacts): list the manifest resources a .NET assembly embeds

Add the dotnet-assembly reader. It reads the ManifestResource rows from
the CLI metadata and lists each resource embedded in the Resources
directory as its stored bytes. Linked resources are named in the root
metadata, since their bytes live in other files.

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

* feat(artifacts): open managed assemblies with embedded resources as containers

A PE whose CLI header declares a Resources directory, and that carries no
other package, now inventories as dotnet-assembly, so a WPF assembly's
.g.resources can be extracted and inspected as a resource set. Managed
inspection still leads its next probes; extraction follows.

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

* docs(managed): describe resources embedded in a .NET assembly

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

* docs(skill): route assemblies with embedded resources to extraction

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

* ci: scope the .NET assembly resource reader with the managed formats

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

* fix(artifacts): keep located managed directories inside the file

A section can declare raw data past the end of the file. A metadata or
Resources directory mapped there is now malformed at location, instead of
failing the later exact read.

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

* fix(artifacts): report invalid manifest resource rows once

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

* fix(artifacts): require a complete CLI header before locating managed directories

Check the declared header size against the 72-byte header and the CLI
directory, and that the whole header lies in the file, as the managed PE
reader does.

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

* test(managed): build fixtures that embed several manifest resources

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

* fix(artifacts): inventory manifest resource names as flat keys

Names such as `a` and `a/b` are distinct resources. Inventory keeps both,
as it does for resource set names; extraction still refuses to write
conflicting paths together.

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

* feat(artifacts): add decode and retained-name controls for .NET assemblies

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

* fix(artifacts): bound assembly resource names and keep readable rows

The metadata decode budget is now the group's representation_bytes
control, so a refusal names a field the caller can raise. Every listed
name counts against retained_name_bytes before output is built, since
rows can share one stored name. A row whose name cannot be read is
skipped and counted instead of refusing the whole assembly.

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

* docs(managed): list the .NET assembly reader controls

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

* refactor(artifacts): pass the classified managed location to the assembly reader

Classification carries the located metadata and Resources directory in a
typed admission for the same descriptor, so the reader does not locate
them again.

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

* fix(artifacts): explain a damaged CLI Resources directory on extraction

Extraction now refuses such a PE with the location's reason instead of
reporting that the format has no reader. Inspection keeps the PE root,
where managed inspection reports the CLI header.

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

* fix(artifacts): require the CLI header's declared size inside the file

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-06 00:53:42 +08:00
..

Documentation directory

Find an installation step, investigation guide, or contributor reference by task. The REA website has worked examples and product pages.

Getting started

Desktop applications

Agent environments

Native binaries

JavaScript and Electron

Browser and captured websites

Android applications

Apple applications

.NET assemblies

Firmware

HarmonyOS packages

Packages and metadata

WebAssembly

EVM contracts

Databases and recorded packets

Audit logs

Process capture and instrumentation

Provider setup and formats

Contracts and evidence

Development and verification

Release migrations

Signal recordings

Generated files and release records

Path Owner and update command
public/product-catalog.json Ignored contract projection; npm run docs:generate
verification/managed-conformance-*.json Ignored managed conformance projections; npm run evidence:generate
error-contract.schema.json Tracked schema from contracts; npm run docs:error-schema
user-visible-errors.csv Generated error code and category per domain and provider-owned error case; npm run docs:error-schema
releases/<version>.contributions.json Durable release contribution record; follow the release guide

Regenerate catalogs and Evidence projections from their canonical source. Release records preserve the exact commit messages and references for each release. Guides share authored images in assets/.