mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 13:41:17 -05:00
351c2f4a03
* fix(ghidra): carry only the latest launcher output in error diagnostics Ghidra retains up to 8 MiB of launcher output so it can scan for failures, and every error projected all of it into details.diagnostics. A startup timeout on a large binary produced an 11 MB error payload (#10365). Project the last 64 KiB of each retained stream, the bound gdb, rizin and native commands already use, and record text_bytes next to the existing observed and retained byte counts. Redaction runs on the whole retained text before the cut. Add utf8TailExcerpt as the shared helper that keeps the end without splitting a character. Refs #10365 * fix(ghidra): preserve actionable launcher diagnostics * test(ghidra): keep launcher scenarios independently scoped * refactor(ghidra): parse launcher failures once in the diagnostics owner ghidraFailureOutput parses every retained line with the single launcher-failure parser and carries bounded, redacted facts with their source line. The error projection reads those facts instead of re-scanning stream text, and the superseded line filter and ghidraJavaHomeSaveDenial text scanner are removed.