Skip to content

armgit / rea

Public Imported from GitHub
0

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

fix(ghidra): stop dereferencing the removed error payload in address verification

Kaoru082259fbaa2d3335
diff --git a/scripts/lib/real-ghidra-address-boundaries.mjs b/scripts/lib/real-ghidra-address-boundaries.mjs
index f5b54d5f4..1fae2bbe1 100644
--- a/scripts/lib/real-ghidra-address-boundaries.mjs
+++ b/scripts/lib/real-ghidra-address-boundaries.mjs
@@ -47,7 +47,8 @@ export async function verifyGhidraAddressBoundaries(client, entry, cli) {
const issues = JSON.stringify(error.details.issues);
assert.match(issues, /cannot be represented without truncation/u);
assert.ok(issues.includes(address), issues);
- assert.equal(reply.structuredContent.evidence, undefined);
+ // A rejected request produces no Evidence; errors carry text only.
+ assert.equal(reply.structuredContent, undefined);
}
}
assert.deepEqual(