Files
reverse-engineering-anything/docs
morluto 2b9db683aa refactor(artifacts): preserve bounded partial inspection for trailing boot/OTA metadata and deduplicate UEFI/iNES probes (#14358)
* refactor(artifacts): preserve bounded partial inspection for trailing boot/OTA metadata and deduplicate UEFI/iNES probes

Preserve bounded partial firmware/container inspection across UEFI, iNES, uImage, FIT, Android boot, Android OTA, and ASAR readers while maintaining all fail-closed invariants on required headers, truncation, overlapping ranges, I/O, identity, and cancellation.

- UEFI: admit aligned _FVH volumes with valid structural framing even when header.checksumValid is false; surface fv-checksum-mismatch in UefiArtifactReader and UefiImageScan.
- iNES: return 'ines' from classifyRootFormat on nesContainerFormat match without pre-lane parseInesLayout throws; InesArtifactReader owns layout parsing and error reporting.
- uImage: extend ArtifactContainerIntegrityPair with standard crc32 and expose containerIntegrity() on PositionalArtifactReader/UImageArtifactReader so scanReader enforces integrity policy ('fail' rejects with declared-digest; 'record-and-continue' emits payload.bin + header metadata with crc_verified: false and records the contradiction); degrade malformed multi/script size tables under 'record-and-continue' while preserving strict refusal under 'fail'.
- FIT: thread caller integrity policy into FitArtifactReader so 'fail' preserves rejecting all 6 hash algorithms and 'record-and-continue' emits all /images/* entries with FIT metadata, mismatch limitations, and sha256/md5 integrity contradictions.
- Android boot: tag overlap failures with typed ParseFailure fields so non-overlap trailing AVB footer and vendor ramdisk table parse failures degrade to non-complete coverage + limitations while preserving fail-closed refusal on truncation, capacity limits, and overlapping component/vbmeta ranges.
- Android OTA: retain parsed payload header and partition entries with non-complete coverage and explicit limitation when optional trailing payloadSignature parsing fails.
- ASAR: carry validated AsarHeaderExtents + AsarHeaderAdmission from classifyRootFormat into AsarArtifactReader to avoid duplicating parseAsarHeaderExtents and maximumBytes admission.

Closes #14346

* fix(artifacts): preserve fail-closed OTA signature limits, boot overlap checks, and error schema
2026-11-24 14:09:00 +00: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

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/.