feat(evidence): generate verifier completion ledgers

This commit is contained in:
morluto
2026-07-22 13:59:19 +00:00
parent bb2e2432a5
commit f5b3e22e72
1731 changed files with 6150 additions and 4056 deletions
+23 -6
View File
@@ -29,6 +29,7 @@ import {
memberLimits,
nativeBoundaryLimits,
} from "./lib/managed-conformance-config.mjs";
import { createManagedCompletionReport } from "./lib/managed-completion-report.mjs";
const workspace = await mkdtemp(join(tmpdir(), "rea-managed-conformance-"));
const {
@@ -145,13 +146,14 @@ try {
locations: [{ kind: "artifact-path", path: framework.target.path }],
},
);
const nativeFunctionTarget = {
path: "/system/user32.dll",
sha256: "9".repeat(64),
format: "pe",
architecture: "x86",
};
const nativeFunctionEvidence = createEvidence(
{
path: "/system/user32.dll",
sha256: "9".repeat(64),
format: "pe",
architecture: "x86",
},
nativeFunctionTarget,
{
id: "ghidra",
name: "Ghidra",
@@ -437,6 +439,20 @@ try {
const manifestSelfTest = await runManagedAppManifestSelfTest();
const operatorManifest = await runOptionalManagedAppManifest();
const ilspyOracle = await runOptionalIlspyOracle();
const completionReport = createManagedCompletionReport({
modern,
framework,
nativeFunctionTarget,
readyToRun,
obfuscated,
left,
right,
nativeOnly,
malformed,
manifestSelfTest,
operatorManifest,
ilspyOracle,
});
process.stdout.write(
`${JSON.stringify({
@@ -478,6 +494,7 @@ try {
env: "REA_ILSPY_CMD_PATH",
configured: false,
},
completionReport,
})}\n`,
);
} finally {