From 1e341973cfad1dbf06755f3a086ffc23d42a723c Mon Sep 17 00:00:00 2001 From: N0zoM1z0 <1705004398@qq.com> Date: Fri, 9 Oct 2026 14:21:38 +0000 Subject: [PATCH] test(ghidra): size oversized annotations for canonical delivery --- scripts/lib/real-ghidra-large-results.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/real-ghidra-large-results.mjs b/scripts/lib/real-ghidra-large-results.mjs index 76738567e1..15fbcd0873 100644 --- a/scripts/lib/real-ghidra-large-results.mjs +++ b/scripts/lib/real-ghidra-large-results.mjs @@ -87,9 +87,12 @@ export async function verifyGhidraLargeResults({ length, }); const readId = retainedReference(readError, "read_bytes"); + // Two annotation strings repeated in text and structured content must + // exceed the receive budget even without obsolete Evidence envelopes. + // The request contains only the two strings and remains below that budget. const comment = "REA_BIG_COMMENT:" + - "x".repeat(Math.ceil(STDIO_DEFAULT_MAX_BUFFER_SIZE / 10)); + "x".repeat(Math.ceil(STDIO_DEFAULT_MAX_BUFFER_SIZE / 4)); const annotationError = await reject("annotate_native_function", { procedure: entry.address, name: "rea_frame_probe",