From 6bcd243ca486b6b16f119c7693c605b48d576882 Mon Sep 17 00:00:00 2001 From: Syed Rishad Date: Sat, 24 Oct 2026 18:34:11 -0400 Subject: [PATCH] fix(verifiers): expect the session-continuation regex overflow reason (#7045) overflow into the remediation and ended the reason with the session continuation sentence, but the real-Ghidra boundary check still required the old reason text, so every lane that runs verifyGhidraBoundaries failed on real Ghidra. --- scripts/lib/real-ghidra-boundaries.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lib/real-ghidra-boundaries.mjs b/scripts/lib/real-ghidra-boundaries.mjs index d2c7607613..67078d31b8 100644 --- a/scripts/lib/real-ghidra-boundaries.mjs +++ b/scripts/lib/real-ghidra-boundaries.mjs @@ -529,9 +529,11 @@ export async function verifyGhidraBoundaries( regexError.remediation.action, /literal mode or simplify the regex/u, ); + // The retry advice lives in the remediation; the reason states that the + // session survived the overflow. assert.match( regexError.details.reason, - /exhausted its stack.*Use literal mode/u, + /exhausted its stack.*session and annotations remain available/u, ); rejectedCalls++; const nestedPattern = "(".repeat(12000) + "a" + ")".repeat(12000);