mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 01:46:39 +00:00
* feat(native)!: give the PE readers per-call text, entry and metadata budgets inspect_pe_imports refused at a fixed 16 MiB of retained names, inspect_pe_unwind_ranges at a fixed 2,097,152 exception-directory entries and inspect_pe_resources at a fixed 8 MiB result. They now accept max_text_bytes (default 16 MiB, at most 256 MiB), max_entries (default 2,097,152, at most 16,777,216) and max_metadata_bytes (default 8 MiB, at most 256 MiB). The DLL, function and TLS callback refusals report details.limit for max_dlls, max_functions and max_callbacks instead of authored recovery, and an unwind refusal reports the declared entry count as required_value. The shared PE failure projection no longer maps an unnamed BinaryResourceFailure to "The PE structural decoding allowance": no PE reader produces one, since PE header and section tables are bounded by the format. Part of #14234 and #14235. BREAKING CHANGE: the PE retained-text, exception-directory entry and resource metadata refusals report details.limit instead of a fixed_ceiling refusal. * fix(native): update PE advertised schema summaries, test types, and assert retry success * test: compare PE resource refusals across adapters with each adapter's control spelling * test: avoid shadowing the CLI fixture in the PE resources parity check