Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(ghidra): size oversized annotations for canonical delivery

N0zoM1z01e341973cfad
diff --git a/scripts/lib/real-ghidra-large-results.mjs b/scripts/lib/real-ghidra-large-results.mjs
index 76738567e..15fbcd087 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",