Files
reverse-engineering-anything/scripts
morluto 1cc655bbc0 feat(native)!: give inspect_dwarf_units a per-call max_decompressed_bytes (#14660)
* feat(native)!: give inspect_dwarf_units a per-call max_decompressed_bytes

inspect_dwarf_units refused at a fixed 256 MiB of decompressed DWARF
sections for one image. It now accepts max_decompressed_bytes (default
256 MiB, at most 1 GiB) and reports details.limit; the sections decompress
in turn, so the refusal reports no required_value.

The ELF note text, hash and scan allowance is reclassified as derived: it
equals the admitted image length plus its decoded section names.

Part of #14235.

BREAKING CHANGE: a DWARF decompression refusal reports details.limit for
max_decompressed_bytes instead of a fixed_ceiling refusal.

* fix(native): document DWARF decompression budget charges, update schema summary, and test raise-and-retry
2026-11-26 05:19:54 +00:00
..