Skip to content

armgit / rea

Public Imported from GitHub
0

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

fix(mcp): report references a provider truncated in trace_feature (#2348)

Mykola Dementievaf142f656cf4
diff --git a/src/ida/IdaNativeProtocol.test.ts b/src/ida/IdaNativeProtocol.test.ts
index 384da0420..466a09ad5 100644
--- a/src/ida/IdaNativeProtocol.test.ts
+++ b/src/ida/IdaNativeProtocol.test.ts
@@ -279,6 +279,11 @@ describe("native IDA provider observations", () => {
);
if (!result.ok) throw result.error;
expect(result.value.provider.name).toBe("IDA MCP adapter");
+ if (operation === "xrefs")
+ expect(
+ result.value.referencesTruncated,
+ "the native producer's explicit cap flag is forwarded",
+ ).toBe(false);
if (operation === "procedure_assembly")
expect(result.value.result).toBe("0x1000: ret");
if (operation === "procedure_pseudo_code") {