Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
test(kuna): preserve caller and producer graph failure context
Ysopwnable5b243993872c
diff --git a/tests/boundary/providers/kuna/kunaReferences.test.ts b/tests/boundary/providers/kuna/kunaReferences.test.tsindex e1dbe3d84..febd7fd7e 100644--- a/tests/boundary/providers/kuna/kunaReferences.test.ts+++ b/tests/boundary/providers/kuna/kunaReferences.test.ts@@ -268,16 +268,25 @@ it.each(["not-json", "miscounted", "with-bodies"] as const)(async (graph) => {const { open, kuna } = await session("rea-kuna-bad-graph-", { graph });const client = open();+ const operation = "procedure_callees";try {expect(- await client.execute("procedure_callees", { procedure: "main" }),+ await client.execute(operation, { procedure: "main" }),).toMatchObject({ok: false,- error: { _tag: "AnalysisOutputError", operation: "kuna:call-graph" },+ error: {+ _tag: "AnalysisOutputError",+ operation,+ diagnostics: { producer_operation: "kuna:call-graph" },+ cause: expect.objectContaining({+ _tag: "AnalysisOutputError",+ operation: "kuna:call-graph",+ }),+ },});await setFakeKunaBehavior(kuna, { functions: FUNCTIONS });expect(- (await run(client, "procedure_callees", { procedure: "main" })).result,+ (await run(client, operation, { procedure: "main" })).result,).toEqual(["0x1040"]);expect((await fakeKunaCalls(kuna)).filter(