mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 01:46:39 +00:00
* feat(ghidra): set function signatures and define the types they use annotate_native_function accepts an optional C prototype, applied with USER_DEFINED source in the same transaction as the name and comments, verified by readback and rolled back with them on refusal. define_native_data_types stores caller-authored struct, union, enum and typedef definitions atomically under /rea_caller_defined and refuses existing names. inspect_native_data_type reports those types with source caller-defined, and annotation readback reports the applied prototype and its source. Refs #14831 * feat(ghidra): bound caller C text with launch controls and refuse unapplied constructs The lengths of a signature and of type declarations and the nesting depth of parentheses are launch-only REA_ controls with measured defaults, floors and maxima, written into the bridge's session descriptor. A refusal names the control, its effective value, source and range. The bridge tokenizes caller C before Ghidra's parser sees it and refuses what that parser accepts without applying: attributes, storage-class specifiers, variable declarations, directives other than #pragma pack, literals, function bodies, default arguments, unnamed enums and repeated member names. A type name that names different types is refused. When a function has no calling convention and the prototype names none, the compiler specification's default convention, which Ghidra already uses to assign the locked storage, is recorded, and annotation readback reports the convention. Refs #14831 * fix(ghidra): apply the signature bound to the caller's text The bridge appended the semicolon its parser needs before checking the length, so a prototype of exactly the admitted length was refused. The readback prototype is documented as reusable only when its function and type names are C identifiers. Refs #14831 * chore(mcp): refresh advertised schema summaries for Ghidra type edits Refs #14831 * fix(ghidra): bound caller C text per call and report dropped qualifiers Ghidra's C parser cannot be cancelled, so REA bounds the text it parses. The three launch-only environment controls left an agent that hit them with a restart as its only recovery. The two length bounds are now per-call parameters, signature_max_utf16 on annotate_native_function and declarations_max_utf16 on define_native_data_types, with the same defaults and measured maxima. A refusal reports details.limit with control_kind "parameter" and required_value, the text's length, so the generated recovery names the value to pass or asks for shorter text. The text fields no longer carry a schema maximum, so every over-length refusal is typed. Parenthesis nesting is a fixed ceiling of 8 levels, registered as a representation bound, because each level doubles parse time. The session descriptor no longer carries C parser limits, and the config module, environment entries and restart-only registry rows are removed. const and volatile are still applied without effect, because Ghidra's types have no representation for them. Both edits now return dropped_qualifiers with each qualifier's line and column, and for a signature its parameter index, null for the return type, instead of dropping them silently. * fix(ghidra): read caller C through one tokenizer and bound nesting per call The C admission scan tracked lines only at LF and read directives as raw lines matched by a regular expression, so a CR-only line break shifted dropped-qualifier positions and a trailing comment on #pragma pack was refused. One tokenizer now owns caller C positions, comments and literals: CR, LF and CRLF each end a line as in Ghidra's parser, and directives are admitted from its tokens, so comments read as whitespace there too. A block comment that would carry a directive onto another line is refused. Parenthesis nesting was a fixed ceiling justified by parse time, a resource limit. It is now the per-call parenthesis_max_depth (default 8, range 1..12) on both type-edit tools. The bridge measures the deepest nesting over the whole text and sends it, with a text's length, as the wire failure's required_value, so details.limit reports the bridge's own measurement instead of the adapter re-reading the request. The tokenizer also decides whether a prototype is terminated, so the parser sees the caller's text unchanged: no leading whitespace is stripped, and a trailing line comment no longer swallows the appended terminator. * fix(ghidra): parse caller C inside the edit's rollback and refuse parser diagnostics Ghidra's C parser writes the type database even with storeDataType false: a definition whose name matches an existing empty composite fills that type in place, in the parser's own nested transaction. Both type edits parsed before opening their transaction, so a refused definition, such as one conflicting with a DWARF placeholder, left that placeholder filled. Parsing, validation and storage now share the edit's one transaction, and parseCallerC refuses to run outside one. The parser also records diagnostics it cannot apply, such as a repeated enumerator it drops, and still reports success. Both edits now refuse any diagnostic with Ghidra's message, before anything is stored. The real-Ghidra verifier gains a phase with an ELF object whose DWARF declares an opaque struct, proving a refused definition leaves that empty composite unchanged, and refuses a repeated enumerator. * fix(ghidra): admit caller C from one audited table of tokens Ghidra drops Review kept finding one more construct Ghidra's C parser consumes without applying, because admission listed spellings piecemeal. The tokenizer now owns one table, audited against every token and production of Ghidra 12.2's C.jj and checked on Ghidra 12.2, in that grammar's own spellings: - Refused, because meaning is lost: __ptr32 and __ptr64 (stored as a native-width pointer), __near and __far, every attribute, declspec, __readableTo, alignas, packed and asm spelling, [[...]] attributes, storage and inline specifiers including __forceinline, __pragma and _Pragma, _Static_assert, Objective-C @ blocks (Ghidra skips their whole text), and backslashes. - Reported in dropped_qualifiers as pure qualifiers: every const and volatile spelling, restrict, __unaligned and __w64. #pragma pack is admitted only in the operand forms Ghidra applies as written with a decimal value; (0x1), (010), (show) and (pop, n) were ignored or read differently, and "# pragma" is a line marker Ghidra skips. An enum tag that neither the text nor the database defines made Ghidra invent an empty enum without a diagnostic; declarations now refuse it as they do an invented struct or union. Identifiers admit $, as C.jj's do, and the tokenizer reads numbers and [[ as single tokens. * fix(ghidra): bound caller type depth, admit only constant expressions Ghidra evaluates, refuse unmatched pack pops Recursion: the tokenizer's [[ lookahead re-entered next() for each "[", and the dependency walk recursed per pointer, array and member level. Both are iterative now. Ghidra 12.2's own data-type code recurses too: 1024 pointer or array levels resolve, 2048 exhaust the stack inside addDataType while its database lock is held, leaving the Program unable to save. Every parsed type's chain through pointers, arrays, typedefs and members, including existing database types, is now measured iteratively and refused beyond a fixed 256-level ceiling before Ghidra walks it. An unexpected StackOverflowError ends the session with a reason instead of being caught by the parser call, since Ghidra's lock may then be held. Constant expressions: Ghidra leaves names, casts, sizeof, floating and binary literals unevaluated and substitutes a default, so "MASK = FIRST << 4" was stored as 2, and it truncates values outside int. Enum values, array sizes and bit-field widths are admitted only as integer literals with arithmetic, shift, comparison, bitwise and logical operators, checked iteratively with C's rules to stay in int, including implicit enumerator values; anything else is refused at its position. Pragma pack: Ghidra ignores a bare (push), a pop with nothing pushed keeps the current packing, and a plain pop pops past labelled entries. The tokenizer tracks admitted pushes and admits a pop only when Ghidra's result matches C's. * fix(ghidra): admit constant expressions only as one literal, skip absent pointer targets, state the type-depth recovery truthfully Constant expressions: emulating C against Ghidra's own evaluator is an open-ended class of mismatches (comparisons, unsigned arithmetic such as ~0U >> 1 giving -1, names, casts, truncation). The evaluator is removed. Enum values, array sizes and bit-field widths are admitted only as one decimal or hex integer literal within int, optionally negated, without suffixes; anything else is refused at the first token that leaves that form, and the refusal says to write the computed value. Implicit enumerator values are still checked against int. Dependency walk: Ghidra's generic pointer has a null pointed-to type, and pushing it onto the ArrayDeque threw. Both the dependency and depth walks now take children from one cTypeChildren and skip an absent child. Type depth: the depth is measured over the whole chain before comparing it with the limit, so the refusal reports the depth it used, and it names the type from the parser's table rather than walking the type for a name. The recovery no longer suggests splitting into named types, which cannot help because depth counts through typedefs and existing types; it says only fewer nested levels do. * refactor(ghidra): refuse parentheses in definitions and keep parenthesis_max_depth on signatures only Under the literal-only rule for constant expressions, every parenthesis in a define_native_data_types text already ended in a refusal (function declarators, attributes, casts, sizeof, or a Ghidra diagnostic for a grouped declarator), so parenthesis_max_depth changed only which refusal a caller saw. A definition now refuses its first parenthesis at its position, and the parameter is removed from that tool's schema; it stays on annotate_native_function, whose prototype has a parameter list. * fix(ghidra): refuse distinct types that share one parser name Ghidra keeps struct tags, enum tags and typedefs in separate maps. Combining those maps dropped a typedef such as typedef int item when struct item was also defined, and the call still succeeded. Overlapping names are stored only when the definitions are equivalent, which keeps typedef struct s { ... } s as one struct. Any other overlap is refused with conflicting_type_definitions before the transaction stores anything. Co-authored-by: morluto <morluto@users.noreply.github.com> * fix(ghidra): roll back a composite the parser fills in place Ghidra's parser replaces an empty composite during parsing and returns that same object. A later same-path check would store the fill as unchanged. Record those empty composites before parsing and refuse if parsing fills one, so the open transaction restores them. A different layout of a non-empty caller type still conflicts and leaves the stored type in place. Co-authored-by: morluto <morluto@users.noreply.github.com> * fix(ghidra): close line comments at EOF and refuse overflowing pack values Ghidra's // skip token requires a line break, so a comment at the end of declarations or of an already-terminated signature was rejected. A newline is appended whenever the text ends in a line comment, before any semicolon added for an unterminated prototype. Integer.parseInt drops a pack operand outside a Java int and leaves the previous packing, so #pragma pack(2147483648) stored a natural layout. Decimal pack operands are admitted only when that parse succeeds. Co-authored-by: morluto <morluto@users.noreply.github.com> * test(ghidra): assert the empty-composite refusal by code and readback Defining a struct over the DWARF placeholder fills that empty composite during parsing, so the refusal is data_type_conflict before the old name-conflict message. The verifier checks that code and that the placeholder still has no fields. Co-authored-by: morluto <morluto@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: morluto <morluto@users.noreply.github.com>
408 lines
19 KiB
JSON
408 lines
19 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/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/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 object allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The 128 MiB GPU object read allowance is a resource policy without a control."
|
|
},
|
|
"\"The GPU parser allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "AMDGPU metadata, HIP bundle, CUDA and PTX decode allowances (8 MiB to 512 MiB, visit and token counts) are resource policies without a control."
|
|
}
|
|
},
|
|
"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/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 PE-only readers, whose file 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."
|
|
}
|
|
}
|
|
}
|