Skip to content

armgit / rea

Public Imported from GitHub
0

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

style(test): format coverage regression fixtures

morluto1a06c827721e
diff --git a/src/application/binary/AnalysisSnapshotCache.test.ts b/src/application/binary/AnalysisSnapshotCache.test.ts
index a4025bcca..215d1b1dd 100644
--- a/src/application/binary/AnalysisSnapshotCache.test.ts
+++ b/src/application/binary/AnalysisSnapshotCache.test.ts
@@ -516,9 +516,7 @@ const createRelationshipCoverageSnapshot = (
analysisProfile: ANALYSIS_SNAPSHOT_PROFILE,
rawResult: ["0x2000"],
subject: ANALYSIS_SNAPSHOT_TARGET,
- ...(relationshipCoverage === undefined
- ? {}
- : { relationshipCoverage }),
+ ...(relationshipCoverage === undefined ? {} : { relationshipCoverage }),
},
);
cache.record({
@@ -537,9 +535,7 @@ const createRelationshipCoverageSnapshot = (
result: ["0x2000"],
rawResult: ["0x2000"],
analysisProfile: ANALYSIS_SNAPSHOT_PROFILE,
- ...(relationshipCoverage === undefined
- ? {}
- : { relationshipCoverage }),
+ ...(relationshipCoverage === undefined ? {} : { relationshipCoverage }),
},
);
const exported = cache.export(
@@ -603,7 +599,9 @@ describe("relationship coverage snapshot replay", () => {
const { operation, parameters, snapshot } =
createRelationshipCoverageSnapshot();
expect(snapshot.entries[0]?.execution.relationship_coverage).toBeNull();
- expect(snapshot.evidence_bundle.records[0]?.relationship_coverage).toBeNull();
+ expect(
+ snapshot.evidence_bundle.records[0]?.relationship_coverage,
+ ).toBeNull();
const replayCache = new AnalysisSnapshotCache();
expect(replayCache.import(snapshot, undefined, () => ok(0)).ok).toBe(true);
diff --git a/src/domain/functionComparison.test.ts b/src/domain/functionComparison.test.ts
index 28f0aae96..a8f645838 100644
--- a/src/domain/functionComparison.test.ts
+++ b/src/domain/functionComparison.test.ts
@@ -309,9 +309,7 @@ describe("function comparison address-derived call names", () => {
const calling = (base: "0x1000" | "0x2000") =>
functionDossierSchema.parse({
...dossier("return helper();", base),
- callees: [
- procedure(base === "0x1000" ? "0x1010" : "0x2010", name),
- ],
+ callees: [procedure(base === "0x1000" ? "0x1010" : "0x2010", name)],
});
const result = compareFunctions(
observe("6", calling("0x1000")),