mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 17:44:27 +00:00
* feat(labview): inspect RSRC containers and embedded VI trees Add inspect_labview_artifact, a static reader for LabVIEW RSRC containers in .vi/.ctl/.llb files and in LabVIEW-built PE resources. It reports the container header, the recorded LabVIEW version, the complete block inventory with each section's coding, and whether the block-diagram and front-panel heaps are present, without starting LabVIEW or any process. Only zlib-coded sections are decoded, for their byte count; no payload is returned. An absent block-diagram heap is reported as a limitation rather than reconstructed. * docs(labview): document RSRC inspection Describe the inspect_labview_artifact contract, section codings, and the block-diagram limitation, and list the target in the supported-targets table and the documentation index. * test(labview): cover provider admission for the RSRC reader Add the provider-admission coverage the repository requires for a new provider, without changing the reader: - Move the synthetic RSRC container builder into a shared test fixture so the unit and boundary tests build the same bytes once. - Add a CLI and stdio MCP boundary test for inspect_labview_artifact. - Register `rea-labview-rsrc` lifecycle coverage for operation and cancel. - Declare the `labviewArtifact` conformance case. - Regenerate the advertised catalog summary for inspect_labview_artifact. * fix(labview): require an absolute path in the inspection contract `inspect_labview_artifact` admitted a relative `path`, while every other caller-path contract requires an absolute one. The CLI/contract parity check caught it: the CLI resolves a relative argument before admission, so the contract must hold the absolute rule alone. Use `absoluteLocalPathStringSchema`, the schema the other caller-path contracts already use. * fix(labview): bound inspection work and preserve parse facts Address the review findings on the RSRC reader: - Bound the PE resource walk with a visited set, a total visit budget, directory-entry and container allowances, and a typed limit failure instead of a silently partial scan. - Check the resource directory and its data against the declared resource range rather than the whole file. - Cap zlib inflation at its declared length, add a total decoded-work budget, and recognise any valid zlib header instead of three byte pairs. - Check nested RSRC records against their declared data/info sections and cap the total section count across blocks. - Read the artifact through readStableArtifact so identity, bounds and cancellation bind to the bytes actually inspected. - Carry parse failures as ParseFailureError facts: malformed input keeps its kind/offset/field, and a limit becomes a typed fixed-allowance refusal instead of invalid_format. - Report heap presence as `unknown` when an embedded program tree or an unexamined container could still hold it, not as `absent`. - Cover cancellation that arrives after the read starts. - Move the analyst guide under docs/guides/native/. * fix(labview): retry retained cleanup and keep read failures distinct - Own the artifact resource scope and run each read through it, so a retained failed close is retried before later work and reported at shutdown. - Translate the read failure as recorded instead of replacing it with the signal's current state; the stable read owns its cancellation facts. - State the 256 MiB input ceiling as a fixed allowance so an oversized artifact keeps its structured maximum and recovery. - Match the guide to the decoded-byte behavior: a section over the budget is reported `unknown` and the inventory continues. * fix(labview): bound the version scan and keep cleanup on refusal - Replace the unbounded `\d+\.\d+` scan with a bounded single-pass search over the first 64 KiB of each vers section; a digit-only section no longer drives quadratic matching work in the shared server. - Classify read failures through the shared provider classifier with a LabVIEW dialect, so the size ceiling is restated as a fixed allowance and the read's cleanup, partial observation and cancellation facts survive the refusal. - Cover both with regressions. * fix(labview): reuse the shared PE layout and bound the decode work - Walk PE resources through readPeResourceLayout, so RVA lookup is indexed, a payload may map through any admitted section, and the home-grown section scan is gone. Add a total entry budget. - Charge every attempted inflation against the container's decode budget, including failed and length-mismatched attempts. - Bound block records by the list's declared extent, clamped to the container because real LabVIEW-built PEs declare more than the resource payload holds. - Reject a named section whose name leaves the list instead of reporting it as unnamed. - Pass the selected container to the parser without copying it. - Cover the PE path and the over-declared list extent with regressions. * fix(labview): bound repeated decodes and report unexamined coverage - Charge compressed input bytes as well as declared output, and memoize the decoding of one stored section, so records that share a stream do not repeat its work. - Keep a zlib-coded `vers` section's decoded bytes for the version scan. - Cap list records by both the declared extent and the info section. - Report PE walk coverage, and keep heap presence `unknown` for a `.llb` archive or an unreadable PE resource branch. * fix(labview): key cached decoding by block and section A section's coding depends on both its stored bytes and the block that declares it: LVzp is XOR regardless of the bytes, while another block may read the same bytes as raw or zlib. Include the block identifier in the memo key so a shared section keeps each block's interpretation. Cover the shared-section case with a regression. * fix(labview): derive block facts once and stop inferring format from names - Compute the block-diagram, front-panel and program-tree facts in one pass over the inventory and reuse them. - Check the visited set before charging the PE directory-visit budget, so aliases of one directory do not exhaust it. - Deduplicate aliased resource payload ranges before counting containers. - Report a direct RSRC container's heap facts as unknown: its content does not establish whether it is a VI, a control, or an archive of member VIs, and the caller's spelling is not evidence of format. * fix(labview): decode the packed version record and keep resource type - Read the LabVIEW version from the packed four-byte word at the start of a `vers` record instead of scanning the whole record as Latin-1, and report `version_coverage` so an undecodable record is unknown rather than absent. - Accept only RT_RCDATA (type 10) PE resource payloads, so the `pe-rcdata-rsrc` kind is accurate and a larger custom resource cannot win selection. * fix(labview): walk only the RCDATA subtree and validate packed digits - Walk only the RCDATA (type 10) resource subtree, so a shared directory reached under another type cannot hide the container and unrelated branches are not charged to the entry budget. - Reject a packed version word whose digit nibbles are not decimal; a damaged record is skipped and a damaged-only container reports `version_coverage: unknown`. - Derive the heap and program-tree facts in the parser and consume them in the provider, so one owner defines their meaning. * fix(labview): filter root resource entries before dispatch - Apply the RCDATA root-type filter before either target branch, so a root entry that points straight at a payload cannot enter the result. - Validate only the decimal major, minor and bugfix fields; the build field is not part of the reported version. * fix(labview): filter PE root types before dispatch and validate only reported version digits The RT_RCDATA filter ran only for directory targets, so a noncanonical root entry of another type pointing straight at a data entry could be counted and labelled pe-rcdata-rsrc. Filter the depth-0 type identity before either target branch, and share the RT_RCDATA constant with the PE resource facts owner. The vers check rejected a record whose build bits held a nibble above 9. Only major.minor is reported, and pylabview (decimal build digits) and the classic NumVersion layout (binary non-release revision) disagree on the build, so only the reported major and minor nibbles are validated. * fix(labview): resolve names against the shared list and keep read identity - Locate the one section-name list after every block's start table and use it for all blocks, so named sections before the last block keep their identity instead of reading a neighbouring table. - Retain the completed read's byte identity on later refusals and failed closes, so a parse failure still names the bytes that were read. * fix(labview): report why recognized zlib sections stay undecoded A valid RFC 1950 header with FDICT set was classified as uncompressed, so a vers section's four-byte length prefix was read as version 0.0. FDICT now marks the section as recognized-but-undecodable zlib. Each undecoded zlib section records its reason (preset dictionary, compressed-input or decoded-output allowance, or failed inflation), and the report names the fixed allowance that stopped it, so a capacity omission is distinguishable from damaged bytes. A PE whose RCDATA branch could not be read is no longer described as carrying no embedded RSRC resource. The RSRC magic and zlib header fields are named once and shared. * fix(labview): keep PE admission separate from an unreadable tree A file that does not declare `MZ` is not a PE, so it must not be reported as a malformed PE resource tree. The scan reports whether the file was admitted as a PE separately from whether the walk was complete. * fix(labview): take PE identity from the MZ owner and bound section tables A two-byte MZ check treated plain DOS MZ and NE/LE/LX images as declared PEs, so an ordinary non-LabVIEW file was reported as an unreadable PE resource tree. PE identity now comes from observeMzWindowsHeader: only a PE signature at e_lfanew declares a PE. The unused admitted field is removed. A section-start offset inside the count word or block-header rows was accepted and could fabricate an inventory from block metadata. Tables must start at or after the end of every block header; blocks may still share a later table. The refusal tests now assert the error type unconditionally. * fix(labview): report embedded parse failures in file coordinates A malformed RSRC embedded in a PE failed with container-relative offsets, but the refusal names the selected executable and carries no container.file_offset, so callers could not locate the failure. The parser now takes the container origin and moves a failure offset into the selected file's coordinates; successful results keep container-relative ranges with container.file_offset. * fix(labview): frame RSRC tables before applying their count allowances A damaged container declaring an impossible block or section count was refused as a capacity limit before its table extent was checked, so a truncated target surfaced as resource_constraint. Each table is now framed first; a fully framed table over its allowance is still a capacity refusal. * fix(labview): keep unread PE resource roots and rows out of observed absence A nonzero resource RVA whose file-backed run cannot hold one directory header returned complete coverage without reading anything, so the file was reported as carrying no embedded RSRC. Only a zero RVA is observed absence now; a short declared root is an unread tree. Directory rows were checked against the entry allowances before their extent, so a damaged directory declaring impossible counts surfaced as resource_constraint. Rows are framed first; a fully framed directory over its allowance is still a capacity refusal. * fix(labview): reject RSRC data sections that overlap the fixed header A data offset inside the 32-byte RSRC header let a section's stored-length word be read from header fields, returning a fabricated empty section as a successful inventory. A data offset below the header is now malformed. * fix(labview): check decode-omission guidance structurally and own the RSRC magic once The allowance test froze the delivered sentence. It now checks the parser's decodeOmissions fact and the effective allowance, and compares the public limitation with the provider's own formatter output. The RSRC magic was declared again in artifact recognition; it now has one owner in the LabVIEW domain contract, used by recognition, the parser, the PE scan and the provider. * feat(labview): summarize and page the RSRC inventory from retained Evidence inspect_labview_artifact returned every block and section inline, so an admitted container with 4096 named sections could exceed a megabyte and bypass the agent result budget. The tool now takes detail: complete keeps the inline inventory; summary, or omitted detail over the budget, returns container, version and heap facts with block and section counts, and the complete inventory is paged with inspect_analysis_view kind labview-artifact (blocks, sections, optional block filter) or read with evidence-json. The CLI delivers the same way. RSRC data and info ranges that intersect are refused as malformed rather than reading list metadata as section data. * test(labview): read the CLI report as the complete inventory The advertised output now admits complete or summary detail, so the test parses the complete report schema explicitly. * perf(labview): build view rows only for the requested page Each view call copied every section before reading the request, so a summary or one-row page did work proportional to the whole inventory. A section index (block and section position, and positions per block) is built once per immutable retained report and reused; summaries read counts from it, and section pages build objects only for selected rows. --------- Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
441 lines
21 KiB
JSON
441 lines
21 KiB
JSON
{
|
|
"src/adb/AdbCommand.ts": {
|
|
"name": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the live adb capture allowance named by its caller; the ceiling is declared where the command's budget is chosen."
|
|
},
|
|
"{ name, kind: \"live\" as const, ...facts }": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the live adb capture allowance named by its caller; the ceiling is declared where the command's budget is chosen."
|
|
}
|
|
},
|
|
"src/adb/AdbConfiguration.ts": {
|
|
"`The adb version-output capture allowance of ${String(VERSION_MAX_OUTPUT_BYTES)} bytes (this release has no runtime override)`": {
|
|
"class": "protocol",
|
|
"reason": "Bounds the reply to `adb version`, a short fixed-format banner; no analysis input passes through it."
|
|
}
|
|
},
|
|
"src/android/JadxSession.ts": {
|
|
"`The external DEX ${failure.stage} representation allowance`": {
|
|
"class": "protocol",
|
|
"reason": "One eighth of the JADX bridge's 8 MiB local MCP frame less its envelope, so the prototype and reference replies and their retained, Evidence and MCP copies fit together; raising it needs a paged bridge reply, not a larger allowance."
|
|
}
|
|
},
|
|
"src/apkSignature/apkSignatureFailures.ts": {
|
|
"\"The decoded APK signing report allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK Signature Scheme ${scheme} allowance of ${String(maximum)} ${name} (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK Signing Block allowance of ${String(maximum)} pairs (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK v1 allowance of ${String(limit)} signers (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK v1 allowance of ${String(maximum)} META-INF signing entries (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"\"The APK signature input allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The 512 MiB whole-APK read is a resource policy; the content digest needs the whole file."
|
|
}
|
|
},
|
|
"src/apktool/ApktoolConfiguration.ts": {
|
|
"\"The apktool version-output capture allowance (decode_timeout_ms does not raise it)\"": {
|
|
"class": "protocol",
|
|
"reason": "Bounds the reply to `apktool --version`, a short fixed-format banner; no analysis input passes through it."
|
|
}
|
|
},
|
|
"src/artifacts/AndroidBootImageArtifactReader.ts": {
|
|
"ceiling.name": {
|
|
"class": "forwarding",
|
|
"reason": "Projects the boot-image parser's own named ceiling (`ceiling.name`); the value is declared by that parser."
|
|
}
|
|
},
|
|
"src/artifacts/AuditdLogArtifactReader.ts": {
|
|
"\"The auditd log file-size ceiling\"": {
|
|
"class": "pending",
|
|
"issue": 11345,
|
|
"reason": "The 4 GiB auditd log admission is a resource policy; issue #11345 tracks giving it a control as the reader grows past step 1."
|
|
}
|
|
},
|
|
"src/artifacts/AndroidSparseImageArtifactReader.ts": {
|
|
"ceiling.name": {
|
|
"class": "forwarding",
|
|
"reason": "Projects the sparse-image parser's own named ceiling (`ceiling.name`); the value is declared by that parser."
|
|
}
|
|
},
|
|
"src/artifacts/MegaDriveRomArtifactReader.ts": {
|
|
"\"The Mega Drive ROM byte ceiling\"": {
|
|
"class": "format",
|
|
"reason": "The linear cartridge window this reader admits is 8 MiB. A larger file needs a mapper this reader does not decode."
|
|
},
|
|
"\"The Mega Drive SMD block ceiling\"": {
|
|
"class": "format",
|
|
"reason": "An SMD dump is the same program image in 16 KiB blocks after a 512-byte copier header, so 512 blocks is that 8 MiB ceiling."
|
|
}
|
|
},
|
|
"src/artifacts/N64RomArtifactReader.ts": {
|
|
"\"The Nintendo 64 ROM size allowance\"": {
|
|
"class": "format",
|
|
"reason": "Retail cartridge masks stop at 64 MiB (512 Mbit). A larger file is refused before its bytes are swapped. This release has no runtime override, and artifact_limits.expanded_bytes does not raise it."
|
|
}
|
|
},
|
|
"src/artifacts/NdsRomArtifactReader.ts": {
|
|
"\"The Nintendo DS ROM directory depth allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds FNT directory nesting (64 levels) so deeply nested 127-byte directory names cannot expand a single path prefix to ~512 KiB before member path retention."
|
|
},
|
|
"\"The Nintendo DS ROM expanded path allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds aggregate UTF-8 bytes of expanded FNT member paths (16 MiB) before allocation so 61,440 files under deep prefixes cannot expand an 8 MiB FNT into gigabytes of retained path strings."
|
|
}
|
|
},
|
|
"src/artifacts/UbiImageArtifactReader.ts": {
|
|
"`The ${parserLimit.name} allowance`": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "UBI eraseblock size and count allowances are resource policies; the static payload CRC budget is derived from the admitted image length."
|
|
}
|
|
},
|
|
"src/artifacts/WxapkgArtifactReader.ts": {
|
|
"\"The wxapkg directory-and-chunk I/O work allowance\"": {
|
|
"class": "derived",
|
|
"reason": "Four times the admitted member count plus 64 KiB chunks of declared member bytes, which artifact_limits.expanded_bytes bounds; it grows with that admission."
|
|
}
|
|
},
|
|
"src/artifacts/deno/DenoStandaloneLocation.ts": {
|
|
"parserLimit.name": {
|
|
"class": "forwarding",
|
|
"reason": "Projects a Deno parser limit declared at its owner (`parserLimit.name`)."
|
|
}
|
|
},
|
|
"src/artifacts/deno/DenoVirtualFs.ts": {
|
|
"\"The Deno compile virtual filesystem depth allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds nested walkEntries recursion so a deeply nested VFS JSON cannot exhaust the call stack; entry, name and path budgets are per-call artifact_limits.deno controls."
|
|
}
|
|
},
|
|
"src/artifacts/dotnet/DotnetBundle.ts": {
|
|
"\"The .NET bundle exact integer range\"": {
|
|
"class": "representation",
|
|
"reason": "A bundle offset or size above Number.MAX_SAFE_INTEGER cannot be represented exactly as a JavaScript number."
|
|
}
|
|
},
|
|
"src/artifacts/nodeSea/NodeSeaLocation.ts": {
|
|
"\"Node SEA duplicate-blob verification allowance\"": {
|
|
"class": "derived",
|
|
"reason": "Duplicate-blob verification work is bounded by the carrier's own file size, so the bound grows with the admitted input."
|
|
}
|
|
},
|
|
"src/browser/WebBundleAnalysisWorker.ts": {
|
|
"\"The web-bundle worker transfer allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Web-bundle worker transfer bytes are a resource policy."
|
|
}
|
|
},
|
|
"src/browser/execution/CdpRuntimeRetention.ts": {
|
|
"allowance": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the live runtime-retention allowance its caller names."
|
|
}
|
|
},
|
|
"src/browser/history/playwrightTrace/TraceFailure.ts": {
|
|
"\"The Playwright trace ZIP expansion allowance (derived from the archive size)\"": {
|
|
"class": "derived",
|
|
"reason": "The ZIP reader's plaintext-work budget is derived from the admitted trace archive's own size, which trace_limits.archive_bytes bounds."
|
|
}
|
|
},
|
|
"src/deb/DebPackageProvider.ts": {
|
|
"DEB_PACKAGE_FIXED_ALLOWANCES[cause.allowance]": {
|
|
"class": "forwarding",
|
|
"reason": "Reports the Debian parser's named ar name, tar extension, relationship alternative, Zstandard window, or XZ dictionary allowance using the parser's maximum."
|
|
}
|
|
},
|
|
"src/domain/analysisErrorCore.ts": {
|
|
"text(recovery.fixedAllowance.name)": {
|
|
"class": "forwarding",
|
|
"reason": "Copies a declared fixed allowance while redacting its text; declares no ceiling."
|
|
}
|
|
},
|
|
"src/domain/analysisView/WebNetworkProjectionAccumulator.ts": {
|
|
"\"The analysis-view projection allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "The analysis-view projection allowance is a resource policy."
|
|
}
|
|
},
|
|
"src/domain/apiContract/GraphqlDocuments.ts": {
|
|
"`The GraphQL AST nesting allowance of ${String(GRAPHQL_CONTRACT_LIMITS.astDepth)} levels`": {
|
|
"class": "representation",
|
|
"reason": "Bounds the parsed AST depth that REA's recursive selection-set generators (collectSelections, nested yield*) and graphql-js's recursive print and schema building walk, so a deeply nested document cannot exhaust the call stack or make nested generator delegation quadratic."
|
|
}
|
|
},
|
|
"src/domain/fixedAllowanceRemediation.ts": {
|
|
"allowance": {
|
|
"class": "forwarding",
|
|
"reason": "The fixed-ceiling helpers themselves; each caller names its own allowance."
|
|
}
|
|
},
|
|
"src/domain/native/nativeDeadlines.ts": {
|
|
"allowance": {
|
|
"class": "forwarding",
|
|
"reason": "`fixedNativeAllowance` relays the allowance its caller names."
|
|
}
|
|
},
|
|
"src/electron/ElectronFuseFailures.ts": {
|
|
"fileSize ? \"the Electron fuse input allowance\" : \"The Electron fuse sentinel inventory\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Electron fuse input bytes and sentinel inventory are resource policies."
|
|
}
|
|
},
|
|
"src/flutter/FlutterBuildProvider.ts": {
|
|
"\"The Flutter APK expansion allowance (derived from the APK size)\"": {
|
|
"class": "derived",
|
|
"reason": "Expansion work is derived from the admitted APK's own size."
|
|
}
|
|
},
|
|
"src/ghidra/GhidraExecutableHeader.ts": {
|
|
"\"The header parser's exactly representable executable extent\"": {
|
|
"class": "representation",
|
|
"reason": "An executable extent above Number.MAX_SAFE_INTEGER cannot be represented exactly."
|
|
}
|
|
},
|
|
"src/ghidra/GhidraInstallationProperties.ts": {
|
|
"\"The Ghidra installation-properties read allowance\"": {
|
|
"class": "protocol",
|
|
"reason": "Bounds Ghidra's own Ghidra/application.properties, a short key=value installation descriptor of the bring-your-own provider (about 1 KiB); no analysis input passes through it, and a larger file is not a Ghidra installation REA can drive."
|
|
}
|
|
},
|
|
"src/ghidra/GhidraSessionErrorProjection.ts": {
|
|
"\"The Ghidra C type depth allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Ghidra 12.2 stores, names and compares a data type recursively through its pointer, array, typedef and member chain; measured on Ghidra 12.2, 1024 levels resolve and 2048 exhaust the JVM stack inside addDataType while its database lock is held, leaving that lock held and the Program unusable. No caller value can raise the stack, so the bound is a quarter of the last measured safe depth."
|
|
}
|
|
},
|
|
"src/gpu/GpuCodeObjectsProvider.ts": {
|
|
"\"The GPU nesting allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds recursive GPU container nesting (8 levels in GpuInventory.ts) and AMDGPU MessagePack value nesting (32 levels in AmdGpuMetadata.ts) to prevent unbounded call-stack recursion."
|
|
},
|
|
"\"The GPU parser syntax allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Fallback fixed parser syntax ceiling (such as 128 tokens per PTX parameter declaration) so unmapped parser BinaryResourceFailure values stay inside the Result error contract."
|
|
}
|
|
},
|
|
"src/ida/IdaMcpConnection.ts": {
|
|
"{ ...outputLimit.ceiling, narrowing: \"Request a smaller result from IDA, such as a narrower address range or fewer items.\", }": {
|
|
"class": "protocol",
|
|
"reason": "REA bounds each stdio message from the upstream IDA MCP server at a fixed frame size; the transport, not the analysis, sets it."
|
|
}
|
|
},
|
|
"src/il2cpp/Il2cppGhidraSeeds.ts": {
|
|
"name": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "IL2CPP metadata input, native-link candidate and Ghidra seed allowances are resource policies; the ELF pointer index became max_native_index_bytes."
|
|
}
|
|
},
|
|
"src/il2cpp/Il2cppMetadataProvider.ts": {
|
|
"\"The IL2CPP native-link allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "IL2CPP metadata input, native-link candidate and Ghidra seed allowances are resource policies; the ELF pointer index became max_native_index_bytes."
|
|
},
|
|
"\"the fixed IL2CPP input allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "IL2CPP metadata input, native-link candidate and Ghidra seed allowances are resource policies; the ELF pointer index became max_native_index_bytes."
|
|
}
|
|
},
|
|
"src/kuna/KunaProjectReader.ts": {
|
|
"`Kuna's buffered function-text allowance of ${String(KUNA_FUNCTION_TEXT_BYTES)} bytes`": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Kuna's buffered function-text allowance is a resource policy."
|
|
}
|
|
},
|
|
"src/labview/LabviewArtifactProvider.ts": {
|
|
"INPUT_ALLOWANCE": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The selected-artifact input ceiling for this native format reader is a resource policy; no per-call control exists yet."
|
|
},
|
|
"allowanceName(limit.name)": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The RSRC block, total-section, directory-walk, directory-entry and embedded-container allowances are structural resource policies of one read; no per-call control exists yet."
|
|
}
|
|
},
|
|
"src/native/LldbCallTracer.ts": {
|
|
"\"The combined LLDB result representation ceiling\"": {
|
|
"class": "representation",
|
|
"reason": "The combined tracer result is read into one Buffer and decoded to one string; above min(buffer.constants.MAX_LENGTH, buffer.constants.MAX_STRING_LENGTH) the running Node cannot represent it."
|
|
}
|
|
},
|
|
"src/native/NativeCommandAnalysisError.ts": {
|
|
"\"The native command output capture allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Native command output capture is a producer budget without a per-call control."
|
|
}
|
|
},
|
|
"src/native/SignatureTargetBinding.ts": {
|
|
"\"The exactly representable file size\"": {
|
|
"class": "representation",
|
|
"reason": "A file size above Number.MAX_SAFE_INTEGER cannot be represented exactly."
|
|
}
|
|
},
|
|
"src/native/apple/AppleIpsProvider.ts": {
|
|
"`The IPS ${name.replaceAll(\"_\", \" \")} allowance`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Native reader structural, text and inventory allowances are resource policies without a per-call control."
|
|
}
|
|
},
|
|
"src/native/dwarf/DwarfUnitsProvider.ts": {
|
|
"\"The retained DWARF section bound\"": {
|
|
"class": "derived",
|
|
"reason": "Retained file-backed sections cannot exceed the admitted image size; the bound is the selected file and grows with it."
|
|
}
|
|
},
|
|
"src/native/elf/ElfDebugLinkProvider.ts": {
|
|
"\"The whole-file debug candidate read allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The streamed candidate is hashed in bounded chunks; its 0xffffffff-byte whole-file ceiling states no format reason, so it is a policy awaiting a control or a stated reason."
|
|
}
|
|
},
|
|
"src/native/elf/ElfDependenciesProvider.ts": {
|
|
"text ? \"The ELF dependency text budget fixed by the admitted image length\" : `The ELF dependency ${limit.name} allowance`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "ELF dependency entry allowances are resource policies; the text budget is derived from the admitted image length."
|
|
}
|
|
},
|
|
"src/native/elf/elfNoteLimitConstraint.ts": {
|
|
"ELF_NOTE_TEXT_ALLOWANCE": {
|
|
"class": "derived",
|
|
"reason": "The note text, hash and scan budget equals the admitted image length plus its decoded section names, so it grows with max_file_bytes and needs no control of its own."
|
|
}
|
|
},
|
|
"src/native/elf/ElfUnwindRangesProvider.ts": {
|
|
"\"The ELF unwind symbol-name text allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The 16 MiB symbol-name text decoded for one returned page is a resource policy; a smaller page (limit) stays within it."
|
|
}
|
|
},
|
|
"src/native/hardening/BinaryHardeningProvider.ts": {
|
|
"\"The binary hardening table-entry allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The ELF dynamic table entry count is a resource policy; symbol-table excess already degrades to unresolved rows."
|
|
}
|
|
},
|
|
"src/native/parsers/lipo.ts": {
|
|
"\"The lipo field retention allowance\"": {
|
|
"class": "derived",
|
|
"reason": "lipo fields are sliced from its captured output, and their retention is bounded by the same native command output allowance; it changes only with that capture allowance."
|
|
}
|
|
},
|
|
"src/native/parsers/plist.ts": {
|
|
"\"The native plist input allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Native reader structural, text and inventory allowances are resource policies without a per-call control."
|
|
},
|
|
"\"The native plist nesting allowance\"": {
|
|
"class": "representation",
|
|
"reason": "The decoded plist value nests inside Evidence JSON, whose depth is bounded by MAX_JSON_DEPTH before recursive result cloning; three levels are reserved for the report envelope (MAX_NATIVE_PLIST_NESTING_DEPTH = MAX_JSON_DEPTH - 3)."
|
|
},
|
|
"`The native ${encoding} plist decode allowance`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Native reader structural, text and inventory allowances are resource policies without a per-call control."
|
|
}
|
|
},
|
|
"src/native/pe/PeCertificatesProvider.ts": {
|
|
"selected.name": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "PE structural and retained-text allowances are resource policies (the PE file-size admission is #14167)."
|
|
}
|
|
},
|
|
"src/pcap/PcapCommand.ts": {
|
|
"\"The packet-tool output capture allowance\"": {
|
|
"class": "protocol",
|
|
"reason": "Bounds only capinfos and tshark version and summary probes, whose replies are short fixed-format text; each tshark JSON pass reports producer_limits.output_bytes instead."
|
|
}
|
|
},
|
|
"src/pcap/PcapOutput.ts": {
|
|
"\"The packet-inventory retained-fact allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "tshark JSON decoding, expansion, retained-fact, output and snapshot allowances are producer budgets."
|
|
},
|
|
"\"The tshark JSON expansion allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "The decoded-JSON work across both tshark passes bounds the in-process parse; raising it needs a streaming decoder or a heap-aware control, so it stays fixed until then."
|
|
}
|
|
},
|
|
"src/process/capture/ProcessSensitiveOutput.ts": {
|
|
"\"Sensitive terminal redaction\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Sensitive terminal redaction state is a resource policy."
|
|
}
|
|
},
|
|
"src/resources/artifactReadBudget.ts": {
|
|
"ceiling.name": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the whole-file identity ceiling its caller names: 4 GiB minus one byte for the PE-only readers and the Mach-O function-starts reader, whose file offsets (PE fields, LC_FUNCTION_STARTS and LC_DATA_IN_CODE dataoff, FAT32 slice offsets) are 32-bit (format), and the 512 MiB artifact-size bound of the hardening and exports result schemas. max_file_bytes, a per-call parameter with details.limit, bounds what the readers read."
|
|
}
|
|
},
|
|
"src/sqlite/SqliteDatabaseFailures.ts": {
|
|
"`The SQLite worker diagnostic capture allowance of ${String(SQLITE_DATABASE_LIMITS.diagnosticBytes)} bytes (this release has no runtime override; worker_timeout_ms does not raise it)`": {
|
|
"class": "protocol",
|
|
"reason": "Bounds stdout and stderr of REA's own SQLite worker, which answers through its reply file; only startup failures and runtime warnings reach these streams, and no database content or analysis result passes through them."
|
|
}
|
|
},
|
|
"src/sqlite/SqliteDatabaseWorkerExecution.ts": {
|
|
"\"The SQLite value/record, SQL statement and worker reply allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "The 16 MiB value/record, statement and worker reply allowance bounds what the parent decodes from REA's SQLite worker; it is a resource policy that should become a per-call control together with the worker heap."
|
|
},
|
|
"\"SQLite's result-column limit for this connection\"": {
|
|
"class": "format",
|
|
"reason": "SQLite's own result-column limit (SQLITE_LIMIT_COLUMN) for the private connection, reported by the engine with the reply; REA does not set it."
|
|
}
|
|
},
|
|
"src/vsix/VsixPackageProvider.ts": {
|
|
"`The ${String(cause.failure.limit.maximum)}-node allowance for an extension.vsixmanifest document tree`": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "VSIX manifest XML node and JSON value allowances are resource policies."
|
|
},
|
|
"`The ${String(cause.failure.limit.maximum)}-value allowance for a parsed extension/package.json`": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "VSIX manifest XML node and JSON value allowances are resource policies."
|
|
}
|
|
}
|
|
}
|