@machinen/runtime 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +23030 -6095
- package/README.md +4 -3
- package/dist/index.d.ts +3785 -35
- package/dist/index.js +24490 -10036
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ interface BootOptions {
|
|
|
207
207
|
*
|
|
208
208
|
* - `'<path>'` — caller-managed file. Used as-is (must exist).
|
|
209
209
|
* Used by `restore()` to attach a tar archive of the bundle's
|
|
210
|
-
*
|
|
210
|
+
* checkpoint images on `/dev/vdb`; the guest's
|
|
211
211
|
* `/sbin/machinen-restore` untars it and runs `criu restore`.
|
|
212
212
|
* The runtime synthesizes `cmd: ['/sbin/machinen-restore']` if
|
|
213
213
|
* no other cmd is given.
|
|
@@ -637,10 +637,10 @@ interface RestoreOptions extends Omit<BootOptions, "snapshot" | "image" | "cmd"
|
|
|
637
637
|
*/
|
|
638
638
|
name?: string;
|
|
639
639
|
/**
|
|
640
|
-
* Opt into CRIU lazy-pages restore — the
|
|
640
|
+
* Opt into CRIU lazy-pages restore — the checkpoint image directory is mounted
|
|
641
641
|
* into the guest read-only via in-VMM virtio-fs and `criu restore
|
|
642
642
|
* --lazy-pages` faults pages on demand (#266). Default false: the runtime
|
|
643
|
-
* packs the
|
|
643
|
+
* packs the checkpoint image into a tar on `/dev/vdb`, the guest's
|
|
644
644
|
* `/sbin/machinen-restore` untars it into tmpfs, and CRIU does an eager
|
|
645
645
|
* load.
|
|
646
646
|
*
|
|
@@ -654,7 +654,7 @@ interface RestoreOptions extends Omit<BootOptions, "snapshot" | "image" | "cmd"
|
|
|
654
654
|
/**
|
|
655
655
|
* Restore a microVM from a snapshot bundle produced by
|
|
656
656
|
* `vm.snapshot({ outDir })`. Reads the bundle's `meta.json` to
|
|
657
|
-
* recover the source name, tars the
|
|
657
|
+
* recover the source name, tars the checkpoint image directory into a
|
|
658
658
|
* temporary archive, then `boot()`s with that archive attached as
|
|
659
659
|
* the scratch block device — the guest's `/sbin/machinen-restore`
|
|
660
660
|
* untars `/dev/vdb` into tmpfs and runs `criu restore` against the
|
|
@@ -785,12 +785,12 @@ interface VmHandle {
|
|
|
785
785
|
* before booting through the normal vmstate restore path.
|
|
786
786
|
*
|
|
787
787
|
* With `MACHINEN_SNAPSHOT_ENGINE=criu`, this keeps the historical
|
|
788
|
-
* process-tree behavior:
|
|
788
|
+
* process-tree behavior: checkpoint image files live under `<outDir>/img/`,
|
|
789
789
|
* `opts.leaveRunning: true` keeps the source alive, and the default
|
|
790
790
|
* destructive CRIU snapshot powers the source off after the dump.
|
|
791
|
-
* With `MACHINEN_SNAPSHOT_ENGINE=portable`, snapshot
|
|
792
|
-
*
|
|
793
|
-
*
|
|
791
|
+
* With `MACHINEN_SNAPSHOT_ENGINE=portable`, snapshot writes a
|
|
792
|
+
* legacy portable machine bundle for the removed ping socket route
|
|
793
|
+
* workload subset and refuses other/unsafe states fail-closed.
|
|
794
794
|
*
|
|
795
795
|
* `mount-lower.sqfs` and `mount-upper.img` are reflinked from the
|
|
796
796
|
* runtime's per-VM materialization (#272), so on APFS / btrfs / xfs
|
|
@@ -958,7 +958,7 @@ interface SnapshotResult {
|
|
|
958
958
|
/** Absolute path to the snapshot bundle directory. */
|
|
959
959
|
snapDir: string;
|
|
960
960
|
/**
|
|
961
|
-
* Absolute path to the
|
|
961
|
+
* Absolute path to the checkpoint image directory inside the bundle.
|
|
962
962
|
* Set by the criu engine only; undefined for vmstate bundles.
|
|
963
963
|
*/
|
|
964
964
|
imgDir?: string;
|
|
@@ -1151,10 +1151,10 @@ interface ForkOptions extends Omit<RestoreOptions, "snapDir"> {
|
|
|
1151
1151
|
*/
|
|
1152
1152
|
onLog?: OnLog;
|
|
1153
1153
|
/**
|
|
1154
|
-
* Opt into CRIU lazy-pages restore for the fork — the
|
|
1154
|
+
* Opt into CRIU lazy-pages restore for the fork — the checkpoint image directory
|
|
1155
1155
|
* is mounted into the guest read-only via in-VMM virtio-fs and `criu restore
|
|
1156
1156
|
* --lazy-pages` faults pages on demand. Default false: the runtime packs the
|
|
1157
|
-
*
|
|
1157
|
+
* checkpoint image into a tar on `/dev/vdb` and the guest does an eager load.
|
|
1158
1158
|
*
|
|
1159
1159
|
* Lazy keeps fork RSS proportional to the pages the sibling actually
|
|
1160
1160
|
* touches, not the full snapshot size. Worth setting when the source dumped
|
|
@@ -1772,6 +1772,136 @@ declare function validatePid(pid: number, expected: {
|
|
|
1772
1772
|
startedAt?: number;
|
|
1773
1773
|
}): PidStatus;
|
|
1774
1774
|
|
|
1775
|
+
declare const LEVEL5_RUNTIME_ADAPTER_SUBSTRATE_FORMAT_VERSION: 1;
|
|
1776
|
+
type Level5EvidenceStatus = "proof" | "support" | "refusal";
|
|
1777
|
+
type Level5ProductSupport = "supported" | "not-yet-supported" | "unsupported";
|
|
1778
|
+
type Level5ImplementationLevel = "not-implemented" | "level-0-fail-closed-discovery" | "level-5-cross-arch-process-continuation-substrate" | "level-5-cross-arch-process-continuation";
|
|
1779
|
+
type Level5GraduationTargetLevel = "level-5-cross-arch-process-continuation";
|
|
1780
|
+
type Level5AdapterOperation = "snapshot" | "restore";
|
|
1781
|
+
type Level5RuntimeFamily = "node" | "go" | "jvm" | "python" | "ruby" | "native" | string;
|
|
1782
|
+
declare const level5SubstrateRefusalCodes: readonly ["level5-runtime-family-unsupported", "level5-runtime-profile-unsupported", "level5-target-native-runtime-missing", "level5-source-target-arch-unsupported", "level5-source-isa-emulation-forbidden", "level5-sidecar-output-forbidden", "level5-metadata-only-success-forbidden", "level5-active-syscall-unsupported", "level5-active-tcp-stream-unsupported", "level5-thread-state-unsupported", "level5-kernel-resource-unsupported", "level5-runtime-heap-stack-unsupported"];
|
|
1783
|
+
type Level5SubstrateRefusalCode = (typeof level5SubstrateRefusalCodes)[number];
|
|
1784
|
+
interface Level5StatusFields {
|
|
1785
|
+
evidenceStatus: Level5EvidenceStatus;
|
|
1786
|
+
productSupport: Level5ProductSupport;
|
|
1787
|
+
implementationLevel: Level5ImplementationLevel;
|
|
1788
|
+
graduationTargetLevel: Level5GraduationTargetLevel;
|
|
1789
|
+
migrationCompleted: boolean;
|
|
1790
|
+
}
|
|
1791
|
+
interface Level5ArchitectureMetadata {
|
|
1792
|
+
sourceArch?: "arm64" | "amd64" | string;
|
|
1793
|
+
targetArch?: "arm64" | "amd64" | string;
|
|
1794
|
+
}
|
|
1795
|
+
interface Level5ArtifactEnvelope extends Level5StatusFields, Level5ArchitectureMetadata {
|
|
1796
|
+
kind: string;
|
|
1797
|
+
formatVersion: typeof LEVEL5_RUNTIME_ADAPTER_SUBSTRATE_FORMAT_VERSION | number;
|
|
1798
|
+
adapterId: string;
|
|
1799
|
+
runtimeFamily: Level5RuntimeFamily;
|
|
1800
|
+
profile: string;
|
|
1801
|
+
}
|
|
1802
|
+
interface Level5AdapterDetectInput {
|
|
1803
|
+
operation: Level5AdapterOperation;
|
|
1804
|
+
snapDir?: string;
|
|
1805
|
+
bundleFiles?: string[];
|
|
1806
|
+
runtimeFamily?: Level5RuntimeFamily;
|
|
1807
|
+
profile?: string;
|
|
1808
|
+
artifactKind?: string;
|
|
1809
|
+
}
|
|
1810
|
+
interface Level5AdapterDetection {
|
|
1811
|
+
matched: boolean;
|
|
1812
|
+
adapterId: string;
|
|
1813
|
+
runtimeFamily: Level5RuntimeFamily;
|
|
1814
|
+
profile?: string;
|
|
1815
|
+
reason: string;
|
|
1816
|
+
}
|
|
1817
|
+
interface Level5QuiesceResult {
|
|
1818
|
+
state: "quiesced" | "refused";
|
|
1819
|
+
refusals: Level5RefusalEnvelope[];
|
|
1820
|
+
}
|
|
1821
|
+
interface Level5ValidationResult {
|
|
1822
|
+
state: "passed" | "refused";
|
|
1823
|
+
refusals: Level5RefusalEnvelope[];
|
|
1824
|
+
}
|
|
1825
|
+
interface Level5RestorePlan extends Level5ArtifactEnvelope {
|
|
1826
|
+
kind: "machinen.level5-restore-plan";
|
|
1827
|
+
planState: "planned" | "refused";
|
|
1828
|
+
steps: string[];
|
|
1829
|
+
refusals: Level5RefusalEnvelope[];
|
|
1830
|
+
}
|
|
1831
|
+
interface Level5VerifierEvidence extends Level5StatusFields {
|
|
1832
|
+
kind: "machinen.level5-target-verifier-evidence" | string;
|
|
1833
|
+
status: "passed" | "failed" | "not-run";
|
|
1834
|
+
targetNativeExecution: boolean;
|
|
1835
|
+
sourceIsaEmulationUsed: boolean;
|
|
1836
|
+
sidecarOutputUsed: boolean;
|
|
1837
|
+
metadataOnlySuccess: boolean;
|
|
1838
|
+
message: string;
|
|
1839
|
+
}
|
|
1840
|
+
interface Level5RefusalEnvelope extends Level5StatusFields {
|
|
1841
|
+
kind: "machinen.level5-refusal";
|
|
1842
|
+
code: Level5SubstrateRefusalCode | string;
|
|
1843
|
+
message: string;
|
|
1844
|
+
adapterId?: string;
|
|
1845
|
+
runtimeFamily?: Level5RuntimeFamily;
|
|
1846
|
+
profile?: string;
|
|
1847
|
+
stable: true;
|
|
1848
|
+
}
|
|
1849
|
+
interface Level5RuntimeAdapter<SnapshotContext = unknown, CaptureArtifact = unknown, RestoreContext = unknown, Plan extends Level5RestorePlan = Level5RestorePlan, RestoreResult = unknown, VerifyEvidence extends Level5VerifierEvidence = Level5VerifierEvidence> {
|
|
1850
|
+
id: string;
|
|
1851
|
+
runtimeFamily: Level5RuntimeFamily;
|
|
1852
|
+
supportedProfiles: readonly string[];
|
|
1853
|
+
graduationTargetLevel: Level5GraduationTargetLevel;
|
|
1854
|
+
detect(input: Level5AdapterDetectInput): Level5AdapterDetection;
|
|
1855
|
+
quiesce(input: SnapshotContext): Level5QuiesceResult | Promise<Level5QuiesceResult>;
|
|
1856
|
+
capture(input: SnapshotContext): CaptureArtifact | Promise<CaptureArtifact>;
|
|
1857
|
+
validate(input: CaptureArtifact | RestoreContext): Level5ValidationResult | Promise<Level5ValidationResult>;
|
|
1858
|
+
planRestore(input: RestoreContext): Plan | Promise<Plan>;
|
|
1859
|
+
restoreTargetNative(input: Plan): RestoreResult | Promise<RestoreResult>;
|
|
1860
|
+
verify(input: RestoreResult): VerifyEvidence | Promise<VerifyEvidence>;
|
|
1861
|
+
refuse(input: {
|
|
1862
|
+
code: Level5SubstrateRefusalCode | string;
|
|
1863
|
+
message: string;
|
|
1864
|
+
profile?: string;
|
|
1865
|
+
}): Level5RefusalEnvelope;
|
|
1866
|
+
}
|
|
1867
|
+
interface Level5RuntimeAdapterMatch<Adapter extends Level5RuntimeAdapter = Level5RuntimeAdapter> {
|
|
1868
|
+
adapter: Adapter;
|
|
1869
|
+
detection: Level5AdapterDetection;
|
|
1870
|
+
}
|
|
1871
|
+
interface Level5RuntimeAdapterRegistry<Adapter extends Level5RuntimeAdapter = Level5RuntimeAdapter> {
|
|
1872
|
+
adapters: readonly Adapter[];
|
|
1873
|
+
detect(input: Level5AdapterDetectInput): Level5RuntimeAdapterMatch<Adapter> | undefined;
|
|
1874
|
+
refuseUnsupported(input: {
|
|
1875
|
+
code?: Level5SubstrateRefusalCode;
|
|
1876
|
+
message: string;
|
|
1877
|
+
runtimeFamily?: Level5RuntimeFamily;
|
|
1878
|
+
profile?: string;
|
|
1879
|
+
}): Level5RefusalEnvelope;
|
|
1880
|
+
summary(): Level5RuntimeAdapterRegistrySummary;
|
|
1881
|
+
}
|
|
1882
|
+
interface Level5RuntimeAdapterRegistrySummary extends Level5StatusFields {
|
|
1883
|
+
kind: "machinen.level5-runtime-adapter-registry-summary";
|
|
1884
|
+
formatVersion: typeof LEVEL5_RUNTIME_ADAPTER_SUBSTRATE_FORMAT_VERSION;
|
|
1885
|
+
adapterCount: number;
|
|
1886
|
+
adapters: Array<{
|
|
1887
|
+
id: string;
|
|
1888
|
+
runtimeFamily: Level5RuntimeFamily;
|
|
1889
|
+
supportedProfiles: readonly string[];
|
|
1890
|
+
graduationTargetLevel: Level5GraduationTargetLevel;
|
|
1891
|
+
}>;
|
|
1892
|
+
stableRefusalCodes: readonly Level5SubstrateRefusalCode[];
|
|
1893
|
+
}
|
|
1894
|
+
declare function createLevel5RuntimeAdapterRegistry<Adapter extends Level5RuntimeAdapter>(adapters: readonly Adapter[]): Level5RuntimeAdapterRegistry<Adapter>;
|
|
1895
|
+
declare function buildLevel5RefusalEnvelope(input: {
|
|
1896
|
+
code: Level5SubstrateRefusalCode | string;
|
|
1897
|
+
message: string;
|
|
1898
|
+
adapterId?: string;
|
|
1899
|
+
runtimeFamily?: Level5RuntimeFamily;
|
|
1900
|
+
profile?: string;
|
|
1901
|
+
}): Level5RefusalEnvelope;
|
|
1902
|
+
declare function buildLevel5ProofOnlyStatus(): Level5StatusFields;
|
|
1903
|
+
declare function buildLevel5RuntimeAdapterRegistrySummary(adapters: readonly Pick<Level5RuntimeAdapter, "id" | "runtimeFamily" | "supportedProfiles" | "graduationTargetLevel">[]): Level5RuntimeAdapterRegistrySummary;
|
|
1904
|
+
|
|
1775
1905
|
/** Per-entry record of what `runGc` did (or would do, with dryRun). */
|
|
1776
1906
|
interface GcResult {
|
|
1777
1907
|
pid: number;
|
|
@@ -2106,6 +2236,7 @@ declare const ErrorCode: {
|
|
|
2106
2236
|
readonly BOOT_MEMORY_INVALID: "BOOT_MEMORY_INVALID";
|
|
2107
2237
|
readonly BOOT_NESTED_VIRT_UNSUPPORTED: "BOOT_NESTED_VIRT_UNSUPPORTED";
|
|
2108
2238
|
readonly BOOT_VMSTATE_UNSUPPORTED: "BOOT_VMSTATE_UNSUPPORTED";
|
|
2239
|
+
readonly BOOT_VMSTATE_CROSS_ISA_UNSUPPORTED: "BOOT_VMSTATE_CROSS_ISA_UNSUPPORTED";
|
|
2109
2240
|
readonly BOOT_VMSTATE_RESEED_FAILED: "BOOT_VMSTATE_RESEED_FAILED";
|
|
2110
2241
|
readonly BOOT_PORTABLE_UNSUPPORTED: "BOOT_PORTABLE_UNSUPPORTED";
|
|
2111
2242
|
readonly FORK_MEMORY_BACKPRESSURE: "FORK_MEMORY_BACKPRESSURE";
|
|
@@ -2119,6 +2250,7 @@ declare const ErrorCode: {
|
|
|
2119
2250
|
readonly SNAPSHOT_DUMP_FAILED: "SNAPSHOT_DUMP_FAILED";
|
|
2120
2251
|
readonly SNAPSHOT_TIMEOUT: "SNAPSHOT_TIMEOUT";
|
|
2121
2252
|
readonly SNAPSHOT_PORTABLE_UNSUPPORTED: "SNAPSHOT_PORTABLE_UNSUPPORTED";
|
|
2253
|
+
readonly SNAPSHOT_PORTABLE_REFUSED: "SNAPSHOT_PORTABLE_REFUSED";
|
|
2122
2254
|
readonly PROVISION_BASE_NOT_FOUND: "PROVISION_BASE_NOT_FOUND";
|
|
2123
2255
|
readonly PROVISION_KERNEL_NOT_FOUND: "PROVISION_KERNEL_NOT_FOUND";
|
|
2124
2256
|
readonly PROVISION_DTB_NOT_FOUND: "PROVISION_DTB_NOT_FOUND";
|
|
@@ -2216,6 +2348,1618 @@ declare function isMachinenError(err: unknown, code?: ErrorCode): err is Machine
|
|
|
2216
2348
|
*/
|
|
2217
2349
|
declare function formatMachinenError(err: MachinenError): string;
|
|
2218
2350
|
|
|
2351
|
+
declare const NODE_LEVEL5_TARGET_SIDE_PROOF_FORMAT_VERSION: 1;
|
|
2352
|
+
interface NodeLevel5TargetSideProofInput {
|
|
2353
|
+
outPath?: string;
|
|
2354
|
+
token?: string;
|
|
2355
|
+
keepWorkspace?: boolean;
|
|
2356
|
+
}
|
|
2357
|
+
interface NodeLevel5TargetSideProof {
|
|
2358
|
+
kind: "machinen.node-level5-target-side-continuation-proof";
|
|
2359
|
+
formatVersion: typeof NODE_LEVEL5_TARGET_SIDE_PROOF_FORMAT_VERSION;
|
|
2360
|
+
sourceGoal: "009";
|
|
2361
|
+
evidenceStatus: "proof";
|
|
2362
|
+
productSupport: "not-yet-supported";
|
|
2363
|
+
implementationLevel: "not-implemented";
|
|
2364
|
+
graduationTargetLevel: "level-5-cross-arch-process-continuation";
|
|
2365
|
+
fixture: {
|
|
2366
|
+
kind: "small-node-http-app";
|
|
2367
|
+
appPath: string;
|
|
2368
|
+
appSha256: string;
|
|
2369
|
+
};
|
|
2370
|
+
capture: {
|
|
2371
|
+
selectedProofState: {
|
|
2372
|
+
continuationToken: string;
|
|
2373
|
+
route: "/continuation";
|
|
2374
|
+
expectedRuntime: "node";
|
|
2375
|
+
};
|
|
2376
|
+
};
|
|
2377
|
+
restoreHarness: {
|
|
2378
|
+
kind: "target-side-node-http-proof-harness";
|
|
2379
|
+
targetNativeExecution: true;
|
|
2380
|
+
verifierRequestPath: "/continuation";
|
|
2381
|
+
};
|
|
2382
|
+
targetOutput: {
|
|
2383
|
+
kind: "machinen.node-level5-target-output";
|
|
2384
|
+
continuationToken: string;
|
|
2385
|
+
runtime: "node";
|
|
2386
|
+
processArch: string;
|
|
2387
|
+
execPath: string;
|
|
2388
|
+
pid: number;
|
|
2389
|
+
targetNativeExecution: true;
|
|
2390
|
+
};
|
|
2391
|
+
assertions: {
|
|
2392
|
+
sourceIsaEmulationUsed: false;
|
|
2393
|
+
sidecarOutputUsed: false;
|
|
2394
|
+
metadataOnlySuccess: false;
|
|
2395
|
+
targetVerifierObservedActualNodeContinuation: true;
|
|
2396
|
+
};
|
|
2397
|
+
summary: {
|
|
2398
|
+
state: "completed";
|
|
2399
|
+
migrationCompleted: false;
|
|
2400
|
+
proofOnly: true;
|
|
2401
|
+
targetOutputVerified: true;
|
|
2402
|
+
};
|
|
2403
|
+
}
|
|
2404
|
+
declare function runNodeLevel5TargetSideProof(input?: NodeLevel5TargetSideProofInput): Promise<NodeLevel5TargetSideProof>;
|
|
2405
|
+
|
|
2406
|
+
declare const NODE_LEVEL5_HTTP_PROFILE_FORMAT_VERSION: 1;
|
|
2407
|
+
declare const NODE_LEVEL5_HTTP_PROFILE_NAME: "node-v8-libuv-single-thread-http-v1";
|
|
2408
|
+
declare const nodeLevel5HttpProfileRefusalCodes: readonly ["node-level5-http-arbitrary-v8-heap-native-stack-unsupported", "node-level5-http-native-addon-unsupported", "node-level5-http-worker-thread-unsupported", "node-level5-http-inspector-unsupported", "node-level5-http-active-request-unsupported", "node-level5-http-active-tcp-stream-unsupported", "node-level5-http-active-syscall-unsupported", "node-level5-http-unsupported-timer-async-handle", "node-level5-http-unsupported-module-runtime-state", "node-level5-http-target-native-node-missing", "node-level5-http-source-isa-emulation-forbidden", "node-level5-http-sidecar-output-forbidden", "node-level5-http-metadata-only-success-forbidden"];
|
|
2409
|
+
type NodeLevel5HttpProfileRefusalCode = (typeof nodeLevel5HttpProfileRefusalCodes)[number];
|
|
2410
|
+
interface NodeLevel5HttpProfileRefusal {
|
|
2411
|
+
code: NodeLevel5HttpProfileRefusalCode;
|
|
2412
|
+
unsafeNeighbor: "arbitrary-v8-heap-native-stack" | "native-addon" | "worker-thread" | "inspector-debug" | "active-request" | "active-tcp-stream" | "active-syscall" | "unsupported-timer-async-handle" | "unsupported-module-runtime-state" | "missing-target-native-node" | "source-isa-emulation" | "sidecar-output" | "metadata-only-success";
|
|
2413
|
+
message: string;
|
|
2414
|
+
evidenceStatus: "refusal";
|
|
2415
|
+
productSupport: "unsupported";
|
|
2416
|
+
implementationLevel: "level-0-fail-closed-discovery";
|
|
2417
|
+
graduationTargetLevel: "level-5-cross-arch-process-continuation";
|
|
2418
|
+
migrationCompleted: false;
|
|
2419
|
+
}
|
|
2420
|
+
interface NodeLevel5HttpProfileSelectedState {
|
|
2421
|
+
kind: "node-http-counter-selected-state-v1";
|
|
2422
|
+
route: "/";
|
|
2423
|
+
captureMethod: "http-root-json-next-count";
|
|
2424
|
+
observedNextCount: number;
|
|
2425
|
+
restoredInitialCount: number;
|
|
2426
|
+
expectedFirstTargetBody: string;
|
|
2427
|
+
}
|
|
2428
|
+
interface NodeLevel5HttpProfileCaptureInput {
|
|
2429
|
+
sourceArch: "arm64" | "amd64" | string;
|
|
2430
|
+
nodeVersion: string;
|
|
2431
|
+
sourceCwd: string;
|
|
2432
|
+
argv: string[];
|
|
2433
|
+
guestPort: number;
|
|
2434
|
+
verifier: {
|
|
2435
|
+
kind: string;
|
|
2436
|
+
path: string;
|
|
2437
|
+
sha256: string;
|
|
2438
|
+
bytes: number;
|
|
2439
|
+
};
|
|
2440
|
+
selectedState?: NodeLevel5HttpProfileSelectedState;
|
|
2441
|
+
eventLoopResources?: unknown;
|
|
2442
|
+
kernelResources?: unknown;
|
|
2443
|
+
}
|
|
2444
|
+
interface NodeLevel5HttpProfileCapture {
|
|
2445
|
+
kind: "machinen.node-level5-runtime-profile";
|
|
2446
|
+
formatVersion: typeof NODE_LEVEL5_HTTP_PROFILE_FORMAT_VERSION;
|
|
2447
|
+
sourceGoal: "021" | "022";
|
|
2448
|
+
evidenceStatus: "proof";
|
|
2449
|
+
productSupport: "not-yet-supported";
|
|
2450
|
+
implementationLevel: "not-implemented";
|
|
2451
|
+
graduationTargetLevel: "level-5-cross-arch-process-continuation";
|
|
2452
|
+
migrationCompleted: false;
|
|
2453
|
+
runtimeFamily: "node";
|
|
2454
|
+
profile: typeof NODE_LEVEL5_HTTP_PROFILE_NAME;
|
|
2455
|
+
sourceArch: string;
|
|
2456
|
+
runtimeIdentity: {
|
|
2457
|
+
executable: "node";
|
|
2458
|
+
version: string;
|
|
2459
|
+
targetNativeRuntimeRequired: true;
|
|
2460
|
+
};
|
|
2461
|
+
processModel: {
|
|
2462
|
+
processCount: 1;
|
|
2463
|
+
threadModel: "single-thread-required";
|
|
2464
|
+
activeSyscallsAllowed: false;
|
|
2465
|
+
activeRequestsAllowed: false;
|
|
2466
|
+
activeTcpStreamsAllowed: false;
|
|
2467
|
+
};
|
|
2468
|
+
moduleIdentity: {
|
|
2469
|
+
sourceCwd: string;
|
|
2470
|
+
argv: string[];
|
|
2471
|
+
entrypoint: string | null;
|
|
2472
|
+
unsupportedModuleStateAllowed: false;
|
|
2473
|
+
};
|
|
2474
|
+
selectedV8State: {
|
|
2475
|
+
stateModel: "bounded-profile-roots-only";
|
|
2476
|
+
arbitraryHeapContinuationAllowed: false;
|
|
2477
|
+
arbitraryNativeStackContinuationAllowed: false;
|
|
2478
|
+
};
|
|
2479
|
+
libuv: {
|
|
2480
|
+
handleInventory: unknown | null;
|
|
2481
|
+
timersAsyncHandlesPolicy: "refuse-unless-modeled";
|
|
2482
|
+
};
|
|
2483
|
+
kernelResources: {
|
|
2484
|
+
inventory: unknown | null;
|
|
2485
|
+
httpListeners: Array<{
|
|
2486
|
+
protocol: "tcp";
|
|
2487
|
+
bindAddress: "127.0.0.1";
|
|
2488
|
+
port: number;
|
|
2489
|
+
level4Profile: "tcp-listener-v1-loopback-empty-accept-queue";
|
|
2490
|
+
}>;
|
|
2491
|
+
};
|
|
2492
|
+
verifier: NodeLevel5HttpProfileCaptureInput["verifier"];
|
|
2493
|
+
selectedState?: NodeLevel5HttpProfileSelectedState;
|
|
2494
|
+
gates: {
|
|
2495
|
+
sourceIsaEmulationAllowed: false;
|
|
2496
|
+
sidecarOutputAllowed: false;
|
|
2497
|
+
metadataOnlySuccessAllowed: false;
|
|
2498
|
+
targetNativeNodeRequired: true;
|
|
2499
|
+
};
|
|
2500
|
+
refusals: NodeLevel5HttpProfileRefusal[];
|
|
2501
|
+
summary: {
|
|
2502
|
+
profileReady: true;
|
|
2503
|
+
targetNativeContinuationRequired: true;
|
|
2504
|
+
productSupportBlockedUntilActualRuntimeStateContinuation: true;
|
|
2505
|
+
selectedStateReconstructionHarness: boolean;
|
|
2506
|
+
notProperLevel5Reason: "app-specific-selected-state-descriptor" | "no-selected-state";
|
|
2507
|
+
};
|
|
2508
|
+
}
|
|
2509
|
+
declare function buildNodeLevel5HttpProfileCapture(input: NodeLevel5HttpProfileCaptureInput): NodeLevel5HttpProfileCapture;
|
|
2510
|
+
declare function isSupportedNodeLevel5HttpSelectedState(selectedState: NodeLevel5HttpProfileSelectedState | undefined): selectedState is NodeLevel5HttpProfileSelectedState;
|
|
2511
|
+
declare function nodeLevel5HttpProfileRefusalRows(): NodeLevel5HttpProfileRefusal[];
|
|
2512
|
+
|
|
2513
|
+
declare const NODE_PROPER_LEVEL5_SOURCE_INSPECTION_KIND: "machinen.node-proper-level5-source-inspection";
|
|
2514
|
+
type NodeProperLevel5MapKind = "executable-file" | "shared-object" | "heap" | "stack" | "anonymous-rw" | "anonymous-executable" | "special" | "other";
|
|
2515
|
+
interface NodeProperLevel5ProcMapEntry {
|
|
2516
|
+
start: bigint;
|
|
2517
|
+
end: bigint;
|
|
2518
|
+
permissions: string;
|
|
2519
|
+
offset: bigint;
|
|
2520
|
+
device: string;
|
|
2521
|
+
inode: string;
|
|
2522
|
+
path?: string;
|
|
2523
|
+
kind: NodeProperLevel5MapKind;
|
|
2524
|
+
}
|
|
2525
|
+
interface NodeProperLevel5SourceInspectionInput {
|
|
2526
|
+
procMaps: string;
|
|
2527
|
+
cmdline?: string[];
|
|
2528
|
+
fdTargets?: string[];
|
|
2529
|
+
}
|
|
2530
|
+
interface NodeProperLevel5SourceInspectionSummary {
|
|
2531
|
+
kind: typeof NODE_PROPER_LEVEL5_SOURCE_INSPECTION_KIND;
|
|
2532
|
+
goal: "023";
|
|
2533
|
+
productSupport: "not-yet-supported";
|
|
2534
|
+
implementationLevel: "first-proof-only";
|
|
2535
|
+
graduationTargetLevel: "level-5-cross-arch-process-continuation";
|
|
2536
|
+
migrationCompleted: true;
|
|
2537
|
+
runtimeLevelProfilesUsed: false;
|
|
2538
|
+
checkpointRestoreSubstrateUsed: false;
|
|
2539
|
+
appSpecificSelectedStateUsed: false;
|
|
2540
|
+
maps: {
|
|
2541
|
+
total: number;
|
|
2542
|
+
executableFiles: number;
|
|
2543
|
+
sharedObjects: number;
|
|
2544
|
+
heaps: number;
|
|
2545
|
+
stacks: number;
|
|
2546
|
+
anonymousRw: number;
|
|
2547
|
+
anonymousExecutable: number;
|
|
2548
|
+
};
|
|
2549
|
+
completedRecoveries: string[];
|
|
2550
|
+
proofCommand: "pnpm run smoke-node-proper-level5-proof";
|
|
2551
|
+
firstProofTarget: {
|
|
2552
|
+
singleThreadNode: true;
|
|
2553
|
+
nativeAddonsAllowed: false;
|
|
2554
|
+
workersAllowed: false;
|
|
2555
|
+
httpListeners: 1;
|
|
2556
|
+
stateSource: "reconstructed-runtime-native-state";
|
|
2557
|
+
targetResponse: {
|
|
2558
|
+
count: 3;
|
|
2559
|
+
};
|
|
2560
|
+
};
|
|
2561
|
+
}
|
|
2562
|
+
declare function parseNodeProperLevel5ProcMaps(text: string): NodeProperLevel5ProcMapEntry[];
|
|
2563
|
+
declare function summarizeNodeProperLevel5SourceInspection(input: NodeProperLevel5SourceInspectionInput): NodeProperLevel5SourceInspectionSummary;
|
|
2564
|
+
|
|
2565
|
+
declare const NODE_PROPER_LEVEL5_V8_CLOSURE_RECOVERY_KIND: "machinen.node-proper-level5-v8-closure-recovery";
|
|
2566
|
+
type NodeProperLevel5V8ClosureRecoveryRefusalCode = "node-proper-level5-v8-heap-snapshot-malformed" | "node-proper-level5-v8-counter-closure-context-missing" | "node-proper-level5-v8-counter-cell-primitive-smi-not-addressable" | "node-proper-level5-v8-counter-cell-ambiguous";
|
|
2567
|
+
interface NodeProperLevel5V8ClosureRecoveryRefusal {
|
|
2568
|
+
code: NodeProperLevel5V8ClosureRecoveryRefusalCode;
|
|
2569
|
+
message: string;
|
|
2570
|
+
}
|
|
2571
|
+
interface NodeProperLevel5V8ClosureCounterCellCandidate {
|
|
2572
|
+
closureNode: number;
|
|
2573
|
+
closureName: string;
|
|
2574
|
+
contextNode: number;
|
|
2575
|
+
variableName: string;
|
|
2576
|
+
cellNode: number;
|
|
2577
|
+
cellType: string;
|
|
2578
|
+
cellName: string;
|
|
2579
|
+
evidence: string[];
|
|
2580
|
+
}
|
|
2581
|
+
interface NodeProperLevel5RawMemoryFragment {
|
|
2582
|
+
bytes: Uint8Array;
|
|
2583
|
+
startAddress: bigint;
|
|
2584
|
+
bytesPath?: string;
|
|
2585
|
+
}
|
|
2586
|
+
interface NodeProperLevel5RawV8ContextSmiRecoveryResult {
|
|
2587
|
+
accepted: boolean;
|
|
2588
|
+
value?: number;
|
|
2589
|
+
anchorTaggedAddress?: string;
|
|
2590
|
+
anchorBytesPath?: string;
|
|
2591
|
+
contextBytesPath?: string;
|
|
2592
|
+
contextSlotOffset?: number;
|
|
2593
|
+
smiEncoding?: "v8-pointer-compressed-smi32" | "v8-tagged-smi64";
|
|
2594
|
+
refusals: NodeProperLevel5V8ClosureRecoveryRefusal[];
|
|
2595
|
+
}
|
|
2596
|
+
interface NodeProperLevel5V8ClosureRecoveryResult {
|
|
2597
|
+
kind: typeof NODE_PROPER_LEVEL5_V8_CLOSURE_RECOVERY_KIND;
|
|
2598
|
+
accepted: boolean;
|
|
2599
|
+
variableName: string;
|
|
2600
|
+
candidates: NodeProperLevel5V8ClosureCounterCellCandidate[];
|
|
2601
|
+
refusals: NodeProperLevel5V8ClosureRecoveryRefusal[];
|
|
2602
|
+
}
|
|
2603
|
+
declare function recoverNodeProperLevel5RawV8ContextSmiCounter(fragments: NodeProperLevel5RawMemoryFragment[], options: {
|
|
2604
|
+
anchor: string;
|
|
2605
|
+
expectedValue?: number;
|
|
2606
|
+
searchRadiusBytes?: number;
|
|
2607
|
+
}): NodeProperLevel5RawV8ContextSmiRecoveryResult;
|
|
2608
|
+
declare function recoverNodeProperLevel5V8ClosureCounterCell(heapSnapshot: unknown, options?: {
|
|
2609
|
+
variableName?: string;
|
|
2610
|
+
closureNameIncludes?: string;
|
|
2611
|
+
}): NodeProperLevel5V8ClosureRecoveryResult;
|
|
2612
|
+
|
|
2613
|
+
declare const NODE_PROPER_LEVEL5_LIBUV_TIMER_RECOVERY_KIND: "machinen.node-proper-level5-libuv-timer-recovery";
|
|
2614
|
+
type NodeProperLevel5LibuvTimerRecoveryRefusalCode = "node-proper-level5-libuv-timer-missing" | "node-proper-level5-libuv-timer-ambiguous" | "node-proper-level5-libuv-timer-callback-active-unsupported";
|
|
2615
|
+
interface NodeProperLevel5LibuvTimerRecoveryRefusal {
|
|
2616
|
+
code: NodeProperLevel5LibuvTimerRecoveryRefusalCode;
|
|
2617
|
+
message: string;
|
|
2618
|
+
}
|
|
2619
|
+
interface NodeProperLevel5LibuvTimerMemoryFragment {
|
|
2620
|
+
bytes: Uint8Array;
|
|
2621
|
+
bytesPath?: string;
|
|
2622
|
+
startAddress?: bigint;
|
|
2623
|
+
}
|
|
2624
|
+
interface NodeProperLevel5LibuvTimerCandidate {
|
|
2625
|
+
anchor: string;
|
|
2626
|
+
bytesPath?: string;
|
|
2627
|
+
offset: number;
|
|
2628
|
+
evidence: string[];
|
|
2629
|
+
}
|
|
2630
|
+
interface NodeProperLevel5LibuvTimerRecoveryResult {
|
|
2631
|
+
kind: typeof NODE_PROPER_LEVEL5_LIBUV_TIMER_RECOVERY_KIND;
|
|
2632
|
+
accepted: boolean;
|
|
2633
|
+
timerCount: number;
|
|
2634
|
+
candidates: NodeProperLevel5LibuvTimerCandidate[];
|
|
2635
|
+
refusals: NodeProperLevel5LibuvTimerRecoveryRefusal[];
|
|
2636
|
+
}
|
|
2637
|
+
declare function recoverNodeProperLevel5LibuvTimerEvidence(fragments: NodeProperLevel5LibuvTimerMemoryFragment[], options: {
|
|
2638
|
+
anchor: string;
|
|
2639
|
+
callbackName?: string;
|
|
2640
|
+
activeCallbackDetected?: boolean;
|
|
2641
|
+
}): NodeProperLevel5LibuvTimerRecoveryResult;
|
|
2642
|
+
|
|
2643
|
+
declare const NODE_PROPER_LEVEL5_V8_OBJECT_RECOVERY_KIND: "machinen.node-proper-level5-v8-object-recovery";
|
|
2644
|
+
type NodeProperLevel5V8ObjectRecoveryRefusalCode = "node-proper-level5-v8-object-state-missing" | "node-proper-level5-v8-object-state-ambiguous" | "node-proper-level5-v8-object-hidden-class-unsupported" | "node-proper-level5-v8-object-sparse-array-unsupported" | "node-proper-level5-v8-object-accessor-unsupported" | "node-proper-level5-v8-object-proxy-unsupported" | "node-proper-level5-v8-object-symbol-key-unsupported" | "node-proper-level5-v8-object-external-string-unsupported" | "node-proper-level5-v8-object-elements-kind-unsupported";
|
|
2645
|
+
interface NodeProperLevel5V8ObjectRecoveryRefusal {
|
|
2646
|
+
code: NodeProperLevel5V8ObjectRecoveryRefusalCode;
|
|
2647
|
+
message: string;
|
|
2648
|
+
}
|
|
2649
|
+
interface NodeProperLevel5V8ObjectMemoryFragment {
|
|
2650
|
+
bytes: Uint8Array;
|
|
2651
|
+
bytesPath?: string;
|
|
2652
|
+
}
|
|
2653
|
+
interface NodeProperLevel5V8ObjectCandidate {
|
|
2654
|
+
anchor: string;
|
|
2655
|
+
bytesPath?: string;
|
|
2656
|
+
offset: number;
|
|
2657
|
+
total: number;
|
|
2658
|
+
history: number[];
|
|
2659
|
+
evidence: string[];
|
|
2660
|
+
}
|
|
2661
|
+
interface NodeProperLevel5V8ObjectRecoveryResult {
|
|
2662
|
+
kind: typeof NODE_PROPER_LEVEL5_V8_OBJECT_RECOVERY_KIND;
|
|
2663
|
+
accepted: boolean;
|
|
2664
|
+
candidates: NodeProperLevel5V8ObjectCandidate[];
|
|
2665
|
+
refusals: NodeProperLevel5V8ObjectRecoveryRefusal[];
|
|
2666
|
+
}
|
|
2667
|
+
interface NodeProperLevel5V8ObjectRecoveryOptions {
|
|
2668
|
+
anchor: string;
|
|
2669
|
+
expectedTotal: number;
|
|
2670
|
+
expectedHistory: number[];
|
|
2671
|
+
unsupportedShape?: NodeProperLevel5V8ObjectRecoveryRefusalCode;
|
|
2672
|
+
}
|
|
2673
|
+
declare function recoverNodeProperLevel5V8ObjectStateEvidence(fragments: NodeProperLevel5V8ObjectMemoryFragment[], options: NodeProperLevel5V8ObjectRecoveryOptions): NodeProperLevel5V8ObjectRecoveryResult;
|
|
2674
|
+
|
|
2675
|
+
declare const NODE_PROPER_LEVEL5_HTTP_STATE_POLICY_KIND: "machinen.node-proper-level5-http-state-policy";
|
|
2676
|
+
type NodeProperLevel5HttpStatePolicyRefusalCode = "node-proper-level5-http-active-request-unsupported" | "node-proper-level5-http-partial-read-unsupported" | "node-proper-level5-http-partial-write-unsupported" | "node-proper-level5-http-ambiguous-connection-state";
|
|
2677
|
+
interface NodeProperLevel5HttpStatePolicyRefusal {
|
|
2678
|
+
code: NodeProperLevel5HttpStatePolicyRefusalCode;
|
|
2679
|
+
message: string;
|
|
2680
|
+
}
|
|
2681
|
+
interface NodeProperLevel5HttpStatePolicyInput {
|
|
2682
|
+
activeRequestDetected?: boolean;
|
|
2683
|
+
partialReadDetected?: boolean;
|
|
2684
|
+
partialWriteDetected?: boolean;
|
|
2685
|
+
ambiguousConnectionState?: boolean;
|
|
2686
|
+
idleKeepAliveSockets?: number;
|
|
2687
|
+
}
|
|
2688
|
+
interface NodeProperLevel5HttpStatePolicyResult {
|
|
2689
|
+
kind: typeof NODE_PROPER_LEVEL5_HTTP_STATE_POLICY_KIND;
|
|
2690
|
+
accepted: boolean;
|
|
2691
|
+
activeRequestPolicy: "refuse-active-request" | "no-active-request-detected";
|
|
2692
|
+
idleKeepAlivePolicy: "none-detected" | "safe-close-and-recreate-idle-connections-on-target";
|
|
2693
|
+
refusals: NodeProperLevel5HttpStatePolicyRefusal[];
|
|
2694
|
+
}
|
|
2695
|
+
declare function classifyNodeProperLevel5HttpStatePolicy(input: NodeProperLevel5HttpStatePolicyInput): NodeProperLevel5HttpStatePolicyResult;
|
|
2696
|
+
|
|
2697
|
+
declare const NODE_LEVEL5_PROOF_COMPOSITION_FORMAT_VERSION: 1;
|
|
2698
|
+
declare const nodeLevel5ProofIngredientNames: readonly ["register-translation", "stack-return-chain-translation", "private-memory-materialization", "executable-target-module-materialization", "target-restore-loader", "level4-event-loop-resource-map", "target-native-verifier"];
|
|
2699
|
+
type NodeLevel5ProofIngredientName = (typeof nodeLevel5ProofIngredientNames)[number];
|
|
2700
|
+
declare const nodeLevel5ProofRefusalCodes: readonly ["node-level5-tls-rseq-unsupported", "node-level5-simd-fpu-unsupported", "node-level5-signal-frame-unsupported", "node-level5-active-syscall-unsupported", "node-level5-active-tcp-unsupported", "node-level5-worker-thread-unsupported", "node-level5-multithread-unsupported", "node-level5-memory-mapping-unsupported", "node-level5-kernel-resource-unsupported", "node-level5-native-addon-abi-unsupported", "node-level5-inspector-unsupported", "node-level5-v8-libuv-state-unsupported", "node-level5-arbitrary-heap-stack-continuation-refused"];
|
|
2701
|
+
type NodeLevel5ProofRefusalCode = (typeof nodeLevel5ProofRefusalCodes)[number];
|
|
2702
|
+
interface NodeLevel5ProofIngredient {
|
|
2703
|
+
name: NodeLevel5ProofIngredientName;
|
|
2704
|
+
evidenceStatus: "checked" | "proof" | "missing";
|
|
2705
|
+
checkedSummary?: string;
|
|
2706
|
+
notes: string;
|
|
2707
|
+
}
|
|
2708
|
+
interface NodeLevel5ProofCompositionInput {
|
|
2709
|
+
eventLoopResourceMapPresent: boolean;
|
|
2710
|
+
targetNativeVerifierPresent: boolean;
|
|
2711
|
+
checkedSummaries?: Partial<Record<NodeLevel5ProofIngredientName, string>>;
|
|
2712
|
+
targetProof?: NodeLevel5TargetProofEvidence;
|
|
2713
|
+
}
|
|
2714
|
+
interface NodeLevel5TargetProofEvidence {
|
|
2715
|
+
path: string;
|
|
2716
|
+
status: "passed" | "missing" | "failed" | "not-run";
|
|
2717
|
+
kind?: "machinen.node-level5-target-side-continuation-proof";
|
|
2718
|
+
sourceArch?: string;
|
|
2719
|
+
targetArch?: string;
|
|
2720
|
+
targetRuntime?: string;
|
|
2721
|
+
noSourceIsaEmulation: boolean;
|
|
2722
|
+
noSidecarOutput: boolean;
|
|
2723
|
+
noMetadataOnlySuccess: boolean;
|
|
2724
|
+
targetVerifierObservedActualNodeContinuation: boolean;
|
|
2725
|
+
message: string;
|
|
2726
|
+
}
|
|
2727
|
+
interface NodeLevel5ProofCompositionRefusal {
|
|
2728
|
+
code: NodeLevel5ProofRefusalCode;
|
|
2729
|
+
message: string;
|
|
2730
|
+
migrationCompleted: false;
|
|
2731
|
+
productSupport: "unsupported";
|
|
2732
|
+
implementationLevel: "level-0-fail-closed-discovery";
|
|
2733
|
+
evidenceStatus: "refusal";
|
|
2734
|
+
}
|
|
2735
|
+
interface NodeLevel5ProofEvidenceCheck {
|
|
2736
|
+
name: NodeLevel5ProofIngredientName;
|
|
2737
|
+
path: string;
|
|
2738
|
+
requiredFragments: string[];
|
|
2739
|
+
status: "passed" | "missing" | "failed";
|
|
2740
|
+
message: string;
|
|
2741
|
+
}
|
|
2742
|
+
interface NodeLevel5ProofRefusalMatrixRow extends NodeLevel5ProofCompositionRefusal {
|
|
2743
|
+
unsafeNeighbor: "tls-rseq" | "simd-fpu" | "active-signals" | "active-syscalls" | "active-tcp" | "worker-threads" | "multithread" | "unsupported-memory-mappings" | "unsupported-kernel-resources" | "native-addon-abi" | "inspector-debug" | "unsupported-v8-libuv-state" | "arbitrary-heap-stack-continuation";
|
|
2744
|
+
}
|
|
2745
|
+
interface NodeLevel5ProofComposition {
|
|
2746
|
+
kind: "machinen.node-level5-proof-composition";
|
|
2747
|
+
formatVersion: typeof NODE_LEVEL5_PROOF_COMPOSITION_FORMAT_VERSION;
|
|
2748
|
+
sourceGoal: "009";
|
|
2749
|
+
evidenceStatus: "proof";
|
|
2750
|
+
productSupport: "not-yet-supported";
|
|
2751
|
+
implementationLevel: "not-implemented";
|
|
2752
|
+
graduationTargetLevel: "level-5-cross-arch-process-continuation";
|
|
2753
|
+
selectedSubset: "node-http-clean-root-v1-with-level4-event-loop-map";
|
|
2754
|
+
requiredIngredients: NodeLevel5ProofIngredient[];
|
|
2755
|
+
evidenceChecks?: NodeLevel5ProofEvidenceCheck[];
|
|
2756
|
+
targetProof?: NodeLevel5TargetProofEvidence;
|
|
2757
|
+
proofRunner?: "scripts/node-level5-proof-composition.ts";
|
|
2758
|
+
refusals: NodeLevel5ProofCompositionRefusal[];
|
|
2759
|
+
refusalMatrix: NodeLevel5ProofRefusalMatrixRow[];
|
|
2760
|
+
gates: {
|
|
2761
|
+
arbitraryV8HeapContinuationAllowed: false;
|
|
2762
|
+
arbitraryNativeStackContinuationAllowed: false;
|
|
2763
|
+
sourceIsaEmulationAllowed: false;
|
|
2764
|
+
sidecarRuntimeAllowed: false;
|
|
2765
|
+
metadataOnlyContinuationAllowed: false;
|
|
2766
|
+
publicProductVerbRequiredBeforeSupport: true;
|
|
2767
|
+
};
|
|
2768
|
+
summary: {
|
|
2769
|
+
required: number;
|
|
2770
|
+
present: number;
|
|
2771
|
+
missing: number;
|
|
2772
|
+
refusalCount: number;
|
|
2773
|
+
proofReady: boolean;
|
|
2774
|
+
};
|
|
2775
|
+
}
|
|
2776
|
+
declare function buildNodeLevel5ProofComposition(input: NodeLevel5ProofCompositionInput & {
|
|
2777
|
+
evidenceChecks?: NodeLevel5ProofEvidenceCheck[];
|
|
2778
|
+
proofRunner?: "scripts/node-level5-proof-composition.ts";
|
|
2779
|
+
}): NodeLevel5ProofComposition;
|
|
2780
|
+
|
|
2781
|
+
declare const NODE_LEVEL5_DECLARED_SUBSET_FORMAT_VERSION = 1;
|
|
2782
|
+
declare const NODE_LEVEL5_DECLARED_SUBSET_MANIFEST = "machinen.node-level5-declared-subset-manifest";
|
|
2783
|
+
declare const NODE_LEVEL5_DECLARED_SUBSET_RESTORE_SUMMARY = "machinen.node-level5-declared-subset-restore-summary";
|
|
2784
|
+
declare const nodeLevel5DeclaredSubsetRefusalCodes: {
|
|
2785
|
+
readonly experimentalFlagRequired: "node-level5-declared-subset-experimental-flag-required";
|
|
2786
|
+
readonly outputRequired: "node-level5-declared-subset-output-required";
|
|
2787
|
+
readonly manifestRequired: "node-level5-declared-subset-manifest-required";
|
|
2788
|
+
readonly manifestMissing: "node-level5-declared-subset-manifest-missing";
|
|
2789
|
+
readonly manifestInvalid: "node-level5-declared-subset-manifest-invalid";
|
|
2790
|
+
readonly rawCpuRestoreRefused: "node-level5-declared-subset-raw-cpu-restore-refused";
|
|
2791
|
+
readonly unsupportedNeighborRefused: "node-level5-declared-subset-unsupported-neighbor-refused";
|
|
2792
|
+
readonly productClaimRefused: "node-level5-declared-subset-product-claim-refused";
|
|
2793
|
+
};
|
|
2794
|
+
type NodeLevel5DeclaredSubsetRefusalCode = (typeof nodeLevel5DeclaredSubsetRefusalCodes)[keyof typeof nodeLevel5DeclaredSubsetRefusalCodes];
|
|
2795
|
+
type NodeLevel5DeclaredSubsetArchitecture = "arm64" | "amd64";
|
|
2796
|
+
type NodeLevel5DeclaredSubsetRefusal = {
|
|
2797
|
+
code: NodeLevel5DeclaredSubsetRefusalCode;
|
|
2798
|
+
message: string;
|
|
2799
|
+
};
|
|
2800
|
+
type NodeLevel5DeclaredSubsetSupportMatrix = {
|
|
2801
|
+
kind: "machinen.node-level5-declared-subset-support-matrix";
|
|
2802
|
+
formatVersion: typeof NODE_LEVEL5_DECLARED_SUBSET_FORMAT_VERSION;
|
|
2803
|
+
status: "experimental-candidate-not-supported";
|
|
2804
|
+
productSupportClaimed: false;
|
|
2805
|
+
broadLevel5ImplementationClaimed: false;
|
|
2806
|
+
declaredSubsetCoverage: 100;
|
|
2807
|
+
node: "22.x";
|
|
2808
|
+
v8: "12.x pointer-compressed";
|
|
2809
|
+
libuv: "supported idle handles only";
|
|
2810
|
+
supportedStateFamilies: readonly string[];
|
|
2811
|
+
unsupportedStateFamilies: readonly string[];
|
|
2812
|
+
refusalCodes: typeof nodeLevel5DeclaredSubsetRefusalCodes;
|
|
2813
|
+
};
|
|
2814
|
+
declare const nodeLevel5DeclaredSubsetSupportMatrix: NodeLevel5DeclaredSubsetSupportMatrix;
|
|
2815
|
+
type CreateNodeLevel5DeclaredSubsetCaptureInput = {
|
|
2816
|
+
outDir: string;
|
|
2817
|
+
sourceArch: NodeLevel5DeclaredSubsetArchitecture;
|
|
2818
|
+
targetArch: NodeLevel5DeclaredSubsetArchitecture;
|
|
2819
|
+
experimental: boolean;
|
|
2820
|
+
productSupportClaimed?: boolean;
|
|
2821
|
+
dryRun?: boolean;
|
|
2822
|
+
};
|
|
2823
|
+
type NodeLevel5DeclaredSubsetManifest = {
|
|
2824
|
+
kind: typeof NODE_LEVEL5_DECLARED_SUBSET_MANIFEST;
|
|
2825
|
+
formatVersion: typeof NODE_LEVEL5_DECLARED_SUBSET_FORMAT_VERSION;
|
|
2826
|
+
status: "experimental-candidate-not-supported";
|
|
2827
|
+
productSupportClaimed: false;
|
|
2828
|
+
broadLevel5ImplementationClaimed: false;
|
|
2829
|
+
sourceArch: NodeLevel5DeclaredSubsetArchitecture;
|
|
2830
|
+
targetArch: NodeLevel5DeclaredSubsetArchitecture;
|
|
2831
|
+
translatedContinuationRequired: true;
|
|
2832
|
+
rawCpuRestoreSupported: false;
|
|
2833
|
+
supportMatrix: NodeLevel5DeclaredSubsetSupportMatrix;
|
|
2834
|
+
};
|
|
2835
|
+
type NodeLevel5DeclaredSubsetCaptureSummary = {
|
|
2836
|
+
kind: "machinen.node-level5-declared-subset-capture-summary";
|
|
2837
|
+
accepted: boolean;
|
|
2838
|
+
manifestPath?: string;
|
|
2839
|
+
manifest?: NodeLevel5DeclaredSubsetManifest;
|
|
2840
|
+
dryRun: boolean;
|
|
2841
|
+
targetStarted: false;
|
|
2842
|
+
productSupportClaimed: false;
|
|
2843
|
+
broadLevel5ImplementationClaimed: false;
|
|
2844
|
+
refusal?: NodeLevel5DeclaredSubsetRefusal;
|
|
2845
|
+
};
|
|
2846
|
+
type RestoreNodeLevel5DeclaredSubsetInput = {
|
|
2847
|
+
manifestPath: string;
|
|
2848
|
+
experimental: boolean;
|
|
2849
|
+
rawCpuRestore?: boolean;
|
|
2850
|
+
productSupportClaimed?: boolean;
|
|
2851
|
+
dryRun?: boolean;
|
|
2852
|
+
};
|
|
2853
|
+
type NodeLevel5DeclaredSubsetRestoreSummary = {
|
|
2854
|
+
kind: typeof NODE_LEVEL5_DECLARED_SUBSET_RESTORE_SUMMARY;
|
|
2855
|
+
accepted: boolean;
|
|
2856
|
+
manifestPath: string;
|
|
2857
|
+
dryRun: boolean;
|
|
2858
|
+
targetStarted: false;
|
|
2859
|
+
translatedContinuationRequired: true;
|
|
2860
|
+
targetNativeNodeRequired: true;
|
|
2861
|
+
productSupportClaimed: false;
|
|
2862
|
+
broadLevel5ImplementationClaimed: false;
|
|
2863
|
+
refusal?: NodeLevel5DeclaredSubsetRefusal;
|
|
2864
|
+
};
|
|
2865
|
+
declare function createNodeLevel5DeclaredSubsetCapture(input: CreateNodeLevel5DeclaredSubsetCaptureInput): NodeLevel5DeclaredSubsetCaptureSummary;
|
|
2866
|
+
declare function restoreNodeLevel5DeclaredSubset(input: RestoreNodeLevel5DeclaredSubsetInput): NodeLevel5DeclaredSubsetRestoreSummary;
|
|
2867
|
+
declare function isNodeLevel5DeclaredSubsetManifest(value: unknown): value is NodeLevel5DeclaredSubsetManifest;
|
|
2868
|
+
|
|
2869
|
+
declare const NODE_LEVEL5_READINESS_MATRIX_KIND = "machinen.node-level5-readiness-matrix";
|
|
2870
|
+
declare const NODE_LEVEL5_READINESS_MATRIX_VERSION = 1;
|
|
2871
|
+
type NodeLevel5ReadinessGateStatus = "passed" | "refused" | "documented";
|
|
2872
|
+
type NodeLevel5ReadinessGate = {
|
|
2873
|
+
id: string;
|
|
2874
|
+
family: "narrow-product" | "broad-proof" | "final-audit";
|
|
2875
|
+
title: string;
|
|
2876
|
+
status: NodeLevel5ReadinessGateStatus;
|
|
2877
|
+
artifact: string;
|
|
2878
|
+
productSupportClaimed: false;
|
|
2879
|
+
broadProductSupportClaimed: false;
|
|
2880
|
+
};
|
|
2881
|
+
type NodeLevel5UnsupportedNeighborGate = NodeLevel5ReadinessGate & {
|
|
2882
|
+
refusalCode: string;
|
|
2883
|
+
targetStarted: false;
|
|
2884
|
+
sourceIsaEmulationUsed: false;
|
|
2885
|
+
rawCpuRestoreUsed: false;
|
|
2886
|
+
};
|
|
2887
|
+
type NodeLevel5AppCorpusGate = NodeLevel5ReadinessGate & {
|
|
2888
|
+
appFamily: string;
|
|
2889
|
+
direction: "arm64-to-amd64" | "amd64-to-arm64" | "both";
|
|
2890
|
+
repeatabilityRuns: number;
|
|
2891
|
+
};
|
|
2892
|
+
type NodeLevel5ReadinessMatrix = {
|
|
2893
|
+
kind: typeof NODE_LEVEL5_READINESS_MATRIX_KIND;
|
|
2894
|
+
version: typeof NODE_LEVEL5_READINESS_MATRIX_VERSION;
|
|
2895
|
+
status: "proof-matrix-complete-product-support-not-claimed";
|
|
2896
|
+
declaredSubsetCoverage: 100;
|
|
2897
|
+
narrowExperimentalProductReadiness: 100;
|
|
2898
|
+
broadNodeProofReadiness: 100;
|
|
2899
|
+
broadNodeProductSupportClaimed: 0;
|
|
2900
|
+
arbitraryProcessCrossArchRestore: 5;
|
|
2901
|
+
productSupportClaimed: false;
|
|
2902
|
+
broadLevel5ImplementationClaimed: false;
|
|
2903
|
+
narrowProductGates: readonly NodeLevel5ReadinessGate[];
|
|
2904
|
+
unsupportedNeighborGates: readonly NodeLevel5UnsupportedNeighborGate[];
|
|
2905
|
+
appCorpusGates: readonly NodeLevel5AppCorpusGate[];
|
|
2906
|
+
repeatabilityGates: readonly NodeLevel5ReadinessGate[];
|
|
2907
|
+
finalAuditGates: readonly NodeLevel5ReadinessGate[];
|
|
2908
|
+
};
|
|
2909
|
+
declare const nodeLevel5NarrowProductReadinessGates: readonly NodeLevel5ReadinessGate[];
|
|
2910
|
+
declare const nodeLevel5UnsupportedNeighborGates: readonly NodeLevel5UnsupportedNeighborGate[];
|
|
2911
|
+
declare const nodeLevel5AppCorpusGates: readonly NodeLevel5AppCorpusGate[];
|
|
2912
|
+
declare const nodeLevel5FinalAuditGates: readonly NodeLevel5ReadinessGate[];
|
|
2913
|
+
declare const nodeLevel5ReadinessMatrix: NodeLevel5ReadinessMatrix;
|
|
2914
|
+
declare function assertNodeLevel5ReadinessMatrixComplete(matrix?: NodeLevel5ReadinessMatrix): boolean;
|
|
2915
|
+
|
|
2916
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_20_KIND = "machinen.node-level5-product-support-20";
|
|
2917
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_20_VERSION = 1;
|
|
2918
|
+
type NodeLevel5ProductSupportFamilyId = "idle-http-listener" | "timer-service" | "plain-js-heap" | "readonly-file-stdio" | "pipes-streams-idle";
|
|
2919
|
+
type NodeLevel5ProductSupportDirection = "arm64-to-amd64" | "amd64-to-arm64";
|
|
2920
|
+
type NodeLevel5ProductSupportFamily = {
|
|
2921
|
+
id: NodeLevel5ProductSupportFamilyId;
|
|
2922
|
+
title: string;
|
|
2923
|
+
coveragePercent: 4;
|
|
2924
|
+
status: "experimental-supported";
|
|
2925
|
+
included: readonly string[];
|
|
2926
|
+
excluded: readonly string[];
|
|
2927
|
+
contractArtifact: string;
|
|
2928
|
+
e2eArtifact: string;
|
|
2929
|
+
directions: readonly NodeLevel5ProductSupportDirection[];
|
|
2930
|
+
targetNativeVerified: true;
|
|
2931
|
+
productSupportClaimed: true;
|
|
2932
|
+
broadNodeProductSupportClaimed: false;
|
|
2933
|
+
};
|
|
2934
|
+
type NodeLevel5ProductUnsupportedNeighbor = {
|
|
2935
|
+
id: string;
|
|
2936
|
+
refusalCode: string;
|
|
2937
|
+
targetStarted: false;
|
|
2938
|
+
rawCpuRestoreUsed: false;
|
|
2939
|
+
sourceIsaEmulationUsed: false;
|
|
2940
|
+
productSupportClaimed: false;
|
|
2941
|
+
};
|
|
2942
|
+
type NodeLevel5ProductSupport20Matrix = {
|
|
2943
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_20_KIND;
|
|
2944
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_20_VERSION;
|
|
2945
|
+
status: "experimental-node-product-support-20";
|
|
2946
|
+
nodeProductSupportClaimed: 20;
|
|
2947
|
+
nodeProductSupportScope: "five-idle-service-families";
|
|
2948
|
+
declaredSubsetExperimentalProductSupportClaimed: 100;
|
|
2949
|
+
broadNodeProductSupportClaimed: 0;
|
|
2950
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
2951
|
+
node: "22.x";
|
|
2952
|
+
v8: "12.x pointer-compressed";
|
|
2953
|
+
libuv: "supported idle handles only";
|
|
2954
|
+
families: readonly NodeLevel5ProductSupportFamily[];
|
|
2955
|
+
unsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
2956
|
+
safety: {
|
|
2957
|
+
rawCpuRestoreSupported: false;
|
|
2958
|
+
sourceIsaEmulationSupported: false;
|
|
2959
|
+
appCheckpointHooksRequired: false;
|
|
2960
|
+
targetNativeNodeRequired: true;
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2963
|
+
declare const nodeLevel5ProductSupport20Families: readonly NodeLevel5ProductSupportFamily[];
|
|
2964
|
+
declare const nodeLevel5ProductUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
2965
|
+
declare const nodeLevel5ProductSupport20Matrix: NodeLevel5ProductSupport20Matrix;
|
|
2966
|
+
declare function assertNodeLevel5ProductSupport20MatrixComplete(matrix?: NodeLevel5ProductSupport20Matrix): boolean;
|
|
2967
|
+
|
|
2968
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_50_KIND = "machinen.node-level5-product-support-50";
|
|
2969
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_50_VERSION = 1;
|
|
2970
|
+
type NodeLevel5ProductSupport50FamilyId = NodeLevel5ProductSupportFamily["id"] | "http-keepalive-idle-pool" | "completed-microtask-checkpoint" | "promise-async-closure-graph" | "commonjs-esm-module-cache" | "json-config-data-heap-graph" | "graceful-shutdown-lifecycle";
|
|
2971
|
+
type NodeLevel5ProductSupport50Family = {
|
|
2972
|
+
id: NodeLevel5ProductSupport50FamilyId;
|
|
2973
|
+
title: string;
|
|
2974
|
+
coveragePercent: 4 | 5;
|
|
2975
|
+
status: "experimental-supported";
|
|
2976
|
+
included: readonly string[];
|
|
2977
|
+
excluded: readonly string[];
|
|
2978
|
+
contractArtifact: string;
|
|
2979
|
+
e2eArtifact: string;
|
|
2980
|
+
directions: readonly NodeLevel5ProductSupportDirection[];
|
|
2981
|
+
targetNativeVerified: true;
|
|
2982
|
+
productSupportClaimed: true;
|
|
2983
|
+
broadNodeProductSupportClaimed: false;
|
|
2984
|
+
};
|
|
2985
|
+
type NodeLevel5ProductSupport50Matrix = {
|
|
2986
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_50_KIND;
|
|
2987
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_50_VERSION;
|
|
2988
|
+
status: "experimental-node-product-support-50";
|
|
2989
|
+
nodeProductSupportClaimed: 50;
|
|
2990
|
+
nodeProductSupportScope: "eleven-service-families";
|
|
2991
|
+
previousNodeProductSupportClaimed: 20;
|
|
2992
|
+
newNodeProductSupportClaimed: 30;
|
|
2993
|
+
declaredSubsetExperimentalProductSupportClaimed: 100;
|
|
2994
|
+
broadNodeProductSupportClaimed: 0;
|
|
2995
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
2996
|
+
node: "22.x";
|
|
2997
|
+
v8: "12.x pointer-compressed";
|
|
2998
|
+
libuv: "supported idle handles only";
|
|
2999
|
+
families: readonly NodeLevel5ProductSupport50Family[];
|
|
3000
|
+
expandedUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
3001
|
+
positiveAppCorpus: readonly string[];
|
|
3002
|
+
negativeAppCorpus: readonly string[];
|
|
3003
|
+
repeatabilityRuns: 20;
|
|
3004
|
+
safety: {
|
|
3005
|
+
rawCpuRestoreSupported: false;
|
|
3006
|
+
sourceIsaEmulationSupported: false;
|
|
3007
|
+
appCheckpointHooksRequired: false;
|
|
3008
|
+
targetNativeNodeRequired: true;
|
|
3009
|
+
metadataOnlySuccessAccepted: false;
|
|
3010
|
+
};
|
|
3011
|
+
};
|
|
3012
|
+
declare const nodeLevel5ProductSupport50NewFamilies: readonly NodeLevel5ProductSupport50Family[];
|
|
3013
|
+
declare const nodeLevel5ProductSupport50Families: readonly NodeLevel5ProductSupport50Family[];
|
|
3014
|
+
declare const nodeLevel5ProductSupport50ExpandedUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
3015
|
+
declare const nodeLevel5ProductSupport50Matrix: NodeLevel5ProductSupport50Matrix;
|
|
3016
|
+
declare function assertNodeLevel5ProductSupport50MatrixComplete(matrix?: NodeLevel5ProductSupport50Matrix): boolean;
|
|
3017
|
+
|
|
3018
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_65_KIND = "machinen.node-level5-product-support-65";
|
|
3019
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_65_VERSION = 1;
|
|
3020
|
+
type NodeLevel5ProductSupport65FamilyId = NodeLevel5ProductSupport50Family["id"] | "active-async-idle-boundary" | "tls-boundary-policy" | "child-process-boundary";
|
|
3021
|
+
type NodeLevel5ProductSupport65Family = {
|
|
3022
|
+
id: NodeLevel5ProductSupport65FamilyId;
|
|
3023
|
+
title: string;
|
|
3024
|
+
coveragePercent: 4 | 5;
|
|
3025
|
+
status: "experimental-supported";
|
|
3026
|
+
included: readonly string[];
|
|
3027
|
+
excluded: readonly string[];
|
|
3028
|
+
contractArtifact: string;
|
|
3029
|
+
e2eArtifact: string;
|
|
3030
|
+
directions: readonly NodeLevel5ProductSupportDirection[];
|
|
3031
|
+
targetNativeVerified: true;
|
|
3032
|
+
productSupportClaimed: true;
|
|
3033
|
+
broadNodeFacilityAddressed: boolean;
|
|
3034
|
+
broadNodeProductSupportClaimed: false;
|
|
3035
|
+
};
|
|
3036
|
+
type NodeLevel5ProductSupport65Matrix = {
|
|
3037
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_65_KIND;
|
|
3038
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_65_VERSION;
|
|
3039
|
+
status: "experimental-node-product-support-65";
|
|
3040
|
+
nodeProductSupportClaimed: 65;
|
|
3041
|
+
nodeProductSupportScope: "fourteen-service-and-boundary-families";
|
|
3042
|
+
previousNodeProductSupportClaimed: 50;
|
|
3043
|
+
newNodeProductSupportClaimed: 15;
|
|
3044
|
+
broadNodeProductSupportClaimed: 5;
|
|
3045
|
+
broadNodeProductSupportScope: "selected-hard-facility-boundaries";
|
|
3046
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3047
|
+
node: "22.x";
|
|
3048
|
+
v8: "12.x pointer-compressed";
|
|
3049
|
+
libuv: "supported idle handles plus selected hard-facility boundaries";
|
|
3050
|
+
families: readonly NodeLevel5ProductSupport65Family[];
|
|
3051
|
+
expandedUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
3052
|
+
hardFacilitiesAddressed: readonly string[];
|
|
3053
|
+
repeatabilityRuns: 25;
|
|
3054
|
+
safety: {
|
|
3055
|
+
rawCpuRestoreSupported: false;
|
|
3056
|
+
sourceIsaEmulationSupported: false;
|
|
3057
|
+
appCheckpointHooksRequired: false;
|
|
3058
|
+
targetNativeNodeRequired: true;
|
|
3059
|
+
metadataOnlySuccessAccepted: false;
|
|
3060
|
+
broadNodeSupportIsPartial: true;
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
declare const nodeLevel5ProductSupport65NewFamilies: readonly NodeLevel5ProductSupport65Family[];
|
|
3064
|
+
declare const nodeLevel5ProductSupport65Families: readonly NodeLevel5ProductSupport65Family[];
|
|
3065
|
+
declare const nodeLevel5ProductSupport65ExpandedUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
3066
|
+
declare const nodeLevel5ProductSupport65Matrix: NodeLevel5ProductSupport65Matrix;
|
|
3067
|
+
declare function assertNodeLevel5ProductSupport65MatrixComplete(matrix?: NodeLevel5ProductSupport65Matrix): boolean;
|
|
3068
|
+
|
|
3069
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_80_KIND = "machinen.node-level5-product-support-80";
|
|
3070
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_80_VERSION = 1;
|
|
3071
|
+
type NodeLevel5ProductSupport80FamilyId = NodeLevel5ProductSupport65Family["id"] | "express-fastify-http-app" | "dependency-heavy-app" | "streams-files-mixed-app";
|
|
3072
|
+
type NodeLevel5RealVmCrossArchEvidence = {
|
|
3073
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3074
|
+
direction: NodeLevel5ProductSupportDirection;
|
|
3075
|
+
substrate: "machinen-real-vm-cross-arch";
|
|
3076
|
+
artifactBundle: string;
|
|
3077
|
+
manifestVerified: true;
|
|
3078
|
+
captureSummaryVerified: true;
|
|
3079
|
+
restoreSummaryVerified: true;
|
|
3080
|
+
targetLogsVerified: true;
|
|
3081
|
+
targetNativeNodeVerified: true;
|
|
3082
|
+
behavioralVerifierPassed: true;
|
|
3083
|
+
rawCpuRestoreUsed: false;
|
|
3084
|
+
sourceIsaEmulationUsed: false;
|
|
3085
|
+
metadataOnlySuccessAccepted: false;
|
|
3086
|
+
};
|
|
3087
|
+
type NodeLevel5ProductSupport80Family = {
|
|
3088
|
+
id: NodeLevel5ProductSupport80FamilyId;
|
|
3089
|
+
title: string;
|
|
3090
|
+
coveragePercent: 4 | 5;
|
|
3091
|
+
status: "experimental-supported";
|
|
3092
|
+
included: readonly string[];
|
|
3093
|
+
excluded: readonly string[];
|
|
3094
|
+
contractArtifact: string;
|
|
3095
|
+
e2eArtifact: string;
|
|
3096
|
+
directions: readonly NodeLevel5ProductSupportDirection[];
|
|
3097
|
+
realVmCrossArchEvidence: readonly NodeLevel5RealVmCrossArchEvidence[];
|
|
3098
|
+
targetNativeVerified: true;
|
|
3099
|
+
productSupportClaimed: true;
|
|
3100
|
+
broadNodeFacilityAddressed: boolean;
|
|
3101
|
+
};
|
|
3102
|
+
type NodeLevel5ProductSupport80Matrix = {
|
|
3103
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_80_KIND;
|
|
3104
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_80_VERSION;
|
|
3105
|
+
status: "experimental-node-product-support-80";
|
|
3106
|
+
nodeProductSupportClaimed: 80;
|
|
3107
|
+
nodeProductSupportScope: "seventeen-service-app-and-boundary-families";
|
|
3108
|
+
previousNodeProductSupportClaimed: 65;
|
|
3109
|
+
newNodeProductSupportClaimed: 15;
|
|
3110
|
+
broadNodeProductSupportClaimed: 20;
|
|
3111
|
+
broadNodeProductSupportScope: "real-app-corpus-plus-selected-hard-facility-boundaries";
|
|
3112
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3113
|
+
node: "22.x";
|
|
3114
|
+
v8: "12.x pointer-compressed";
|
|
3115
|
+
libuv: "supported idle handles plus selected hard-facility boundaries";
|
|
3116
|
+
families: readonly NodeLevel5ProductSupport80Family[];
|
|
3117
|
+
expandedUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
3118
|
+
positiveRealAppCorpus: readonly string[];
|
|
3119
|
+
negativeRealAppCorpus: readonly string[];
|
|
3120
|
+
repeatabilityRuns: 30;
|
|
3121
|
+
flakeBudgetPercent: 0;
|
|
3122
|
+
artifactRetention: readonly string[];
|
|
3123
|
+
safety: {
|
|
3124
|
+
rawCpuRestoreSupported: false;
|
|
3125
|
+
sourceIsaEmulationSupported: false;
|
|
3126
|
+
appCheckpointHooksRequired: false;
|
|
3127
|
+
targetNativeNodeRequired: true;
|
|
3128
|
+
metadataOnlySuccessAccepted: false;
|
|
3129
|
+
broadNodeSupportIsPartial: true;
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
declare const nodeLevel5ProductSupport80NewFamilies: readonly NodeLevel5ProductSupport80Family[];
|
|
3133
|
+
declare const nodeLevel5ProductSupport80Families: readonly NodeLevel5ProductSupport80Family[];
|
|
3134
|
+
declare const nodeLevel5ProductSupport80ExpandedUnsupportedNeighbors: readonly NodeLevel5ProductUnsupportedNeighbor[];
|
|
3135
|
+
declare const nodeLevel5ProductSupport80Matrix: NodeLevel5ProductSupport80Matrix;
|
|
3136
|
+
declare function assertNodeLevel5ProductSupport80MatrixComplete(matrix?: NodeLevel5ProductSupport80Matrix): boolean;
|
|
3137
|
+
|
|
3138
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_85_KIND = "machinen.node-level5-product-support-85";
|
|
3139
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_85_VERSION = 1;
|
|
3140
|
+
type NodeLevel5ProductSupport85ClaimRegistry = {
|
|
3141
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_85_KIND;
|
|
3142
|
+
status: "node-product-support-85-claimed";
|
|
3143
|
+
declaredSubsetExperimentalProductSupportClaimed: 100;
|
|
3144
|
+
nodeProductSupportTiers: readonly [20, 50, 65, 80, 85];
|
|
3145
|
+
nodeProductSupportClaimed: 85;
|
|
3146
|
+
broadNodeProductSupportClaimed: 25;
|
|
3147
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3148
|
+
previousNodeProductSupportClaimed: 80;
|
|
3149
|
+
previousBroadNodeProductSupportClaimed: 20;
|
|
3150
|
+
genericVmDetectedEvidenceRequired: true;
|
|
3151
|
+
retainedEvidenceRequired: true;
|
|
3152
|
+
rowArtifactEvidenceRequired: true;
|
|
3153
|
+
refusalArtifactEvidenceRequired: true;
|
|
3154
|
+
realVmCrossArchEvidenceRequired: true;
|
|
3155
|
+
artifactRetentionDays: 30;
|
|
3156
|
+
flakeBudgetPercent: 0;
|
|
3157
|
+
supportedAppRows: 68;
|
|
3158
|
+
refusedAppRows: 42;
|
|
3159
|
+
notProvenAppRows: 4;
|
|
3160
|
+
unsupportedDetectorCount: number;
|
|
3161
|
+
};
|
|
3162
|
+
declare const nodeLevel5ProductSupport85ClaimRegistry: NodeLevel5ProductSupport85ClaimRegistry;
|
|
3163
|
+
|
|
3164
|
+
declare const NODE_LEVEL5_APP_SUPPORT_MATRIX_KIND = "machinen.node-level5-app-support-matrix";
|
|
3165
|
+
declare const NODE_LEVEL5_APP_SUPPORT_MATRIX_VERSION = 2;
|
|
3166
|
+
type NodeLevel5AppSupportStatus = "supported" | "refused" | "not-proven";
|
|
3167
|
+
type NodeLevel5AppSupportFramework = "express" | "fastify";
|
|
3168
|
+
type NodeLevel5AppSupportEvidenceKind = "fixture-product-run-corpus" | "template-corpus" | "installed-package-corpus" | "generic-vm-detected-corpus" | "refusal-corpus" | "matrix-gap";
|
|
3169
|
+
type NodeLevel5AppSupportProductBehavior = "machinen snapshot <vm-name> --out <dir>; machinen restore <dir>" | "refuse-before-snapshot" | "not-proven";
|
|
3170
|
+
type NodeLevel5AppSupportDirection = "arm64-to-amd64" | "amd64-to-arm64";
|
|
3171
|
+
type NodeLevel5AppSupportRouteFeature = "simple-route" | "router-route" | "plugin-route" | "unsupported-live-state" | "not-proven";
|
|
3172
|
+
type NodeLevel5AppSupportResponseFeature = "text" | "json" | "not-proven";
|
|
3173
|
+
type NodeLevel5AppSupportMiddlewareFeature = "none" | "pure-js" | "not-proven";
|
|
3174
|
+
type NodeLevel5AppSupportFeatureName = "route" | "response" | "middleware" | "asyncHandler" | "params" | "query" | "staticAssets" | "externalNetwork" | "backgroundTasks";
|
|
3175
|
+
type NodeLevel5AppSupportFeatureStatus = "supported" | "refused" | "not-proven";
|
|
3176
|
+
type NodeLevel5AppSupportFeatures = {
|
|
3177
|
+
route: NodeLevel5AppSupportRouteFeature;
|
|
3178
|
+
response: NodeLevel5AppSupportResponseFeature;
|
|
3179
|
+
middleware: NodeLevel5AppSupportMiddlewareFeature;
|
|
3180
|
+
asyncHandler: boolean;
|
|
3181
|
+
params: boolean;
|
|
3182
|
+
query: boolean;
|
|
3183
|
+
staticAssets: boolean;
|
|
3184
|
+
externalNetwork: boolean;
|
|
3185
|
+
backgroundTasks: boolean;
|
|
3186
|
+
};
|
|
3187
|
+
type NodeLevel5AppSupportFeatureAssessment = Record<NodeLevel5AppSupportFeatureName, NodeLevel5AppSupportFeatureStatus>;
|
|
3188
|
+
type NodeLevel5AppSupportEvidence = {
|
|
3189
|
+
kind: NodeLevel5AppSupportEvidenceKind;
|
|
3190
|
+
proofRange: string;
|
|
3191
|
+
corpusReport: string;
|
|
3192
|
+
};
|
|
3193
|
+
type NodeLevel5AppSupportMatrixRow = {
|
|
3194
|
+
id: string;
|
|
3195
|
+
appName: string;
|
|
3196
|
+
framework: NodeLevel5AppSupportFramework;
|
|
3197
|
+
status: NodeLevel5AppSupportStatus;
|
|
3198
|
+
productBehavior: NodeLevel5AppSupportProductBehavior;
|
|
3199
|
+
supportScope: "declared-subset-idle-http" | "unsupported-live-state" | "not-proven-gap";
|
|
3200
|
+
directions: NodeLevel5AppSupportDirection[];
|
|
3201
|
+
evidence: NodeLevel5AppSupportEvidence;
|
|
3202
|
+
supportedAppShape: string;
|
|
3203
|
+
features: NodeLevel5AppSupportFeatures;
|
|
3204
|
+
featureAssessment: NodeLevel5AppSupportFeatureAssessment;
|
|
3205
|
+
limitations: string[];
|
|
3206
|
+
};
|
|
3207
|
+
type NodeLevel5AppSupportBoundary = {
|
|
3208
|
+
id: string;
|
|
3209
|
+
status: "not-claimed" | "out-of-scope";
|
|
3210
|
+
reason: string;
|
|
3211
|
+
};
|
|
3212
|
+
type NodeLevel5AppSupportMatrix = {
|
|
3213
|
+
kind: typeof NODE_LEVEL5_APP_SUPPORT_MATRIX_KIND;
|
|
3214
|
+
version: typeof NODE_LEVEL5_APP_SUPPORT_MATRIX_VERSION;
|
|
3215
|
+
accepted: boolean;
|
|
3216
|
+
rowCount: number;
|
|
3217
|
+
rows: NodeLevel5AppSupportMatrixRow[];
|
|
3218
|
+
boundaries: NodeLevel5AppSupportBoundary[];
|
|
3219
|
+
nodeProductSupportClaimed: 85;
|
|
3220
|
+
broadNodeProductSupportClaimed: 25;
|
|
3221
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3222
|
+
};
|
|
3223
|
+
declare function buildNodeLevel5AppSupportMatrix(): NodeLevel5AppSupportMatrix;
|
|
3224
|
+
declare function supportedNodeLevel5AppSupportRows(): NodeLevel5AppSupportMatrixRow[];
|
|
3225
|
+
declare function refusedNodeLevel5AppSupportRows(): NodeLevel5AppSupportMatrixRow[];
|
|
3226
|
+
declare function notProvenNodeLevel5AppSupportRows(): NodeLevel5AppSupportMatrixRow[];
|
|
3227
|
+
|
|
3228
|
+
declare const NODE_LEVEL5_PRODUCT_SNAPSHOT_KIND = "machinen.node-level5-product-snapshot";
|
|
3229
|
+
declare const NODE_LEVEL5_PRODUCT_SNAPSHOT_VERSION = 1;
|
|
3230
|
+
declare const NODE_LEVEL5_PRODUCT_DETECTOR_REPORT_KIND = "machinen.node-level5-product-detector-report";
|
|
3231
|
+
declare const NODE_LEVEL5_PRODUCT_TARGET_IDENTITY_KIND = "machinen.node-level5-product-target-identity";
|
|
3232
|
+
declare const NODE_LEVEL5_PRODUCT_CAPTURE_REPORT_KIND = "machinen.node-level5-product-capture-report";
|
|
3233
|
+
declare const NODE_LEVEL5_PRODUCT_RESTORE_MATERIALIZATION_REPORT_KIND = "machinen.node-level5-product-restore-materialization-report";
|
|
3234
|
+
declare const NODE_LEVEL5_PRODUCT_RESTORE_LAUNCH_REPORT_KIND = "machinen.node-level5-product-restore-launch-report";
|
|
3235
|
+
declare const NODE_LEVEL5_PRODUCT_BEHAVIORAL_VERIFIER_REPORT_KIND = "machinen.node-level5-product-behavioral-verifier-report";
|
|
3236
|
+
declare const DEFAULT_NODE_LEVEL5_PRODUCT_SNAPSHOT_DIRECTION = "arm64-to-amd64";
|
|
3237
|
+
type NodeLevel5ProductSnapshotDirection = "arm64-to-amd64" | "amd64-to-arm64";
|
|
3238
|
+
type NodeLevel5ProductSnapshotRefusalCode = "node-level5-non-node-target-refused" | "node-level5-target-app-root-missing" | "node-level5-unsupported-app-refused" | "node-level5-active-request-refused" | "node-level5-worker-thread-refused" | "node-level5-native-addon-refused" | "node-level5-wasm-external-memory-refused" | "node-level5-tls-active-state-refused" | "node-level5-child-process-live-state-refused" | "node-level5-filesystem-watcher-refused" | "node-level5-websocket-live-state-refused" | "node-level5-db-connection-live-state-refused" | "node-level5-redis-queue-live-state-refused" | "node-level5-outbound-http-live-socket-refused" | "node-level5-http2-live-session-refused" | "node-level5-sse-live-stream-refused" | "node-level5-open-writable-file-refused" | "node-level5-timer-background-task-refused" | "node-level5-cluster-mode-refused";
|
|
3239
|
+
type NodeLevel5ProductSnapshotRefusal = {
|
|
3240
|
+
code: NodeLevel5ProductSnapshotRefusalCode;
|
|
3241
|
+
message: string;
|
|
3242
|
+
};
|
|
3243
|
+
type NodeLevel5ProductTargetIdentity = {
|
|
3244
|
+
kind: typeof NODE_LEVEL5_PRODUCT_TARGET_IDENTITY_KIND;
|
|
3245
|
+
target: string;
|
|
3246
|
+
targetKind: "pid" | "name" | "current-directory";
|
|
3247
|
+
runtime: "node" | "unknown";
|
|
3248
|
+
appDir?: string;
|
|
3249
|
+
pid?: number;
|
|
3250
|
+
executable?: string;
|
|
3251
|
+
argv?: string;
|
|
3252
|
+
registryMatched: boolean;
|
|
3253
|
+
accepted: boolean;
|
|
3254
|
+
refusal?: NodeLevel5ProductSnapshotRefusal;
|
|
3255
|
+
};
|
|
3256
|
+
type NodeLevel5ProductDetectedFeature = "safe-idle-timer" | "safe-outbound-http-reconnect";
|
|
3257
|
+
type NodeLevel5ProductDetectorReport = {
|
|
3258
|
+
kind: typeof NODE_LEVEL5_PRODUCT_DETECTOR_REPORT_KIND;
|
|
3259
|
+
accepted: boolean;
|
|
3260
|
+
appDir: string;
|
|
3261
|
+
familyId?: NodeLevel5ProductSupport80FamilyId;
|
|
3262
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3263
|
+
detectedFramework?: "express" | "fastify";
|
|
3264
|
+
detectedFeatures?: NodeLevel5ProductDetectedFeature[];
|
|
3265
|
+
refusal?: NodeLevel5ProductSnapshotRefusal;
|
|
3266
|
+
nodeProductSupportClaimed: 85;
|
|
3267
|
+
broadNodeProductSupportClaimed: 25;
|
|
3268
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3269
|
+
};
|
|
3270
|
+
type NodeLevel5ProductCaptureReport = {
|
|
3271
|
+
kind: typeof NODE_LEVEL5_PRODUCT_CAPTURE_REPORT_KIND;
|
|
3272
|
+
accepted: true;
|
|
3273
|
+
productCommandPath: "machinen snapshot <vm-name> --out <dir>";
|
|
3274
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3275
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3276
|
+
targetIdentitySha256: string;
|
|
3277
|
+
detectorReportSha256: string;
|
|
3278
|
+
artifactRoot: string;
|
|
3279
|
+
translatedContinuationRequired: true;
|
|
3280
|
+
targetNativeNodeRequired: true;
|
|
3281
|
+
rawCpuRestoreCaptured: false;
|
|
3282
|
+
sourceIsaEmulationCaptured: false;
|
|
3283
|
+
metadataOnlySuccessAccepted: false;
|
|
3284
|
+
nodeProductSupportClaimed: 85;
|
|
3285
|
+
broadNodeProductSupportClaimed: 25;
|
|
3286
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3287
|
+
};
|
|
3288
|
+
type NodeLevel5ProductRestoreMaterializationReport = {
|
|
3289
|
+
kind: typeof NODE_LEVEL5_PRODUCT_RESTORE_MATERIALIZATION_REPORT_KIND;
|
|
3290
|
+
accepted: true;
|
|
3291
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3292
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3293
|
+
captureReportVerified: boolean;
|
|
3294
|
+
targetIdentityVerified: boolean;
|
|
3295
|
+
detectorReportVerified: boolean;
|
|
3296
|
+
targetNativeNodeVerified: boolean;
|
|
3297
|
+
translatedContinuationRequired: true;
|
|
3298
|
+
rawCpuRestoreUsed: false;
|
|
3299
|
+
sourceIsaEmulationUsed: false;
|
|
3300
|
+
metadataOnlySuccessAccepted: false;
|
|
3301
|
+
nodeProductSupportClaimed: 85;
|
|
3302
|
+
broadNodeProductSupportClaimed: 25;
|
|
3303
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3304
|
+
};
|
|
3305
|
+
type NodeLevel5ProductRestoreLaunchReport = {
|
|
3306
|
+
kind: typeof NODE_LEVEL5_PRODUCT_RESTORE_LAUNCH_REPORT_KIND;
|
|
3307
|
+
accepted: boolean;
|
|
3308
|
+
executable: string;
|
|
3309
|
+
appDir: string;
|
|
3310
|
+
exitCode: number | null;
|
|
3311
|
+
signal: NodeJS.Signals | null;
|
|
3312
|
+
targetNativeNodeVerified: boolean;
|
|
3313
|
+
translatedContinuationRequired: true;
|
|
3314
|
+
rawCpuRestoreUsed: false;
|
|
3315
|
+
sourceIsaEmulationUsed: false;
|
|
3316
|
+
metadataOnlySuccessAccepted: false;
|
|
3317
|
+
nodeProductSupportClaimed: 85;
|
|
3318
|
+
broadNodeProductSupportClaimed: 25;
|
|
3319
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3320
|
+
};
|
|
3321
|
+
type NodeLevel5ProductBehavioralVerifierReport = {
|
|
3322
|
+
kind: typeof NODE_LEVEL5_PRODUCT_BEHAVIORAL_VERIFIER_REPORT_KIND;
|
|
3323
|
+
accepted: boolean;
|
|
3324
|
+
verifier: "target-native-http-loopback" | "target-native-app-route";
|
|
3325
|
+
executable: string;
|
|
3326
|
+
appDir: string;
|
|
3327
|
+
routePath: string;
|
|
3328
|
+
expectedStatus: number;
|
|
3329
|
+
actualStatus?: number;
|
|
3330
|
+
expectedBody: string;
|
|
3331
|
+
actualBody?: string;
|
|
3332
|
+
expectedHeaders?: Record<string, string>;
|
|
3333
|
+
actualHeaders?: Record<string, string>;
|
|
3334
|
+
exitCode: number | null;
|
|
3335
|
+
signal: NodeJS.Signals | null;
|
|
3336
|
+
targetNativeNodeVerified: boolean;
|
|
3337
|
+
translatedContinuationRequired: true;
|
|
3338
|
+
rawCpuRestoreUsed: false;
|
|
3339
|
+
sourceIsaEmulationUsed: false;
|
|
3340
|
+
metadataOnlySuccessAccepted: false;
|
|
3341
|
+
nodeProductSupportClaimed: 85;
|
|
3342
|
+
broadNodeProductSupportClaimed: 25;
|
|
3343
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3344
|
+
};
|
|
3345
|
+
type NodeLevel5ProductSnapshotManifest = {
|
|
3346
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SNAPSHOT_KIND;
|
|
3347
|
+
version: typeof NODE_LEVEL5_PRODUCT_SNAPSHOT_VERSION;
|
|
3348
|
+
status: "node-product-support-85";
|
|
3349
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3350
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3351
|
+
artifactRoot: string;
|
|
3352
|
+
detectorReportPath: "node-level5-detector-report.json";
|
|
3353
|
+
detectorReportSha256: string;
|
|
3354
|
+
targetIdentityPath: "node-level5-target-identity.json";
|
|
3355
|
+
targetIdentitySha256: string;
|
|
3356
|
+
captureReportPath: "node-level5-product-capture-report.json";
|
|
3357
|
+
captureReportSha256: string;
|
|
3358
|
+
artifactBundleKind: "machinen.node-level5-product-support-80-artifact-bundle";
|
|
3359
|
+
translatedContinuationRequired: true;
|
|
3360
|
+
targetNativeNodeRequired: true;
|
|
3361
|
+
rawCpuRestoreSupported: false;
|
|
3362
|
+
sourceIsaEmulationSupported: false;
|
|
3363
|
+
appCheckpointHooksRequired: false;
|
|
3364
|
+
nodeProductSupportClaimed: 85;
|
|
3365
|
+
broadNodeProductSupportClaimed: 25;
|
|
3366
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3367
|
+
};
|
|
3368
|
+
type NodeLevel5ProductSnapshotSummary = {
|
|
3369
|
+
kind: "machinen.node-level5-product-snapshot-summary";
|
|
3370
|
+
accepted: boolean;
|
|
3371
|
+
snapshotDir: string;
|
|
3372
|
+
manifestPath?: string;
|
|
3373
|
+
manifest?: NodeLevel5ProductSnapshotManifest;
|
|
3374
|
+
targetIdentity: NodeLevel5ProductTargetIdentity;
|
|
3375
|
+
detectorReport?: NodeLevel5ProductDetectorReport;
|
|
3376
|
+
captureReport?: NodeLevel5ProductCaptureReport;
|
|
3377
|
+
refusal?: NodeLevel5ProductSnapshotRefusal;
|
|
3378
|
+
};
|
|
3379
|
+
type NodeLevel5ProductRestoreSummary = {
|
|
3380
|
+
kind: "machinen.node-level5-product-restore-summary";
|
|
3381
|
+
accepted: boolean;
|
|
3382
|
+
snapshotDir: string;
|
|
3383
|
+
manifestPath: string;
|
|
3384
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3385
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3386
|
+
targetIdentityVerified: boolean;
|
|
3387
|
+
detectorReportVerified: boolean;
|
|
3388
|
+
captureReportVerified: boolean;
|
|
3389
|
+
materializationReportPath: string;
|
|
3390
|
+
materializationReport: NodeLevel5ProductRestoreMaterializationReport;
|
|
3391
|
+
launchReportPath: string;
|
|
3392
|
+
launchReport: NodeLevel5ProductRestoreLaunchReport;
|
|
3393
|
+
launchReportVerified: boolean;
|
|
3394
|
+
behavioralVerifierReportPath: string;
|
|
3395
|
+
behavioralVerifierReport: NodeLevel5ProductBehavioralVerifierReport;
|
|
3396
|
+
targetNativeNodeVerified: boolean;
|
|
3397
|
+
behavioralVerifierPassed: boolean;
|
|
3398
|
+
artifactHashesVerified: boolean;
|
|
3399
|
+
retentionComplete: boolean;
|
|
3400
|
+
translatedContinuationRequired: true;
|
|
3401
|
+
rawCpuRestoreUsed: false;
|
|
3402
|
+
sourceIsaEmulationUsed: false;
|
|
3403
|
+
nodeProductSupportClaimed: 85;
|
|
3404
|
+
broadNodeProductSupportClaimed: 25;
|
|
3405
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3406
|
+
};
|
|
3407
|
+
declare function createNodeLevel5ProductSnapshot(input: {
|
|
3408
|
+
outDir: string;
|
|
3409
|
+
appDir?: string;
|
|
3410
|
+
target?: Partial<NodeLevel5ProductTargetIdentity> & {
|
|
3411
|
+
target: string;
|
|
3412
|
+
targetKind: "pid" | "name";
|
|
3413
|
+
};
|
|
3414
|
+
direction?: NodeLevel5ProductSnapshotDirection;
|
|
3415
|
+
}): NodeLevel5ProductSnapshotSummary;
|
|
3416
|
+
declare function detectNodeLevel5ProductSnapshotApp(input: {
|
|
3417
|
+
appDir: string;
|
|
3418
|
+
direction?: NodeLevel5ProductSnapshotDirection;
|
|
3419
|
+
}): NodeLevel5ProductDetectorReport;
|
|
3420
|
+
declare function isNodeLevel5ProductSnapshotBundle(snapshotDir: string): boolean;
|
|
3421
|
+
declare function restoreNodeLevel5ProductSnapshot(input: {
|
|
3422
|
+
snapshotDir: string;
|
|
3423
|
+
}): NodeLevel5ProductRestoreSummary;
|
|
3424
|
+
|
|
3425
|
+
type NodeLevel5CorpusHttpEvidence = {
|
|
3426
|
+
routePath: string;
|
|
3427
|
+
expectedStatus: number;
|
|
3428
|
+
actualStatus: number;
|
|
3429
|
+
expectedBody: string;
|
|
3430
|
+
actualBody: string;
|
|
3431
|
+
expectedHeaders: Record<string, string>;
|
|
3432
|
+
actualHeaders: Record<string, string>;
|
|
3433
|
+
snapshotAccepted: boolean;
|
|
3434
|
+
restoreAccepted: boolean;
|
|
3435
|
+
behavioralVerifierPassed: boolean;
|
|
3436
|
+
targetNativeNodeVerified: boolean;
|
|
3437
|
+
};
|
|
3438
|
+
|
|
3439
|
+
declare const NODE_LEVEL5_REAL_APP_CORPUS_REPORT_KIND = "machinen.node-level5-real-app-corpus-report";
|
|
3440
|
+
declare const NODE_LEVEL5_REAL_APP_CORPUS_REPORT_VERSION = 1;
|
|
3441
|
+
type NodeLevel5RealAppCorpusFramework = "express" | "fastify";
|
|
3442
|
+
type NodeLevel5RealAppCorpusRow = NodeLevel5CorpusHttpEvidence & {
|
|
3443
|
+
framework: NodeLevel5RealAppCorpusFramework;
|
|
3444
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3445
|
+
};
|
|
3446
|
+
type NodeLevel5RealAppCorpusReport = {
|
|
3447
|
+
kind: typeof NODE_LEVEL5_REAL_APP_CORPUS_REPORT_KIND;
|
|
3448
|
+
version: typeof NODE_LEVEL5_REAL_APP_CORPUS_REPORT_VERSION;
|
|
3449
|
+
accepted: boolean;
|
|
3450
|
+
rowCount: number;
|
|
3451
|
+
rowsSha256: string;
|
|
3452
|
+
rows: NodeLevel5RealAppCorpusRow[];
|
|
3453
|
+
harnessProof: true;
|
|
3454
|
+
nodeProductSupportClaimed: 80;
|
|
3455
|
+
broadNodeProductSupportClaimed: 20;
|
|
3456
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3457
|
+
};
|
|
3458
|
+
type NodeLevel5RealAppCorpusVerification = {
|
|
3459
|
+
accepted: boolean;
|
|
3460
|
+
kind: "machinen.node-level5-real-app-corpus-verification";
|
|
3461
|
+
rowCount: number;
|
|
3462
|
+
rowsSha256Verified: boolean;
|
|
3463
|
+
nodeProductSupportClaimed: 80;
|
|
3464
|
+
broadNodeProductSupportClaimed: 20;
|
|
3465
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3466
|
+
};
|
|
3467
|
+
declare function createNodeLevel5RealAppCorpusReport(rows: NodeLevel5RealAppCorpusRow[]): NodeLevel5RealAppCorpusReport;
|
|
3468
|
+
declare function writeNodeLevel5RealAppCorpusReport(input: {
|
|
3469
|
+
path: string;
|
|
3470
|
+
rows: NodeLevel5RealAppCorpusRow[];
|
|
3471
|
+
}): NodeLevel5RealAppCorpusReport;
|
|
3472
|
+
declare function verifyNodeLevel5RealAppCorpusReport(report: NodeLevel5RealAppCorpusReport): NodeLevel5RealAppCorpusVerification;
|
|
3473
|
+
declare function loadNodeLevel5RealAppCorpusReport(path: string): NodeLevel5RealAppCorpusReport;
|
|
3474
|
+
|
|
3475
|
+
declare const NODE_LEVEL5_GENERIC_VM_CORPUS_REPORT_KIND = "machinen.node-level5-generic-vm-corpus-report";
|
|
3476
|
+
declare const NODE_LEVEL5_GENERIC_VM_CORPUS_REPORT_VERSION = 1;
|
|
3477
|
+
type NodeLevel5GenericVmModuleSystem = "cjs" | "esm";
|
|
3478
|
+
type NodeLevel5GenericVmRefusalMarker = "activeRequests" | "workerThreads" | "nativeAddons" | "tlsActiveState" | "childProcesses";
|
|
3479
|
+
type NodeLevel5GenericVmPositiveRow = {
|
|
3480
|
+
kind: "positive";
|
|
3481
|
+
id: string;
|
|
3482
|
+
framework: NodeLevel5RealAppCorpusFramework;
|
|
3483
|
+
moduleSystem: NodeLevel5GenericVmModuleSystem;
|
|
3484
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3485
|
+
productCommandPath: "machinen snapshot <vm-name> --out <dir>; machinen restore <dir>";
|
|
3486
|
+
wholeVmSnapshot: true;
|
|
3487
|
+
nodeDetectedInsideVm: true;
|
|
3488
|
+
hostPidProductTargetingUsed: false;
|
|
3489
|
+
nodeOnlyProductSelectorUsed: false;
|
|
3490
|
+
snapshotAccepted: true;
|
|
3491
|
+
restoreAccepted: true;
|
|
3492
|
+
behaviorVerified: true;
|
|
3493
|
+
targetNativeNodeVerified: true;
|
|
3494
|
+
rawCpuRestoreUsed: false;
|
|
3495
|
+
sourceIsaEmulationUsed: false;
|
|
3496
|
+
metadataOnlySuccessAccepted: false;
|
|
3497
|
+
};
|
|
3498
|
+
type NodeLevel5GenericVmRefusalRow = {
|
|
3499
|
+
kind: "refusal";
|
|
3500
|
+
id: string;
|
|
3501
|
+
framework: NodeLevel5RealAppCorpusFramework;
|
|
3502
|
+
marker: NodeLevel5GenericVmRefusalMarker;
|
|
3503
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3504
|
+
productCommandPath: "machinen snapshot <vm-name> --out <dir>";
|
|
3505
|
+
expectedRefusalCode: NodeLevel5ProductSnapshotRefusalCode;
|
|
3506
|
+
actualRefusalCode: NodeLevel5ProductSnapshotRefusalCode;
|
|
3507
|
+
snapshotAccepted: false;
|
|
3508
|
+
restoreAttempted: false;
|
|
3509
|
+
refusedBeforeSnapshot: true;
|
|
3510
|
+
rawCpuRestoreUsed: false;
|
|
3511
|
+
sourceIsaEmulationUsed: false;
|
|
3512
|
+
metadataOnlySuccessAccepted: false;
|
|
3513
|
+
};
|
|
3514
|
+
type NodeLevel5GenericVmCorpusRow = NodeLevel5GenericVmPositiveRow | NodeLevel5GenericVmRefusalRow;
|
|
3515
|
+
type NodeLevel5GenericVmCorpusReport = {
|
|
3516
|
+
kind: typeof NODE_LEVEL5_GENERIC_VM_CORPUS_REPORT_KIND;
|
|
3517
|
+
version: typeof NODE_LEVEL5_GENERIC_VM_CORPUS_REPORT_VERSION;
|
|
3518
|
+
accepted: boolean;
|
|
3519
|
+
rowCount: number;
|
|
3520
|
+
positiveRowCount: number;
|
|
3521
|
+
refusalRowCount: number;
|
|
3522
|
+
rowsSha256: string;
|
|
3523
|
+
rows: NodeLevel5GenericVmCorpusRow[];
|
|
3524
|
+
claimChangeAllowed: false;
|
|
3525
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3526
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3527
|
+
nodeProductSupportClaimed: 80;
|
|
3528
|
+
broadNodeProductSupportClaimed: 20;
|
|
3529
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3530
|
+
};
|
|
3531
|
+
type NodeLevel5GenericVmCorpusVerification = {
|
|
3532
|
+
accepted: boolean;
|
|
3533
|
+
kind: "machinen.node-level5-generic-vm-corpus-verification";
|
|
3534
|
+
rowCount: number;
|
|
3535
|
+
positiveRowCount: number;
|
|
3536
|
+
refusalRowCount: number;
|
|
3537
|
+
rowsSha256Verified: boolean;
|
|
3538
|
+
claimChangeAllowed: false;
|
|
3539
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3540
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3541
|
+
nodeProductSupportClaimed: 80;
|
|
3542
|
+
broadNodeProductSupportClaimed: 20;
|
|
3543
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3544
|
+
};
|
|
3545
|
+
declare function createNodeLevel5GenericVmCorpusReport(rows: NodeLevel5GenericVmCorpusRow[]): NodeLevel5GenericVmCorpusReport;
|
|
3546
|
+
declare function writeNodeLevel5GenericVmCorpusReport(input: {
|
|
3547
|
+
path: string;
|
|
3548
|
+
rows: NodeLevel5GenericVmCorpusRow[];
|
|
3549
|
+
}): NodeLevel5GenericVmCorpusReport;
|
|
3550
|
+
declare function verifyNodeLevel5GenericVmCorpusReport(report: NodeLevel5GenericVmCorpusReport): NodeLevel5GenericVmCorpusVerification;
|
|
3551
|
+
declare function loadNodeLevel5GenericVmCorpusReport(path: string): NodeLevel5GenericVmCorpusReport;
|
|
3552
|
+
|
|
3553
|
+
declare const NODE_LEVEL5_GENERIC_VM_REFUSAL_ARTIFACTS_REPORT_KIND = "machinen.node-level5-generic-vm-refusal-artifacts-report";
|
|
3554
|
+
declare const NODE_LEVEL5_GENERIC_VM_REFUSAL_ARTIFACTS_REPORT_VERSION = 1;
|
|
3555
|
+
type NodeLevel5GenericVmRefusalArtifactFile = {
|
|
3556
|
+
rowId: string;
|
|
3557
|
+
framework: NodeLevel5GenericVmRefusalRow["framework"];
|
|
3558
|
+
marker: NodeLevel5GenericVmRefusalMarker;
|
|
3559
|
+
direction: NodeLevel5GenericVmRefusalRow["direction"];
|
|
3560
|
+
expectedRefusalCode: NodeLevel5GenericVmRefusalRow["expectedRefusalCode"];
|
|
3561
|
+
path: string;
|
|
3562
|
+
sha256: string;
|
|
3563
|
+
required: true;
|
|
3564
|
+
};
|
|
3565
|
+
type NodeLevel5GenericVmRefusalArtifactsReport = {
|
|
3566
|
+
kind: typeof NODE_LEVEL5_GENERIC_VM_REFUSAL_ARTIFACTS_REPORT_KIND;
|
|
3567
|
+
version: typeof NODE_LEVEL5_GENERIC_VM_REFUSAL_ARTIFACTS_REPORT_VERSION;
|
|
3568
|
+
accepted: boolean;
|
|
3569
|
+
refusalRowCount: number;
|
|
3570
|
+
refusalArtifactFiles: NodeLevel5GenericVmRefusalArtifactFile[];
|
|
3571
|
+
refusalArtifactFileCount: number;
|
|
3572
|
+
refusalArtifactFilesSha256: string;
|
|
3573
|
+
markersCovered: NodeLevel5GenericVmRefusalMarker[];
|
|
3574
|
+
claimChangeAllowed: false;
|
|
3575
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3576
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3577
|
+
nodeProductSupportClaimed: 80;
|
|
3578
|
+
broadNodeProductSupportClaimed: 20;
|
|
3579
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3580
|
+
};
|
|
3581
|
+
type NodeLevel5GenericVmRefusalArtifactsVerification = {
|
|
3582
|
+
accepted: boolean;
|
|
3583
|
+
kind: "machinen.node-level5-generic-vm-refusal-artifacts-verification";
|
|
3584
|
+
refusalArtifactFileCount: number;
|
|
3585
|
+
markersCovered: NodeLevel5GenericVmRefusalMarker[];
|
|
3586
|
+
refusalArtifactFilesSha256Verified: boolean;
|
|
3587
|
+
claimChangeAllowed: false;
|
|
3588
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3589
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3590
|
+
nodeProductSupportClaimed: 80;
|
|
3591
|
+
broadNodeProductSupportClaimed: 20;
|
|
3592
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3593
|
+
};
|
|
3594
|
+
declare function createNodeLevel5GenericVmRefusalArtifactsReport(input: {
|
|
3595
|
+
corpusReport: NodeLevel5GenericVmCorpusReport;
|
|
3596
|
+
outDir: string;
|
|
3597
|
+
}): NodeLevel5GenericVmRefusalArtifactsReport;
|
|
3598
|
+
declare function writeNodeLevel5GenericVmRefusalArtifactsReport(input: {
|
|
3599
|
+
corpusReport: NodeLevel5GenericVmCorpusReport;
|
|
3600
|
+
outDir: string;
|
|
3601
|
+
path: string;
|
|
3602
|
+
}): NodeLevel5GenericVmRefusalArtifactsReport;
|
|
3603
|
+
declare function verifyNodeLevel5GenericVmRefusalArtifactsReport(report: NodeLevel5GenericVmRefusalArtifactsReport): NodeLevel5GenericVmRefusalArtifactsVerification;
|
|
3604
|
+
declare function loadNodeLevel5GenericVmRefusalArtifactsReport(path: string): NodeLevel5GenericVmRefusalArtifactsReport;
|
|
3605
|
+
|
|
3606
|
+
declare const NODE_LEVEL5_GENERIC_VM_RETAINED_EVIDENCE_REPORT_KIND = "machinen.node-level5-generic-vm-retained-evidence-report";
|
|
3607
|
+
declare const NODE_LEVEL5_GENERIC_VM_RETAINED_EVIDENCE_REPORT_VERSION = 1;
|
|
3608
|
+
type NodeLevel5GenericVmRetainedEvidenceFile = {
|
|
3609
|
+
path: string;
|
|
3610
|
+
sha256: string;
|
|
3611
|
+
required: true;
|
|
3612
|
+
};
|
|
3613
|
+
type NodeLevel5GenericVmRetainedEvidenceReport = {
|
|
3614
|
+
kind: typeof NODE_LEVEL5_GENERIC_VM_RETAINED_EVIDENCE_REPORT_KIND;
|
|
3615
|
+
version: typeof NODE_LEVEL5_GENERIC_VM_RETAINED_EVIDENCE_REPORT_VERSION;
|
|
3616
|
+
accepted: boolean;
|
|
3617
|
+
productCommandPath: "machinen snapshot <vm-name> --out <dir>; machinen restore <dir>";
|
|
3618
|
+
vmDetectedNodeWorkload: true;
|
|
3619
|
+
restoreProbePassed: true;
|
|
3620
|
+
retainedFiles: NodeLevel5GenericVmRetainedEvidenceFile[];
|
|
3621
|
+
retainedFileCount: number;
|
|
3622
|
+
retainedFilesSha256: string;
|
|
3623
|
+
claimChangeAllowed: false;
|
|
3624
|
+
nodeProductSupportClaimed: 80;
|
|
3625
|
+
broadNodeProductSupportClaimed: 20;
|
|
3626
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3627
|
+
};
|
|
3628
|
+
type NodeLevel5GenericVmRetainedEvidenceVerification = {
|
|
3629
|
+
accepted: boolean;
|
|
3630
|
+
kind: "machinen.node-level5-generic-vm-retained-evidence-verification";
|
|
3631
|
+
retainedFileCount: number;
|
|
3632
|
+
retainedFilesSha256Verified: boolean;
|
|
3633
|
+
claimChangeAllowed: false;
|
|
3634
|
+
nodeProductSupportClaimed: 80;
|
|
3635
|
+
broadNodeProductSupportClaimed: 20;
|
|
3636
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3637
|
+
};
|
|
3638
|
+
declare function createNodeLevel5GenericVmRetainedEvidenceReport(input: {
|
|
3639
|
+
workDir: string;
|
|
3640
|
+
}): NodeLevel5GenericVmRetainedEvidenceReport;
|
|
3641
|
+
declare function writeNodeLevel5GenericVmRetainedEvidenceReport(input: {
|
|
3642
|
+
workDir: string;
|
|
3643
|
+
path: string;
|
|
3644
|
+
}): NodeLevel5GenericVmRetainedEvidenceReport;
|
|
3645
|
+
declare function verifyNodeLevel5GenericVmRetainedEvidenceReport(report: NodeLevel5GenericVmRetainedEvidenceReport): NodeLevel5GenericVmRetainedEvidenceVerification;
|
|
3646
|
+
declare function loadNodeLevel5GenericVmRetainedEvidenceReport(path: string): NodeLevel5GenericVmRetainedEvidenceReport;
|
|
3647
|
+
|
|
3648
|
+
declare const NODE_LEVEL5_GENERIC_VM_ROW_ARTIFACTS_REPORT_KIND = "machinen.node-level5-generic-vm-row-artifacts-report";
|
|
3649
|
+
declare const NODE_LEVEL5_GENERIC_VM_ROW_ARTIFACTS_REPORT_VERSION = 1;
|
|
3650
|
+
type NodeLevel5GenericVmRowArtifactFile = {
|
|
3651
|
+
rowId: string;
|
|
3652
|
+
rowKind: NodeLevel5GenericVmCorpusRow["kind"];
|
|
3653
|
+
path: string;
|
|
3654
|
+
sha256: string;
|
|
3655
|
+
required: true;
|
|
3656
|
+
};
|
|
3657
|
+
type NodeLevel5GenericVmRowArtifactsReport = {
|
|
3658
|
+
kind: typeof NODE_LEVEL5_GENERIC_VM_ROW_ARTIFACTS_REPORT_KIND;
|
|
3659
|
+
version: typeof NODE_LEVEL5_GENERIC_VM_ROW_ARTIFACTS_REPORT_VERSION;
|
|
3660
|
+
accepted: boolean;
|
|
3661
|
+
rowCount: number;
|
|
3662
|
+
positiveRowCount: number;
|
|
3663
|
+
refusalRowCount: number;
|
|
3664
|
+
rowArtifactFiles: NodeLevel5GenericVmRowArtifactFile[];
|
|
3665
|
+
rowArtifactFileCount: number;
|
|
3666
|
+
rowArtifactFilesSha256: string;
|
|
3667
|
+
claimChangeAllowed: false;
|
|
3668
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3669
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3670
|
+
nodeProductSupportClaimed: 80;
|
|
3671
|
+
broadNodeProductSupportClaimed: 20;
|
|
3672
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3673
|
+
};
|
|
3674
|
+
type NodeLevel5GenericVmRowArtifactsVerification = {
|
|
3675
|
+
accepted: boolean;
|
|
3676
|
+
kind: "machinen.node-level5-generic-vm-row-artifacts-verification";
|
|
3677
|
+
rowCount: number;
|
|
3678
|
+
positiveRowCount: number;
|
|
3679
|
+
refusalRowCount: number;
|
|
3680
|
+
rowArtifactFileCount: number;
|
|
3681
|
+
rowArtifactFilesSha256Verified: boolean;
|
|
3682
|
+
claimChangeAllowed: false;
|
|
3683
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3684
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3685
|
+
nodeProductSupportClaimed: 80;
|
|
3686
|
+
broadNodeProductSupportClaimed: 20;
|
|
3687
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3688
|
+
};
|
|
3689
|
+
declare function createNodeLevel5GenericVmRowArtifactsReport(input: {
|
|
3690
|
+
corpusReport: NodeLevel5GenericVmCorpusReport;
|
|
3691
|
+
outDir: string;
|
|
3692
|
+
}): NodeLevel5GenericVmRowArtifactsReport;
|
|
3693
|
+
declare function writeNodeLevel5GenericVmRowArtifactsReport(input: {
|
|
3694
|
+
corpusReport: NodeLevel5GenericVmCorpusReport;
|
|
3695
|
+
outDir: string;
|
|
3696
|
+
path: string;
|
|
3697
|
+
}): NodeLevel5GenericVmRowArtifactsReport;
|
|
3698
|
+
declare function verifyNodeLevel5GenericVmRowArtifactsReport(report: NodeLevel5GenericVmRowArtifactsReport): NodeLevel5GenericVmRowArtifactsVerification;
|
|
3699
|
+
declare function loadNodeLevel5GenericVmRowArtifactsReport(path: string): NodeLevel5GenericVmRowArtifactsReport;
|
|
3700
|
+
|
|
3701
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_85_READINESS_KIND = "machinen.node-level5-product-support-85-readiness";
|
|
3702
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_85_READINESS_VERSION = 1;
|
|
3703
|
+
type NodeLevel5ProductSupport85ReadinessGateStatus = "passed" | "blocked";
|
|
3704
|
+
type NodeLevel5ProductSupport85ReadinessGateId = "generic-vm-corpus-accepted" | "generic-vm-positive-row-count" | "generic-vm-refusal-row-count" | "generic-vm-corpus-hash-verified" | "generic-vm-retained-evidence-accepted" | "generic-vm-retained-evidence-files" | "generic-vm-row-artifacts-accepted" | "generic-vm-row-artifacts-complete" | "generic-vm-refusal-artifacts-accepted" | "generic-vm-refusal-artifacts-complete" | "claim-values-remain-current" | "claim-change-unlocked";
|
|
3705
|
+
type NodeLevel5ProductSupport85ReadinessGate = {
|
|
3706
|
+
id: NodeLevel5ProductSupport85ReadinessGateId;
|
|
3707
|
+
status: NodeLevel5ProductSupport85ReadinessGateStatus;
|
|
3708
|
+
message: string;
|
|
3709
|
+
};
|
|
3710
|
+
type NodeLevel5ProductSupport85ReadinessReport = {
|
|
3711
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_85_READINESS_KIND;
|
|
3712
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_85_READINESS_VERSION;
|
|
3713
|
+
accepted: boolean;
|
|
3714
|
+
candidateEvidenceAccepted: boolean;
|
|
3715
|
+
claimChangeAllowed: false;
|
|
3716
|
+
currentNodeProductSupportClaimed: 80;
|
|
3717
|
+
currentBroadNodeProductSupportClaimed: 20;
|
|
3718
|
+
currentArbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3719
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3720
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3721
|
+
candidateArbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3722
|
+
gates: NodeLevel5ProductSupport85ReadinessGate[];
|
|
3723
|
+
blockedGates: NodeLevel5ProductSupport85ReadinessGate[];
|
|
3724
|
+
};
|
|
3725
|
+
declare function loadNodeLevel5ProductSupport85ReadinessReport(path: string): NodeLevel5ProductSupport85ReadinessReport;
|
|
3726
|
+
declare function evaluateNodeLevel5ProductSupport85Readiness(input: {
|
|
3727
|
+
genericVmCorpusReport: NodeLevel5GenericVmCorpusReport;
|
|
3728
|
+
genericVmRetainedEvidenceReport?: NodeLevel5GenericVmRetainedEvidenceReport;
|
|
3729
|
+
genericVmRowArtifactsReport?: NodeLevel5GenericVmRowArtifactsReport;
|
|
3730
|
+
genericVmRefusalArtifactsReport?: NodeLevel5GenericVmRefusalArtifactsReport;
|
|
3731
|
+
}): NodeLevel5ProductSupport85ReadinessReport;
|
|
3732
|
+
|
|
3733
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_85_CLAIM_READY_KIND = "machinen.node-level5-product-support-85-claim-ready";
|
|
3734
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_85_CLAIM_READY_VERSION = 1;
|
|
3735
|
+
type NodeLevel5ProductSupport85ClaimReadyGateStatus = "passed" | "blocked";
|
|
3736
|
+
type NodeLevel5ProductSupport85ClaimReadyGateId = "readiness-report-shape" | "candidate-evidence-complete" | "only-claim-unlock-blocked" | "matrix-counts-stable" | "claim-values-current" | "candidate-target-present" | "arbitrary-process-remains-zero" | "claim-change-unlocked";
|
|
3737
|
+
type NodeLevel5ProductSupport85ClaimReadyGate = {
|
|
3738
|
+
id: NodeLevel5ProductSupport85ClaimReadyGateId;
|
|
3739
|
+
status: NodeLevel5ProductSupport85ClaimReadyGateStatus;
|
|
3740
|
+
message: string;
|
|
3741
|
+
};
|
|
3742
|
+
type NodeLevel5ProductSupport85ClaimReadyReport = {
|
|
3743
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_85_CLAIM_READY_KIND;
|
|
3744
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_85_CLAIM_READY_VERSION;
|
|
3745
|
+
accepted: boolean;
|
|
3746
|
+
claimReadyEvidenceAccepted: boolean;
|
|
3747
|
+
claimChangeAllowed: true;
|
|
3748
|
+
currentNodeProductSupportClaimed: 85;
|
|
3749
|
+
currentBroadNodeProductSupportClaimed: 25;
|
|
3750
|
+
currentArbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3751
|
+
candidateNodeProductSupportClaimed: 85;
|
|
3752
|
+
candidateBroadNodeProductSupportClaimed: 25;
|
|
3753
|
+
candidateArbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3754
|
+
matrixCounts: {
|
|
3755
|
+
total: 114;
|
|
3756
|
+
supported: 68;
|
|
3757
|
+
refused: 42;
|
|
3758
|
+
notProven: 4;
|
|
3759
|
+
};
|
|
3760
|
+
gates: NodeLevel5ProductSupport85ClaimReadyGate[];
|
|
3761
|
+
blockedGates: NodeLevel5ProductSupport85ClaimReadyGate[];
|
|
3762
|
+
};
|
|
3763
|
+
declare function evaluateNodeLevel5ProductSupport85ClaimReady(input: {
|
|
3764
|
+
readinessReport: NodeLevel5ProductSupport85ReadinessReport;
|
|
3765
|
+
appSupportMatrix?: NodeLevel5AppSupportMatrix;
|
|
3766
|
+
}): NodeLevel5ProductSupport85ClaimReadyReport;
|
|
3767
|
+
|
|
3768
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_80_ARTIFACT_BUNDLE_KIND = "machinen.node-level5-product-support-80-artifact-bundle";
|
|
3769
|
+
declare const NODE_LEVEL5_PRODUCT_SUPPORT_80_HARDENING_KIND = "machinen.node-level5-product-support-80-hardening";
|
|
3770
|
+
type NodeLevel5ProductSupport80ArtifactBundle = {
|
|
3771
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_80_ARTIFACT_BUNDLE_KIND;
|
|
3772
|
+
version: typeof NODE_LEVEL5_PRODUCT_SUPPORT_80_VERSION;
|
|
3773
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3774
|
+
direction: "arm64-to-amd64" | "amd64-to-arm64";
|
|
3775
|
+
artifactRoot: string;
|
|
3776
|
+
manifestPath: string;
|
|
3777
|
+
captureSummaryPath: string;
|
|
3778
|
+
restoreSummaryPath: string;
|
|
3779
|
+
targetLogPath: string;
|
|
3780
|
+
targetNativeVerifierPath: string;
|
|
3781
|
+
behavioralVerifierPath: string;
|
|
3782
|
+
refusalRowsPath: string;
|
|
3783
|
+
versionInfoPath: string;
|
|
3784
|
+
triageBundlePath: string;
|
|
3785
|
+
evidence: NodeLevel5RealVmCrossArchEvidence;
|
|
3786
|
+
};
|
|
3787
|
+
type NodeLevel5ProductSupport80ArtifactVerification = {
|
|
3788
|
+
accepted: boolean;
|
|
3789
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3790
|
+
direction: "arm64-to-amd64" | "amd64-to-arm64";
|
|
3791
|
+
checkedPaths: readonly string[];
|
|
3792
|
+
targetNativeNodeVerified: boolean;
|
|
3793
|
+
behavioralVerifierPassed: boolean;
|
|
3794
|
+
rawCpuRestoreUsed: boolean;
|
|
3795
|
+
sourceIsaEmulationUsed: boolean;
|
|
3796
|
+
metadataOnlySuccessAccepted: boolean;
|
|
3797
|
+
manifestSchemaVerified: boolean;
|
|
3798
|
+
artifactHashesVerified: boolean;
|
|
3799
|
+
retentionComplete: boolean;
|
|
3800
|
+
};
|
|
3801
|
+
type NodeLevel5ProductSupport80UnsupportedDetector = NodeLevel5ProductUnsupportedNeighbor & {
|
|
3802
|
+
detector: string;
|
|
3803
|
+
stable: true;
|
|
3804
|
+
artifactRequired: true;
|
|
3805
|
+
};
|
|
3806
|
+
type NodeLevel5ProductSupport80ClaimRegistry = {
|
|
3807
|
+
kind: typeof NODE_LEVEL5_PRODUCT_SUPPORT_80_HARDENING_KIND;
|
|
3808
|
+
status: "node-product-support-80-hardened";
|
|
3809
|
+
declaredSubsetExperimentalProductSupportClaimed: 100;
|
|
3810
|
+
nodeProductSupportTiers: readonly [20, 50, 65, 80];
|
|
3811
|
+
nodeProductSupportClaimed: 80;
|
|
3812
|
+
broadNodeProductSupportClaimed: 20;
|
|
3813
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3814
|
+
realVmCrossArchEvidenceRequired: true;
|
|
3815
|
+
artifactRetentionDays: 30;
|
|
3816
|
+
flakeBudgetPercent: 0;
|
|
3817
|
+
supportedFamilyCount: 17;
|
|
3818
|
+
unsupportedDetectorCount: number;
|
|
3819
|
+
};
|
|
3820
|
+
declare const nodeLevel5ProductSupport80UnsupportedDetectors: readonly NodeLevel5ProductSupport80UnsupportedDetector[];
|
|
3821
|
+
declare const nodeLevel5ProductSupport80ClaimRegistry: NodeLevel5ProductSupport80ClaimRegistry;
|
|
3822
|
+
declare function createNodeLevel5ProductSupport80ArtifactBundle(input: {
|
|
3823
|
+
outDir: string;
|
|
3824
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3825
|
+
direction: "arm64-to-amd64" | "amd64-to-arm64";
|
|
3826
|
+
}): NodeLevel5ProductSupport80ArtifactBundle;
|
|
3827
|
+
declare function loadNodeLevel5ProductSupport80ArtifactBundle(input: {
|
|
3828
|
+
artifactRoot: string;
|
|
3829
|
+
familyId: NodeLevel5ProductSupport80FamilyId;
|
|
3830
|
+
direction: "arm64-to-amd64" | "amd64-to-arm64";
|
|
3831
|
+
}): NodeLevel5ProductSupport80ArtifactBundle;
|
|
3832
|
+
declare function verifyNodeLevel5ProductSupport80ArtifactBundle(bundle: NodeLevel5ProductSupport80ArtifactBundle): NodeLevel5ProductSupport80ArtifactVerification;
|
|
3833
|
+
declare function assertNodeLevel5ProductSupport80HardeningComplete(): boolean;
|
|
3834
|
+
|
|
3835
|
+
declare const NODE_LEVEL5_INSTALLED_THIRD_PARTY_APP_CORPUS_REPORT_KIND = "machinen.node-level5-installed-third-party-app-corpus-report";
|
|
3836
|
+
declare const NODE_LEVEL5_INSTALLED_THIRD_PARTY_APP_CORPUS_REPORT_VERSION = 1;
|
|
3837
|
+
type NodeLevel5InstalledThirdPartyAppSource = "express-installed-hello-world" | "express-installed-router" | "express-installed-json-response" | "express-installed-route-params" | "express-installed-query-string" | "express-installed-static-asset" | "express-installed-idle-timer" | "express-installed-safe-outbound-reconnect" | "express-installed-post-json-body" | "express-installed-custom-header" | "express-installed-put-route" | "express-installed-delete-route" | "express-installed-cookie-read" | "express-installed-status-code" | "express-installed-redirect" | "express-installed-response-header" | "express-installed-middleware-chain" | "express-installed-not-found" | "express-installed-error-handler" | "express-installed-request-id" | "express-installed-nested-router" | "express-installed-optional-param" | "express-installed-multi-route" | "express-installed-static-cache-header" | "express-installed-env-read" | "express-installed-config-json-read" | "express-installed-feature-flag-env" | "express-installed-configured-prefix" | "express-installed-health-check" | "fastify-installed-getting-started" | "fastify-installed-plugin-route" | "fastify-installed-json-response" | "fastify-installed-route-params" | "fastify-installed-query-string" | "fastify-installed-static-asset" | "fastify-installed-idle-timer" | "fastify-installed-safe-outbound-reconnect" | "fastify-installed-post-json-body" | "fastify-installed-custom-header" | "fastify-installed-put-route" | "fastify-installed-delete-route" | "fastify-installed-cookie-read" | "fastify-installed-status-code" | "fastify-installed-redirect" | "fastify-installed-response-header" | "fastify-installed-hook-chain" | "fastify-installed-not-found" | "fastify-installed-error-handler" | "fastify-installed-request-id" | "fastify-installed-prefix-route" | "fastify-installed-optional-param" | "fastify-installed-multi-route" | "fastify-installed-static-cache-header" | "fastify-installed-env-read" | "fastify-installed-config-json-read" | "fastify-installed-feature-flag-env" | "fastify-installed-configured-prefix" | "fastify-installed-health-check";
|
|
3838
|
+
type NodeLevel5InstalledThirdPartyAppCorpusRow = NodeLevel5CorpusHttpEvidence & {
|
|
3839
|
+
appName: string;
|
|
3840
|
+
source: NodeLevel5InstalledThirdPartyAppSource;
|
|
3841
|
+
framework: NodeLevel5RealAppCorpusFramework;
|
|
3842
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3843
|
+
installedPackage: string;
|
|
3844
|
+
installedPackageVersion: string;
|
|
3845
|
+
declaredSubset: true;
|
|
3846
|
+
unsupportedStateDetected: false;
|
|
3847
|
+
};
|
|
3848
|
+
type NodeLevel5InstalledThirdPartyAppCorpusReport = {
|
|
3849
|
+
kind: typeof NODE_LEVEL5_INSTALLED_THIRD_PARTY_APP_CORPUS_REPORT_KIND;
|
|
3850
|
+
version: typeof NODE_LEVEL5_INSTALLED_THIRD_PARTY_APP_CORPUS_REPORT_VERSION;
|
|
3851
|
+
accepted: boolean;
|
|
3852
|
+
rowCount: number;
|
|
3853
|
+
rowsSha256: string;
|
|
3854
|
+
rows: NodeLevel5InstalledThirdPartyAppCorpusRow[];
|
|
3855
|
+
harnessProof: true;
|
|
3856
|
+
nodeProductSupportClaimed: 80;
|
|
3857
|
+
broadNodeProductSupportClaimed: 20;
|
|
3858
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3859
|
+
};
|
|
3860
|
+
type NodeLevel5InstalledThirdPartyAppCorpusVerification = {
|
|
3861
|
+
accepted: boolean;
|
|
3862
|
+
kind: "machinen.node-level5-installed-third-party-app-corpus-verification";
|
|
3863
|
+
rowCount: number;
|
|
3864
|
+
rowsSha256Verified: boolean;
|
|
3865
|
+
nodeProductSupportClaimed: 80;
|
|
3866
|
+
broadNodeProductSupportClaimed: 20;
|
|
3867
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3868
|
+
};
|
|
3869
|
+
declare function createNodeLevel5InstalledThirdPartyAppCorpusReport(rows: NodeLevel5InstalledThirdPartyAppCorpusRow[]): NodeLevel5InstalledThirdPartyAppCorpusReport;
|
|
3870
|
+
declare function writeNodeLevel5InstalledThirdPartyAppCorpusReport(input: {
|
|
3871
|
+
path: string;
|
|
3872
|
+
rows: NodeLevel5InstalledThirdPartyAppCorpusRow[];
|
|
3873
|
+
}): NodeLevel5InstalledThirdPartyAppCorpusReport;
|
|
3874
|
+
declare function verifyNodeLevel5InstalledThirdPartyAppCorpusReport(report: NodeLevel5InstalledThirdPartyAppCorpusReport): NodeLevel5InstalledThirdPartyAppCorpusVerification;
|
|
3875
|
+
declare function loadNodeLevel5InstalledThirdPartyAppCorpusReport(path: string): NodeLevel5InstalledThirdPartyAppCorpusReport;
|
|
3876
|
+
|
|
3877
|
+
declare const NODE_LEVEL5_THIRD_PARTY_APP_CORPUS_REPORT_KIND = "machinen.node-level5-third-party-app-corpus-report";
|
|
3878
|
+
declare const NODE_LEVEL5_THIRD_PARTY_APP_CORPUS_REPORT_VERSION = 1;
|
|
3879
|
+
type NodeLevel5ThirdPartyAppSource = "express-official-hello-world" | "express-generator-router" | "fastify-official-getting-started" | "fastify-plugin-route";
|
|
3880
|
+
type NodeLevel5ThirdPartyAppCorpusRow = NodeLevel5CorpusHttpEvidence & {
|
|
3881
|
+
appName: string;
|
|
3882
|
+
source: NodeLevel5ThirdPartyAppSource;
|
|
3883
|
+
framework: NodeLevel5RealAppCorpusFramework;
|
|
3884
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3885
|
+
declaredSubset: true;
|
|
3886
|
+
unsupportedStateDetected: false;
|
|
3887
|
+
};
|
|
3888
|
+
type NodeLevel5ThirdPartyAppCorpusReport = {
|
|
3889
|
+
kind: typeof NODE_LEVEL5_THIRD_PARTY_APP_CORPUS_REPORT_KIND;
|
|
3890
|
+
version: typeof NODE_LEVEL5_THIRD_PARTY_APP_CORPUS_REPORT_VERSION;
|
|
3891
|
+
accepted: boolean;
|
|
3892
|
+
rowCount: number;
|
|
3893
|
+
rowsSha256: string;
|
|
3894
|
+
rows: NodeLevel5ThirdPartyAppCorpusRow[];
|
|
3895
|
+
harnessProof: true;
|
|
3896
|
+
nodeProductSupportClaimed: 80;
|
|
3897
|
+
broadNodeProductSupportClaimed: 20;
|
|
3898
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3899
|
+
};
|
|
3900
|
+
type NodeLevel5ThirdPartyAppCorpusVerification = {
|
|
3901
|
+
accepted: boolean;
|
|
3902
|
+
kind: "machinen.node-level5-third-party-app-corpus-verification";
|
|
3903
|
+
rowCount: number;
|
|
3904
|
+
rowsSha256Verified: boolean;
|
|
3905
|
+
nodeProductSupportClaimed: 80;
|
|
3906
|
+
broadNodeProductSupportClaimed: 20;
|
|
3907
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3908
|
+
};
|
|
3909
|
+
declare function createNodeLevel5ThirdPartyAppCorpusReport(rows: NodeLevel5ThirdPartyAppCorpusRow[]): NodeLevel5ThirdPartyAppCorpusReport;
|
|
3910
|
+
declare function writeNodeLevel5ThirdPartyAppCorpusReport(input: {
|
|
3911
|
+
path: string;
|
|
3912
|
+
rows: NodeLevel5ThirdPartyAppCorpusRow[];
|
|
3913
|
+
}): NodeLevel5ThirdPartyAppCorpusReport;
|
|
3914
|
+
declare function verifyNodeLevel5ThirdPartyAppCorpusReport(report: NodeLevel5ThirdPartyAppCorpusReport): NodeLevel5ThirdPartyAppCorpusVerification;
|
|
3915
|
+
declare function loadNodeLevel5ThirdPartyAppCorpusReport(path: string): NodeLevel5ThirdPartyAppCorpusReport;
|
|
3916
|
+
|
|
3917
|
+
declare const NODE_LEVEL5_REAL_APP_REFUSAL_CORPUS_REPORT_KIND = "machinen.node-level5-real-app-refusal-corpus-report";
|
|
3918
|
+
declare const NODE_LEVEL5_REAL_APP_REFUSAL_CORPUS_REPORT_VERSION = 1;
|
|
3919
|
+
type NodeLevel5RealAppRefusalMarker = "activeRequests" | "workerThreads" | "nativeAddons" | "wasmExternalMemory" | "tlsActiveState" | "childProcesses" | "filesystemWatchers" | "websockets" | "dbConnections" | "redisQueueConnections" | "outboundHttpSockets" | "http2Sessions" | "serverSentEvents" | "openWritableFiles" | "timersIntervals" | "clusterMode";
|
|
3920
|
+
type NodeLevel5RealAppRefusalCorpusRow = {
|
|
3921
|
+
framework: NodeLevel5RealAppCorpusFramework;
|
|
3922
|
+
direction: NodeLevel5ProductSnapshotDirection;
|
|
3923
|
+
marker: NodeLevel5RealAppRefusalMarker;
|
|
3924
|
+
expectedRefusalCode: NodeLevel5ProductSnapshotRefusalCode;
|
|
3925
|
+
actualRefusalCode: NodeLevel5ProductSnapshotRefusalCode;
|
|
3926
|
+
snapshotAccepted: false;
|
|
3927
|
+
snapshotManifestWritten: false;
|
|
3928
|
+
refusedBeforeSnapshot: true;
|
|
3929
|
+
productCommandPath: "machinen snapshot <vm-name> --out <dir>";
|
|
3930
|
+
rawCpuRestoreUsed: false;
|
|
3931
|
+
sourceIsaEmulationUsed: false;
|
|
3932
|
+
metadataOnlySuccessAccepted: false;
|
|
3933
|
+
};
|
|
3934
|
+
type NodeLevel5RealAppRefusalCorpusReport = {
|
|
3935
|
+
kind: typeof NODE_LEVEL5_REAL_APP_REFUSAL_CORPUS_REPORT_KIND;
|
|
3936
|
+
version: typeof NODE_LEVEL5_REAL_APP_REFUSAL_CORPUS_REPORT_VERSION;
|
|
3937
|
+
accepted: boolean;
|
|
3938
|
+
rowCount: number;
|
|
3939
|
+
rowsSha256: string;
|
|
3940
|
+
rows: NodeLevel5RealAppRefusalCorpusRow[];
|
|
3941
|
+
harnessProof: true;
|
|
3942
|
+
nodeProductSupportClaimed: 80;
|
|
3943
|
+
broadNodeProductSupportClaimed: 20;
|
|
3944
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3945
|
+
};
|
|
3946
|
+
type NodeLevel5RealAppRefusalCorpusVerification = {
|
|
3947
|
+
accepted: boolean;
|
|
3948
|
+
kind: "machinen.node-level5-real-app-refusal-corpus-verification";
|
|
3949
|
+
rowCount: number;
|
|
3950
|
+
rowsSha256Verified: boolean;
|
|
3951
|
+
nodeProductSupportClaimed: 80;
|
|
3952
|
+
broadNodeProductSupportClaimed: 20;
|
|
3953
|
+
arbitraryProcessCrossArchRestoreClaimed: 0;
|
|
3954
|
+
};
|
|
3955
|
+
declare function createNodeLevel5RealAppRefusalCorpusReport(rows: NodeLevel5RealAppRefusalCorpusRow[]): NodeLevel5RealAppRefusalCorpusReport;
|
|
3956
|
+
declare function writeNodeLevel5RealAppRefusalCorpusReport(input: {
|
|
3957
|
+
path: string;
|
|
3958
|
+
rows: NodeLevel5RealAppRefusalCorpusRow[];
|
|
3959
|
+
}): NodeLevel5RealAppRefusalCorpusReport;
|
|
3960
|
+
declare function verifyNodeLevel5RealAppRefusalCorpusReport(report: NodeLevel5RealAppRefusalCorpusReport): NodeLevel5RealAppRefusalCorpusVerification;
|
|
3961
|
+
declare function loadNodeLevel5RealAppRefusalCorpusReport(path: string): NodeLevel5RealAppRefusalCorpusReport;
|
|
3962
|
+
|
|
2219
3963
|
/**
|
|
2220
3964
|
* Transparent native cross-ISA process image contract.
|
|
2221
3965
|
*
|
|
@@ -2236,7 +3980,7 @@ declare const NATIVE_PROCESS_IMAGE_FILES: {
|
|
|
2236
3980
|
};
|
|
2237
3981
|
declare const nativeProcessImageArchitectures: readonly ["arm64", "amd64"];
|
|
2238
3982
|
type NativeProcessImageArchitecture = (typeof nativeProcessImageArchitectures)[number];
|
|
2239
|
-
declare const nativeProcessImageRefusalCodes: readonly ["active-syscall", "architecture-pair-unsupported", "architecture-unsupported", "blocking-syscall-state-unsupported", "code-location-unknown", "fd-kind-unsupported", "futex-state-unsupported", "inherited-stdio-policy-required", "kernel-state-unsupported", "mapping-ambiguous", "mapping-permission-unsupported", "mapping-unreadable", "pointer-ambiguous", "resource-kind-unsupported", "non-stdio-kernel-state-unsupported", "rseq-state-unsupported", "signal-frame-active", "signal-state-unsupported", "stdin-buffer-state-unsupported", "syscall-argument-state-unsupported", "syscall-restart-unsupported", "target-build-id-mismatch", "target-build-mismatch", "target-code-location-unresolved", "target-callee-saved-state-unsupported", "target-caller-frame-unavailable", "target-code-rva-unmapped", "target-frame-layout-unsupported", "target-frame-register-value-unavailable", "target-module-bytes-missing", "target-module-file-missing", "target-module-missing", "target-module-not-executable", "target-module-range-unreadable", "target-ppoll-syscall-continuation-missing", "target-ppoll-timeout-missing", "target-return-slot-unsupported", "target-resume-execution-unavailable", "target-resume-fault-invalid-code-landing", "target-resume-fault-outside-target-bytes", "target-resume-fault-privileged-instruction", "target-resume-fault-signal-unsupported", "target-resume-fault-timeout", "target-resume-fault-unmodeled-memory", "target-semantic-continuation-missing", "target-sleep-remaining-time-missing", "target-sleep-signal-restart-unsupported", "target-sleep-syscall-continuation-missing", "target-synthetic-signal-restart-unsupported", "target-synthetic-syscall-return-unmodeled", "thread-state-unsupported", "tls-state-unsupported", "return-slot-unreadable", "target-unwind-mismatch", "unwind-fde-missing", "unwind-metadata-missing", "unwind-rule-unsupported", "vdso-policy-unsupported"];
|
|
3983
|
+
declare const nativeProcessImageRefusalCodes: readonly ["active-syscall", "architecture-pair-unsupported", "architecture-unsupported", "blocking-syscall-state-unsupported", "code-location-unknown", "cross-isa-vmstate-restore-unsupported", "fd-kind-unsupported", "futex-state-unsupported", "inherited-stdio-policy-required", "kernel-state-unsupported", "mapping-ambiguous", "mapping-captured-range-unsupported", "mapping-executable-unsupported", "mapping-permission-unsupported", "mapping-provenance-ambiguous", "mapping-shared-unsupported", "mapping-unreadable", "pointer-ambiguous", "proof-arch-pair-unsupported", "resource-kind-unsupported", "non-stdio-kernel-state-unsupported", "rseq-state-unsupported", "signal-frame-active", "signal-state-unsupported", "simd-fpu-state-unsupported", "stdin-buffer-state-unsupported", "syscall-argument-state-unsupported", "syscall-restart-unsupported", "target-build-id-mismatch", "target-build-mismatch", "target-code-location-unresolved", "target-callee-saved-state-unsupported", "target-caller-frame-unavailable", "target-code-rva-unmapped", "target-code-outside-portable-bundle", "target-epoll-syscall-state-unsupported", "target-fd-table-duplicate", "target-fd-read-state-missing", "target-fd-write-state-missing", "target-fd-table-missing", "target-frame-layout-unsupported", "target-frame-register-value-unavailable", "target-module-bytes-missing", "target-module-file-missing", "target-module-missing", "target-module-not-executable", "target-module-range-unreadable", "target-ppoll-syscall-continuation-missing", "target-ppoll-timeout-missing", "target-process-context-unsupported", "target-return-slot-unsupported", "target-signalfd-state-unsupported", "target-resume-execution-unavailable", "target-resume-fault-invalid-code-landing", "target-resume-fault-outside-target-bytes", "target-resume-fault-privileged-instruction", "target-resume-fault-signal-unsupported", "target-resume-fault-timeout", "target-resume-fault-unmodeled-memory", "target-semantic-continuation-missing", "target-sleep-remaining-time-missing", "target-socket-syscall-state-unsupported", "target-sleep-signal-restart-unsupported", "target-sleep-syscall-continuation-missing", "target-stack-window-unsupported", "target-synthetic-signal-interrupted-unsupported", "target-synthetic-signal-restart-unsupported", "target-synthetic-syscall-return-unmodeled", "thread-state-unsupported", "tls-state-unsupported", "return-slot-unreadable", "target-unwind-mismatch", "unwind-fde-missing", "unwind-metadata-missing", "unwind-rule-unsupported", "vdso-policy-unsupported"];
|
|
2240
3984
|
type NativeProcessImageRefusalCode = (typeof nativeProcessImageRefusalCodes)[number];
|
|
2241
3985
|
interface NativeProcessImageRefusal {
|
|
2242
3986
|
code: NativeProcessImageRefusalCode;
|
|
@@ -2337,6 +4081,37 @@ interface NativeAmd64Registers {
|
|
|
2337
4081
|
gsBase: string;
|
|
2338
4082
|
}
|
|
2339
4083
|
type NativeRegisterState = NativeArm64Registers | NativeAmd64Registers;
|
|
4084
|
+
type NativeTlsThreadPointerRegister = "arm64-tpidr-el0" | "amd64-fs-base";
|
|
4085
|
+
type NativeTlsAmd64SegmentBases = {
|
|
4086
|
+
state: "not-required";
|
|
4087
|
+
fsBase: string;
|
|
4088
|
+
gsBase: string;
|
|
4089
|
+
reason?: string;
|
|
4090
|
+
} | {
|
|
4091
|
+
state: "provided";
|
|
4092
|
+
fsBase: string;
|
|
4093
|
+
gsBase: string;
|
|
4094
|
+
provenance?: string;
|
|
4095
|
+
} | {
|
|
4096
|
+
state: "unsupported";
|
|
4097
|
+
reason?: string;
|
|
4098
|
+
refusal?: NativeProcessImageRefusal;
|
|
4099
|
+
};
|
|
4100
|
+
type NativeSimdFpuLiveSubset = "fp-control-state" | "caller-saved-vector-registers" | "callee-saved-vector-registers" | "unknown-live-state";
|
|
4101
|
+
type NativeSimdFpuState = {
|
|
4102
|
+
state: "not-live";
|
|
4103
|
+
provenance?: string;
|
|
4104
|
+
} | {
|
|
4105
|
+
state: "requires-restore";
|
|
4106
|
+
arch?: NativeProcessImageArchitecture;
|
|
4107
|
+
byteLength?: number;
|
|
4108
|
+
liveSubset?: NativeSimdFpuLiveSubset;
|
|
4109
|
+
reason?: string;
|
|
4110
|
+
} | {
|
|
4111
|
+
state: "not-captured" | "unsupported";
|
|
4112
|
+
reason?: string;
|
|
4113
|
+
refusal?: NativeProcessImageRefusal;
|
|
4114
|
+
};
|
|
2340
4115
|
interface NativeThreadState {
|
|
2341
4116
|
id: string;
|
|
2342
4117
|
lwpid?: number;
|
|
@@ -2365,11 +4140,14 @@ interface NativeThreadState {
|
|
|
2365
4140
|
};
|
|
2366
4141
|
tls: {
|
|
2367
4142
|
threadPointer: string;
|
|
4143
|
+
sourceRegister?: NativeTlsThreadPointerRegister;
|
|
4144
|
+
targetSegmentBases?: NativeTlsAmd64SegmentBases;
|
|
2368
4145
|
rseq: {
|
|
2369
4146
|
state: "absent" | "captured" | "unsupported";
|
|
2370
4147
|
refusal?: NativeProcessImageRefusal;
|
|
2371
4148
|
};
|
|
2372
4149
|
};
|
|
4150
|
+
simdFpu?: NativeSimdFpuState;
|
|
2373
4151
|
refusal?: NativeProcessImageRefusal;
|
|
2374
4152
|
}
|
|
2375
4153
|
interface NativeProcessImageThreads {
|
|
@@ -2377,7 +4155,7 @@ interface NativeProcessImageThreads {
|
|
|
2377
4155
|
threads: NativeThreadState[];
|
|
2378
4156
|
refusals: NativeProcessImageRefusals;
|
|
2379
4157
|
}
|
|
2380
|
-
type NativeProcessResourceKind = "argv" | "env" | "cwd" | "exe" | "auxv" | "fd" | "file" | "pipe" | "socket" | "raw-socket" | "pty" | "timer" | "eventfd" | "signal" | "namespace" | "credential" | "futex" | "epoll" | "unknown";
|
|
4158
|
+
type NativeProcessResourceKind = "argv" | "env" | "cwd" | "exe" | "auxv" | "fd" | "file" | "pipe" | "socket" | "raw-socket" | "pty" | "timer" | "eventfd" | "signal" | "signalfd" | "namespace" | "credential" | "futex" | "epoll" | "unknown";
|
|
2381
4159
|
interface NativeProcessResource {
|
|
2382
4160
|
id: string;
|
|
2383
4161
|
kind: NativeProcessResourceKind;
|
|
@@ -2667,12 +4445,26 @@ declare function buildNativeCodeMap(request: NativeCodeMapRequest): NativeCodeMa
|
|
|
2667
4445
|
|
|
2668
4446
|
/** Active native syscall classification for actual real-utility attempts. */
|
|
2669
4447
|
|
|
2670
|
-
type NativeActiveSyscallClass = "outside-syscall" | "sleep-timer" | "poll-timeout" | "fd-blocking" | "restart" | "unknown-active";
|
|
4448
|
+
type NativeActiveSyscallClass = "outside-syscall" | "sleep-timer" | "poll-timeout" | "fd-blocking" | "futex-wait" | "restart" | "unknown-active";
|
|
2671
4449
|
type NativeSleepTimerSyscallPolicy = "refuse" | "defer-target-resume";
|
|
2672
4450
|
type NativePollTimeoutSyscallPolicy = "refuse" | "defer-target-resume";
|
|
4451
|
+
type NativePollTimeoutFdPolicy = "zero-fd-only" | "synthetic-empty-pipe" | "synthetic-empty-eventfd" | "synthetic-timerfd";
|
|
4452
|
+
type NativeFdReadPolicy = "refuse" | "defer-target-resume";
|
|
4453
|
+
type NativeFdReadResourcePolicy = "synthetic-empty-pipe" | "synthetic-empty-eventfd" | "synthetic-timerfd" | "reopen-file";
|
|
4454
|
+
type NativeFdWritePolicy = "refuse" | "defer-target-resume";
|
|
4455
|
+
type NativeFdWriteResourcePolicy = "reopen-file";
|
|
4456
|
+
type NativePingSocketRecvmsgPolicy = "refuse" | "defer-target-resume";
|
|
2673
4457
|
interface NativeActiveSyscallPolicyOptions {
|
|
2674
4458
|
sleepTimerPolicy?: NativeSleepTimerSyscallPolicy;
|
|
2675
4459
|
pollTimeoutPolicy?: NativePollTimeoutSyscallPolicy;
|
|
4460
|
+
pollTimeoutFdPolicy?: NativePollTimeoutFdPolicy;
|
|
4461
|
+
fdReadPolicy?: NativeFdReadPolicy;
|
|
4462
|
+
fdReadResourcePolicy?: NativeFdReadResourcePolicy;
|
|
4463
|
+
fdWritePolicy?: NativeFdWritePolicy;
|
|
4464
|
+
fdWriteResourcePolicy?: NativeFdWriteResourcePolicy;
|
|
4465
|
+
pingSocketRecvmsgPolicy?: NativePingSocketRecvmsgPolicy;
|
|
4466
|
+
pingSocketRecvmsgSourceFd?: number;
|
|
4467
|
+
pingSocketRecvmsgTargetFd?: number;
|
|
2676
4468
|
documents?: NativeProcessImageDocuments;
|
|
2677
4469
|
}
|
|
2678
4470
|
interface NativeSleepTimerDuration {
|
|
@@ -2702,18 +4494,68 @@ interface NativeModeledSleepTimerState {
|
|
|
2702
4494
|
requestedTime: NativeSleepTimerDuration;
|
|
2703
4495
|
remainingTime: NativeModeledSleepTimerRemainingTime;
|
|
2704
4496
|
}
|
|
4497
|
+
type NativeModeledPpollTargetResource = "synthetic-empty-pipe-read-end" | "synthetic-empty-eventfd" | "synthetic-timerfd";
|
|
4498
|
+
interface NativeModeledPpollFdState {
|
|
4499
|
+
fd: number;
|
|
4500
|
+
events: number;
|
|
4501
|
+
revents: number;
|
|
4502
|
+
sourceAddress: string;
|
|
4503
|
+
resourceId?: string;
|
|
4504
|
+
targetResource: NativeModeledPpollTargetResource;
|
|
4505
|
+
}
|
|
2705
4506
|
interface NativeModeledPpollTimeoutState {
|
|
2706
4507
|
kind: "relative-duration";
|
|
2707
4508
|
syscallName: "ppoll";
|
|
2708
4509
|
argumentSource: "proc-syscall" | "registers";
|
|
2709
|
-
fdsPointer:
|
|
2710
|
-
nfds: 0;
|
|
4510
|
+
fdsPointer: string;
|
|
4511
|
+
nfds: 0 | 1;
|
|
4512
|
+
pollFds?: NativeModeledPpollFdState[];
|
|
2711
4513
|
timeoutPointer: string;
|
|
2712
4514
|
sigmaskPointer: "0x0";
|
|
2713
4515
|
sigsetSize?: string;
|
|
2714
4516
|
requestedTime: NativeSleepTimerDuration;
|
|
2715
4517
|
remainingTime: NativeModeledPpollTimeoutRemainingTime;
|
|
2716
4518
|
}
|
|
4519
|
+
type NativeModeledFdReadTargetResource = "synthetic-empty-pipe-read-end" | "synthetic-empty-eventfd" | "synthetic-timerfd" | "reopened-offset-file";
|
|
4520
|
+
interface NativeModeledFdReadTimerRemainingTime extends NativeSleepTimerDuration {
|
|
4521
|
+
state: "modeled";
|
|
4522
|
+
kind: "relative-duration";
|
|
4523
|
+
source: "active-syscall-timerfd-read-timeout";
|
|
4524
|
+
precision: "captured-fdinfo-upper-bound";
|
|
4525
|
+
}
|
|
4526
|
+
interface NativeModeledFdReadState {
|
|
4527
|
+
kind: "fd-read-block";
|
|
4528
|
+
syscallName: "read" | "pread64" | "readv";
|
|
4529
|
+
argumentSource: "proc-syscall" | "registers";
|
|
4530
|
+
fd: number;
|
|
4531
|
+
bufferPointer: string;
|
|
4532
|
+
countBytes: number;
|
|
4533
|
+
iovPointer?: string;
|
|
4534
|
+
iovCount?: 1;
|
|
4535
|
+
bufferMapping: string;
|
|
4536
|
+
resourceId: string;
|
|
4537
|
+
pairedWriteResourceId?: string;
|
|
4538
|
+
targetResource: NativeModeledFdReadTargetResource;
|
|
4539
|
+
targetBufferPointer?: string;
|
|
4540
|
+
fileOffset?: number;
|
|
4541
|
+
remainingTime?: NativeModeledFdReadTimerRemainingTime;
|
|
4542
|
+
}
|
|
4543
|
+
type NativeModeledFdWriteTargetResource = "reopened-offset-file";
|
|
4544
|
+
interface NativeModeledFdWriteState {
|
|
4545
|
+
kind: "fd-write-complete";
|
|
4546
|
+
syscallName: "write" | "pwrite64" | "writev";
|
|
4547
|
+
argumentSource: "proc-syscall" | "registers";
|
|
4548
|
+
fd: number;
|
|
4549
|
+
bufferPointer: string;
|
|
4550
|
+
countBytes: number;
|
|
4551
|
+
iovPointer?: string;
|
|
4552
|
+
iovCount?: 1;
|
|
4553
|
+
bufferMapping: string;
|
|
4554
|
+
resourceId: string;
|
|
4555
|
+
targetResource: NativeModeledFdWriteTargetResource;
|
|
4556
|
+
targetBufferPointer: string;
|
|
4557
|
+
fileOffset: number;
|
|
4558
|
+
}
|
|
2717
4559
|
type NativeSleepTimerModelResult = {
|
|
2718
4560
|
state: "modeled";
|
|
2719
4561
|
timer: NativeModeledSleepTimerState;
|
|
@@ -2728,17 +4570,60 @@ type NativePpollTimeoutModelResult = {
|
|
|
2728
4570
|
state: "missing";
|
|
2729
4571
|
refusal: NativeProcessImageRefusal;
|
|
2730
4572
|
};
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
4573
|
+
type NativeFdReadModelResult = {
|
|
4574
|
+
state: "modeled";
|
|
4575
|
+
read: NativeModeledFdReadState;
|
|
4576
|
+
} | {
|
|
4577
|
+
state: "missing";
|
|
4578
|
+
refusal: NativeProcessImageRefusal;
|
|
4579
|
+
};
|
|
4580
|
+
interface NativeModeledPingSocketRecvmsgState {
|
|
4581
|
+
kind: "ping-socket-recvmsg-wait";
|
|
4582
|
+
syscallName: "recvmsg";
|
|
4583
|
+
argumentSource: "proc-syscall" | "registers";
|
|
4584
|
+
sourceFd: number;
|
|
4585
|
+
targetFd: number;
|
|
4586
|
+
messagePointer: string;
|
|
4587
|
+
flags: 0;
|
|
4588
|
+
namePointer: string;
|
|
4589
|
+
nameLengthBytes: number;
|
|
4590
|
+
iovPointer: string;
|
|
4591
|
+
iovCount: 1;
|
|
4592
|
+
iovBasePointer: string;
|
|
4593
|
+
iovLengthBytes: number;
|
|
4594
|
+
controlPointer: string;
|
|
4595
|
+
controlLengthBytes: number;
|
|
4596
|
+
messageFlags: 0;
|
|
4597
|
+
resourceId: string;
|
|
4598
|
+
receiveQueue: "empty";
|
|
4599
|
+
inFlightPackets: "none";
|
|
4600
|
+
signalTimer: "no-pending-signal-frame-target-wait-preserved";
|
|
4601
|
+
}
|
|
4602
|
+
type NativeFdWriteModelResult = {
|
|
4603
|
+
state: "modeled";
|
|
4604
|
+
write: NativeModeledFdWriteState;
|
|
4605
|
+
} | {
|
|
4606
|
+
state: "missing";
|
|
4607
|
+
refusal: NativeProcessImageRefusal;
|
|
4608
|
+
};
|
|
4609
|
+
type NativePingSocketRecvmsgModelResult = {
|
|
4610
|
+
state: "modeled";
|
|
4611
|
+
recvmsg: NativeModeledPingSocketRecvmsgState;
|
|
4612
|
+
} | {
|
|
4613
|
+
state: "missing";
|
|
4614
|
+
refusal: NativeProcessImageRefusal;
|
|
4615
|
+
};
|
|
4616
|
+
interface NativeActiveSleepTimerContinuation {
|
|
4617
|
+
threadId: string;
|
|
4618
|
+
syscallClass: Extract<NativeActiveSyscallClass, "sleep-timer">;
|
|
4619
|
+
action: "defer-target-resume";
|
|
4620
|
+
syscall: NativeThreadState["syscall"];
|
|
4621
|
+
metadata: {
|
|
4622
|
+
remainingTime: NativeModeledSleepTimerRemainingTime;
|
|
4623
|
+
sleepTimer: NativeModeledSleepTimerState;
|
|
4624
|
+
policy: "conservative-target-timer-rearm-required";
|
|
4625
|
+
};
|
|
4626
|
+
}
|
|
2742
4627
|
interface NativeActivePpollTimeoutContinuation {
|
|
2743
4628
|
threadId: string;
|
|
2744
4629
|
syscallClass: Extract<NativeActiveSyscallClass, "poll-timeout">;
|
|
@@ -2750,7 +4635,37 @@ interface NativeActivePpollTimeoutContinuation {
|
|
|
2750
4635
|
policy: "conservative-target-ppoll-timeout-rearm-required";
|
|
2751
4636
|
};
|
|
2752
4637
|
}
|
|
2753
|
-
|
|
4638
|
+
interface NativeActiveFdReadContinuation {
|
|
4639
|
+
threadId: string;
|
|
4640
|
+
syscallClass: Extract<NativeActiveSyscallClass, "fd-blocking">;
|
|
4641
|
+
action: "defer-target-resume";
|
|
4642
|
+
syscall: NativeThreadState["syscall"];
|
|
4643
|
+
metadata: {
|
|
4644
|
+
fdRead: NativeModeledFdReadState;
|
|
4645
|
+
policy: "conservative-target-fd-read-block-preserved";
|
|
4646
|
+
};
|
|
4647
|
+
}
|
|
4648
|
+
interface NativeActiveFdWriteContinuation {
|
|
4649
|
+
threadId: string;
|
|
4650
|
+
syscallClass: Extract<NativeActiveSyscallClass, "fd-blocking">;
|
|
4651
|
+
action: "defer-target-resume";
|
|
4652
|
+
syscall: NativeThreadState["syscall"];
|
|
4653
|
+
metadata: {
|
|
4654
|
+
fdWrite: NativeModeledFdWriteState;
|
|
4655
|
+
policy: "conservative-target-fd-write-completed-from-buffer";
|
|
4656
|
+
};
|
|
4657
|
+
}
|
|
4658
|
+
interface NativeActivePingSocketRecvmsgContinuation {
|
|
4659
|
+
threadId: string;
|
|
4660
|
+
syscallClass: Extract<NativeActiveSyscallClass, "fd-blocking">;
|
|
4661
|
+
action: "defer-target-resume";
|
|
4662
|
+
syscall: NativeThreadState["syscall"];
|
|
4663
|
+
metadata: {
|
|
4664
|
+
pingSocketRecvmsg: NativeModeledPingSocketRecvmsgState;
|
|
4665
|
+
policy: "conservative-target-ping-socket-recvmsg-wait-preserved";
|
|
4666
|
+
};
|
|
4667
|
+
}
|
|
4668
|
+
type NativeActiveSyscallContinuation = NativeActiveSleepTimerContinuation | NativeActivePpollTimeoutContinuation | NativeActiveFdReadContinuation | NativeActiveFdWriteContinuation | NativeActivePingSocketRecvmsgContinuation;
|
|
2754
4669
|
interface NativeActiveSyscallClassification {
|
|
2755
4670
|
threadId: string;
|
|
2756
4671
|
state: NativeThreadState["syscall"]["state"];
|
|
@@ -2768,11 +4683,15 @@ interface NativeActiveSyscallClassificationResult {
|
|
|
2768
4683
|
}
|
|
2769
4684
|
declare function classifyNativeActiveSyscalls(threads: NativeThreadState[], options?: NativeActiveSyscallPolicyOptions): NativeActiveSyscallClassificationResult;
|
|
2770
4685
|
declare function classifyNativeThreadSyscall(thread: NativeThreadState, options?: NativeActiveSyscallPolicyOptions): NativeActiveSyscallClassification;
|
|
2771
|
-
declare function modelNativePpollTimeoutState(thread: NativeThreadState, documents?: NativeProcessImageDocuments): NativePpollTimeoutModelResult;
|
|
4686
|
+
declare function modelNativePpollTimeoutState(thread: NativeThreadState, documents?: NativeProcessImageDocuments, fdPolicy?: NativePollTimeoutFdPolicy): NativePpollTimeoutModelResult;
|
|
4687
|
+
declare function modelNativeFdReadState(thread: NativeThreadState, documents?: NativeProcessImageDocuments, resourcePolicy?: NativeFdReadResourcePolicy): NativeFdReadModelResult;
|
|
4688
|
+
declare function modelNativeFdWriteState(thread: NativeThreadState, documents?: NativeProcessImageDocuments, resourcePolicy?: NativeFdWriteResourcePolicy): NativeFdWriteModelResult;
|
|
4689
|
+
declare function modelNativePingSocketRecvmsgState(thread: NativeThreadState, documents?: NativeProcessImageDocuments, sourceFd?: number, targetFd?: number): NativePingSocketRecvmsgModelResult;
|
|
2772
4690
|
declare function modelNativeSleepTimerState(thread: NativeThreadState, documents?: NativeProcessImageDocuments): NativeSleepTimerModelResult;
|
|
2773
4691
|
|
|
2774
4692
|
/** Shared descriptors for generated target-native synthetic continuations. */
|
|
2775
4693
|
|
|
4694
|
+
declare const NATIVE_SYNTHETIC_SYSCALL_EINTR_EXIT_STATUS = 110;
|
|
2776
4695
|
declare const NATIVE_SYNTHETIC_SYSCALL_RESTART_EXIT_STATUS = 111;
|
|
2777
4696
|
declare const NATIVE_SYNTHETIC_SYSCALL_UNMODELED_RETURN_EXIT_STATUS = 112;
|
|
2778
4697
|
type NativeSyntheticContinuationTargetArch = "amd64";
|
|
@@ -2780,7 +4699,7 @@ type NativeSyntheticContinuationByteSource = "generated-target-native-amd64-sysc
|
|
|
2780
4699
|
type NativeSyntheticContinuationByteEncoding = "amd64-machine-code";
|
|
2781
4700
|
type NativeSyntheticContinuationSyscallAbi = "linux-amd64";
|
|
2782
4701
|
type NativeSyntheticContinuationRegisterSetupAbi = "linux-amd64-syscall";
|
|
2783
|
-
type NativeSyntheticContinuationFailureKind = "signal-restart-unsupported" | "syscall-return-unmodeled";
|
|
4702
|
+
type NativeSyntheticContinuationFailureKind = "signal-interrupted-unsupported" | "signal-restart-unsupported" | "syscall-return-unmodeled";
|
|
2784
4703
|
type NativeSyntheticContinuationFailureExitBucketCondition = "equals-negative-errno" | "restart-like-negative-errno" | "other-negative-errno" | "nonzero-return";
|
|
2785
4704
|
type NativeSyntheticContinuationRegister = "rax" | "rdi" | "rsi" | "rdx" | "r10" | "r8" | "r9" | "rcx" | "r11";
|
|
2786
4705
|
type NativeSyntheticContinuationProvenanceSource = "generated-target-native-amd64-syscall-sequence" | "linux-amd64-syscall-abi" | "modeled-source-sleep-timer" | "modeled-source-ppoll-timeout" | "target-caller-frame";
|
|
@@ -2831,9 +4750,21 @@ interface NativeSyntheticContinuationFailureExitBucket {
|
|
|
2831
4750
|
}[];
|
|
2832
4751
|
};
|
|
2833
4752
|
}
|
|
4753
|
+
interface NativeSyntheticContinuationRestartContract {
|
|
4754
|
+
mode: "fail-closed";
|
|
4755
|
+
signalMaskAssumption: "source-sigmask-null-or-unmodeled";
|
|
4756
|
+
pendingSignalAssumption: "no-pending-signal-state-modeled";
|
|
4757
|
+
plainEintr: "refuse";
|
|
4758
|
+
restartLikeErrnos: {
|
|
4759
|
+
errno: number;
|
|
4760
|
+
errnoName: string;
|
|
4761
|
+
}[];
|
|
4762
|
+
targetRestartRequirements: string[];
|
|
4763
|
+
}
|
|
2834
4764
|
interface NativeSyntheticContinuationCompletionDescriptor {
|
|
2835
4765
|
mode: string;
|
|
2836
4766
|
successExitStatus?: number;
|
|
4767
|
+
restartContract?: NativeSyntheticContinuationRestartContract;
|
|
2837
4768
|
/** Legacy single-bucket failure status. Prefer failureExitBuckets for new continuations. */
|
|
2838
4769
|
failureExitStatus?: number;
|
|
2839
4770
|
/** Legacy single-bucket failure kind. Prefer failureExitBuckets for new continuations. */
|
|
@@ -2880,16 +4811,21 @@ declare function buildNativeSyntheticSyscallContinuationDescriptor(request: Nati
|
|
|
2880
4811
|
declare function nativeSyntheticContinuationBytesHex(bytes: Uint8Array): string;
|
|
2881
4812
|
declare function nativeSyntheticContinuationBytesSha256(bytes: Uint8Array): string;
|
|
2882
4813
|
declare function nativeSyntheticContinuationDescriptorSha256(descriptor: NativeSyntheticSyscallContinuationDescriptorPayload): string;
|
|
4814
|
+
declare function nativeSyntheticEintrErrno(): {
|
|
4815
|
+
errno: number;
|
|
4816
|
+
errnoName: string;
|
|
4817
|
+
};
|
|
2883
4818
|
declare function nativeSyntheticRestartLikeErrnos(): {
|
|
2884
4819
|
errno: number;
|
|
2885
4820
|
errnoName: string;
|
|
2886
4821
|
}[];
|
|
4822
|
+
declare function nativeSyntheticSyscallRestartContract(): NativeSyntheticContinuationRestartContract;
|
|
2887
4823
|
declare function nativeSyntheticSyscallFailureExitBuckets(syscallName: string): NativeSyntheticContinuationFailureExitBucket[];
|
|
2888
4824
|
declare function nativeSyntheticExitProcessSuffix(): number[];
|
|
2889
4825
|
|
|
2890
4826
|
/** Synthetic target-native ppoll timeout syscall continuation generation. */
|
|
2891
4827
|
|
|
2892
|
-
declare const NATIVE_SYNTHETIC_PPOLL_SYSCALL_BUILD_ID = "machinen-synthetic-ppoll-syscall-
|
|
4828
|
+
declare const NATIVE_SYNTHETIC_PPOLL_SYSCALL_BUILD_ID = "machinen-synthetic-ppoll-syscall-v2";
|
|
2893
4829
|
declare const NATIVE_SYNTHETIC_PPOLL_SYSCALL_LOGICAL_NAME = "machinen-synthetic-ppoll-syscall";
|
|
2894
4830
|
declare const NATIVE_SYNTHETIC_PPOLL_SYSCALL_PATH = "machinen.synthetic://ppoll-syscall";
|
|
2895
4831
|
declare const NATIVE_SYNTHETIC_PPOLL_SYSCALL_BASE = "0x700300000000";
|
|
@@ -2931,6 +4867,14 @@ interface NativeSyntheticPpollSyscallContinuationProvenance extends NativeSynthe
|
|
|
2931
4867
|
pointerRegister: "rdx";
|
|
2932
4868
|
pointerEncoding: "rip-relative";
|
|
2933
4869
|
};
|
|
4870
|
+
embeddedPollFds?: {
|
|
4871
|
+
kind: "pollfd-array";
|
|
4872
|
+
offset: number;
|
|
4873
|
+
entries: NativeModeledPpollFdState[];
|
|
4874
|
+
byteOrder: "little-endian";
|
|
4875
|
+
pointerRegister: "rdi";
|
|
4876
|
+
pointerEncoding: "stack-relative";
|
|
4877
|
+
};
|
|
2934
4878
|
registerSetup: NativeSyntheticPpollSyscallRegisterSetupProvenance;
|
|
2935
4879
|
stackSetup: NativeSyntheticPpollSyscallStackSetupProvenance;
|
|
2936
4880
|
completion: NativeSyntheticPpollSyscallCompletionProvenance;
|
|
@@ -2938,6 +4882,7 @@ interface NativeSyntheticPpollSyscallContinuationProvenance extends NativeSynthe
|
|
|
2938
4882
|
interface NativeSyntheticPpollSyscallContinuationRequest {
|
|
2939
4883
|
threadId: string;
|
|
2940
4884
|
remainingTime: NativeModeledPpollTimeoutRemainingTime;
|
|
4885
|
+
ppollTimeout?: NativeModeledPpollTimeoutState;
|
|
2941
4886
|
targetAddress?: string;
|
|
2942
4887
|
completionMode?: NativeSyntheticPpollCompletionMode;
|
|
2943
4888
|
}
|
|
@@ -2950,8 +4895,9 @@ interface NativeSyntheticPpollSyscallContinuation {
|
|
|
2950
4895
|
syscall: {
|
|
2951
4896
|
name: "ppoll";
|
|
2952
4897
|
number: 271;
|
|
2953
|
-
fdsPointer: "0x0";
|
|
2954
|
-
nfds: 0;
|
|
4898
|
+
fdsPointer: "0x0" | "stack-relative-pollfd-array";
|
|
4899
|
+
nfds: 0 | 1;
|
|
4900
|
+
pollFds?: NativeModeledPpollFdState[];
|
|
2955
4901
|
timeoutPointerEncoding: "rip-relative-timespec";
|
|
2956
4902
|
sigmaskPointer: "0x0";
|
|
2957
4903
|
sigsetSize: 0;
|
|
@@ -2976,10 +4922,11 @@ declare function buildNativeSyntheticPpollSyscallContinuation(request: NativeSyn
|
|
|
2976
4922
|
|
|
2977
4923
|
/** Synthetic target-native sleep syscall continuation generation. */
|
|
2978
4924
|
|
|
2979
|
-
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_BUILD_ID = "machinen-synthetic-sleep-syscall-
|
|
4925
|
+
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_BUILD_ID = "machinen-synthetic-sleep-syscall-v4";
|
|
2980
4926
|
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_LOGICAL_NAME = "machinen-synthetic-sleep-syscall";
|
|
2981
4927
|
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_PATH = "machinen.synthetic://sleep-syscall";
|
|
2982
4928
|
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_BASE = "0x700200000000";
|
|
4929
|
+
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_EINTR_EXIT_STATUS = 110;
|
|
2983
4930
|
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_RESTART_EXIT_STATUS = 111;
|
|
2984
4931
|
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_UNMODELED_RETURN_EXIT_STATUS = 112;
|
|
2985
4932
|
declare const NATIVE_SYNTHETIC_SLEEP_SYSCALL_FAILURE_EXIT_STATUS = 111;
|
|
@@ -3209,7 +5156,40 @@ interface NativeStackTranslationResult {
|
|
|
3209
5156
|
relocations: NativeMemoryRelocation[];
|
|
3210
5157
|
refusals: NativeProcessImageRefusal[];
|
|
3211
5158
|
}
|
|
5159
|
+
interface NativeStackPointerRange {
|
|
5160
|
+
id: string;
|
|
5161
|
+
targetBase: string;
|
|
5162
|
+
targetLimit: string;
|
|
5163
|
+
}
|
|
5164
|
+
interface NativeStackWindowMaterializationRequest extends NativeStackTranslationRequest {
|
|
5165
|
+
sourceStackBase: string;
|
|
5166
|
+
sourceStackLimit: string;
|
|
5167
|
+
targetStackLimit: string;
|
|
5168
|
+
guardBelowAddress: string;
|
|
5169
|
+
guardAboveAddress: string;
|
|
5170
|
+
pointerRanges: NativeStackPointerRange[];
|
|
5171
|
+
}
|
|
5172
|
+
interface NativeStackWindowMaterializationPlan {
|
|
5173
|
+
state: "materialized" | "refused";
|
|
5174
|
+
stackMapping: string;
|
|
5175
|
+
sourceWindow: {
|
|
5176
|
+
base: string;
|
|
5177
|
+
limit: string;
|
|
5178
|
+
};
|
|
5179
|
+
targetWindow: {
|
|
5180
|
+
base: string;
|
|
5181
|
+
limit: string;
|
|
5182
|
+
sizeBytes: number;
|
|
5183
|
+
};
|
|
5184
|
+
guards: {
|
|
5185
|
+
below: string;
|
|
5186
|
+
above: string;
|
|
5187
|
+
};
|
|
5188
|
+
relocations: NativeMemoryRelocation[];
|
|
5189
|
+
refusals: NativeProcessImageRefusal[];
|
|
5190
|
+
}
|
|
3212
5191
|
declare function translateNativeStack(request: NativeStackTranslationRequest): NativeStackTranslationResult;
|
|
5192
|
+
declare function planNativeStackWindowMaterialization(request: NativeStackWindowMaterializationRequest): NativeStackWindowMaterializationPlan;
|
|
3213
5193
|
|
|
3214
5194
|
/** DWARF/eh-frame based native stack-frame discovery. */
|
|
3215
5195
|
|
|
@@ -3471,6 +5451,145 @@ interface NativeSyntheticTargetCallerFramePlanResult {
|
|
|
3471
5451
|
}
|
|
3472
5452
|
declare function planNativeSyntheticTargetCallerFrame(request: NativeSyntheticTargetCallerFramePlanRequest): NativeSyntheticTargetCallerFramePlanResult;
|
|
3473
5453
|
|
|
5454
|
+
type NativeSignalBlockedMaskPolicy = "require-empty" | "restore-safe-mask";
|
|
5455
|
+
interface NativeSignalRestorePolicyRequest {
|
|
5456
|
+
thread: NativeThreadState;
|
|
5457
|
+
blockedMaskPolicy?: NativeSignalBlockedMaskPolicy;
|
|
5458
|
+
}
|
|
5459
|
+
type NativeSignalRestorePolicyResult = {
|
|
5460
|
+
state: "accepted";
|
|
5461
|
+
threadId: string;
|
|
5462
|
+
blockedMaskPolicy: NativeSignalBlockedMaskPolicy;
|
|
5463
|
+
targetBlockedMasks: string[];
|
|
5464
|
+
refusals: [];
|
|
5465
|
+
} | {
|
|
5466
|
+
state: "refused";
|
|
5467
|
+
threadId: string;
|
|
5468
|
+
refusals: NativeProcessImageRefusal[];
|
|
5469
|
+
};
|
|
5470
|
+
declare function planNativeSignalRestorePolicy(request: NativeSignalRestorePolicyRequest): NativeSignalRestorePolicyResult;
|
|
5471
|
+
declare function safeSignalRestoreRefusal(request: NativeSignalRestorePolicyRequest): NativeProcessImageRefusal | undefined;
|
|
5472
|
+
|
|
5473
|
+
type NativeTlsTargetAccessPolicy = "not-required" | "segment-bases-provided" | "target-tcb-materialized" | "target-tcb-required";
|
|
5474
|
+
type NativeTlsSegmentBaseHandoffResult = {
|
|
5475
|
+
state: "accepted";
|
|
5476
|
+
threadId: string;
|
|
5477
|
+
sourceArch: "arm64";
|
|
5478
|
+
sourceRegister: "arm64-tpidr-el0";
|
|
5479
|
+
sourceThreadPointer: string;
|
|
5480
|
+
targetArch: "amd64";
|
|
5481
|
+
targetSegmentBases: {
|
|
5482
|
+
fsBase: string;
|
|
5483
|
+
gsBase: string;
|
|
5484
|
+
accessPolicy: Exclude<NativeTlsTargetAccessPolicy, "target-tcb-required">;
|
|
5485
|
+
};
|
|
5486
|
+
refusals: [];
|
|
5487
|
+
} | {
|
|
5488
|
+
state: "refused";
|
|
5489
|
+
threadId: string;
|
|
5490
|
+
refusals: NativeProcessImageRefusal[];
|
|
5491
|
+
};
|
|
5492
|
+
interface NativeTlsSegmentBaseHandoffRequest {
|
|
5493
|
+
threadId: string;
|
|
5494
|
+
sourceArch: NativeProcessImageArchitecture;
|
|
5495
|
+
targetArch: NativeProcessImageArchitecture;
|
|
5496
|
+
sourceThreadPointer?: string;
|
|
5497
|
+
sourceRegister?: NativeTlsThreadPointerRegister;
|
|
5498
|
+
targetFsBase?: string;
|
|
5499
|
+
targetGsBase?: string;
|
|
5500
|
+
targetAccessPolicy?: NativeTlsTargetAccessPolicy;
|
|
5501
|
+
capturedTargetSegmentBases?: NativeTlsAmd64SegmentBases;
|
|
5502
|
+
}
|
|
5503
|
+
interface NativeThreadTlsPolicyRequest {
|
|
5504
|
+
thread: NativeThreadState;
|
|
5505
|
+
targetArch?: NativeProcessImageArchitecture;
|
|
5506
|
+
targetFsBase?: string;
|
|
5507
|
+
targetGsBase?: string;
|
|
5508
|
+
targetAccessPolicy?: NativeTlsTargetAccessPolicy;
|
|
5509
|
+
}
|
|
5510
|
+
declare function planNativeTlsSegmentBaseHandoff(request: NativeTlsSegmentBaseHandoffRequest): NativeTlsSegmentBaseHandoffResult;
|
|
5511
|
+
declare function safeTlsSegmentBaseRefusal(request: NativeThreadTlsPolicyRequest): NativeProcessImageRefusal | undefined;
|
|
5512
|
+
|
|
5513
|
+
type NativeThreadRestorePlan = {
|
|
5514
|
+
state: "accepted";
|
|
5515
|
+
threadId: string;
|
|
5516
|
+
targetThreadCount: 1;
|
|
5517
|
+
activeSyscallContinuations: NativeActiveSyscallContinuation[];
|
|
5518
|
+
signalRestore: {
|
|
5519
|
+
blockedMasks: string[];
|
|
5520
|
+
};
|
|
5521
|
+
refusals: [];
|
|
5522
|
+
} | {
|
|
5523
|
+
state: "refused";
|
|
5524
|
+
targetThreadCount: number;
|
|
5525
|
+
refusals: NativeProcessImageRefusal[];
|
|
5526
|
+
};
|
|
5527
|
+
interface NativeThreadRestorePlanRequest {
|
|
5528
|
+
threads: NativeThreadState[];
|
|
5529
|
+
mappings?: NativeMemoryMapping[];
|
|
5530
|
+
resources?: NativeProcessResource[];
|
|
5531
|
+
tls?: {
|
|
5532
|
+
targetFsBase?: string;
|
|
5533
|
+
targetGsBase?: string;
|
|
5534
|
+
targetAccessPolicy?: NativeTlsTargetAccessPolicy;
|
|
5535
|
+
};
|
|
5536
|
+
activeSyscall?: NativeActiveSyscallPolicyOptions;
|
|
5537
|
+
signal?: {
|
|
5538
|
+
blockedMaskPolicy?: NativeSignalBlockedMaskPolicy;
|
|
5539
|
+
};
|
|
5540
|
+
}
|
|
5541
|
+
declare function planNativeThreadRestoreBoundary(request: NativeThreadRestorePlanRequest): NativeThreadRestorePlan;
|
|
5542
|
+
|
|
5543
|
+
type NativeControlledTwoThreadRestorePlan = {
|
|
5544
|
+
state: "accepted";
|
|
5545
|
+
targetThreadCount: 2;
|
|
5546
|
+
threadIds: [string, string];
|
|
5547
|
+
threadPlans: [
|
|
5548
|
+
Extract<NativeThreadRestorePlan, {
|
|
5549
|
+
state: "accepted";
|
|
5550
|
+
}>,
|
|
5551
|
+
Extract<NativeThreadRestorePlan, {
|
|
5552
|
+
state: "accepted";
|
|
5553
|
+
}>
|
|
5554
|
+
];
|
|
5555
|
+
refusals: [];
|
|
5556
|
+
} | {
|
|
5557
|
+
state: "refused";
|
|
5558
|
+
targetThreadCount: number;
|
|
5559
|
+
refusals: NativeProcessImageRefusal[];
|
|
5560
|
+
};
|
|
5561
|
+
interface NativeControlledTwoThreadRestorePlanRequest {
|
|
5562
|
+
threads: NativeThreadState[];
|
|
5563
|
+
mappings: NativeMemoryMapping[];
|
|
5564
|
+
resources?: NativeProcessResource[];
|
|
5565
|
+
activeSyscall?: NativeActiveSyscallPolicyOptions;
|
|
5566
|
+
signal?: {
|
|
5567
|
+
blockedMaskPolicy?: NativeSignalBlockedMaskPolicy;
|
|
5568
|
+
};
|
|
5569
|
+
}
|
|
5570
|
+
declare function planNativeControlledTwoThreadRestoreBoundary(request: NativeControlledTwoThreadRestorePlanRequest): NativeControlledTwoThreadRestorePlan;
|
|
5571
|
+
|
|
5572
|
+
interface NativeSimdFpuLiveSubsetPolicy {
|
|
5573
|
+
state: "refuse-all-live-subsets";
|
|
5574
|
+
acceptedSubsets: [];
|
|
5575
|
+
refusalCode: "simd-fpu-state-unsupported";
|
|
5576
|
+
reason: string;
|
|
5577
|
+
}
|
|
5578
|
+
declare const NATIVE_SIMD_FPU_LIVE_SUBSET_POLICY: NativeSimdFpuLiveSubsetPolicy;
|
|
5579
|
+
declare function planNativeSimdFpuLiveSubsetPolicy(): NativeSimdFpuLiveSubsetPolicy;
|
|
5580
|
+
type NativeSimdFpuRestorePolicyResult = {
|
|
5581
|
+
state: "accepted";
|
|
5582
|
+
threadId: string;
|
|
5583
|
+
policy: "not-live";
|
|
5584
|
+
refusals: [];
|
|
5585
|
+
} | {
|
|
5586
|
+
state: "refused";
|
|
5587
|
+
threadId: string;
|
|
5588
|
+
refusals: NativeProcessImageRefusal[];
|
|
5589
|
+
};
|
|
5590
|
+
declare function planNativeSimdFpuRestorePolicy(thread: NativeThreadState): NativeSimdFpuRestorePolicyResult;
|
|
5591
|
+
declare function safeSimdFpuRefusal(thread: NativeThreadState): NativeProcessImageRefusal | undefined;
|
|
5592
|
+
|
|
3474
5593
|
/** Target-native module byte materialization for real utility continuation. */
|
|
3475
5594
|
|
|
3476
5595
|
interface NativeTargetModuleByteMaterializationRequest {
|
|
@@ -3749,12 +5868,21 @@ interface NativeMappingMaterializationStep {
|
|
|
3749
5868
|
offset: number;
|
|
3750
5869
|
sizeBytes: number;
|
|
3751
5870
|
};
|
|
5871
|
+
privateWritable?: {
|
|
5872
|
+
guardMappings: string[];
|
|
5873
|
+
};
|
|
3752
5874
|
refusal?: NativeProcessImageRefusal;
|
|
3753
5875
|
}
|
|
5876
|
+
interface NativePrivateWritableGuardRequest {
|
|
5877
|
+
mapping: string;
|
|
5878
|
+
belowMapping?: string;
|
|
5879
|
+
aboveMapping?: string;
|
|
5880
|
+
}
|
|
3754
5881
|
interface NativeMappingMaterializationRequest {
|
|
3755
5882
|
mappings: NativeMemoryMapping[];
|
|
3756
5883
|
memorySizeBytes: number;
|
|
3757
5884
|
targetFileBuildIds?: Record<string, string>;
|
|
5885
|
+
privateWritableGuards?: NativePrivateWritableGuardRequest[];
|
|
3758
5886
|
}
|
|
3759
5887
|
interface NativeMappingMaterializationResult {
|
|
3760
5888
|
steps: NativeMappingMaterializationStep[];
|
|
@@ -3762,6 +5890,119 @@ interface NativeMappingMaterializationResult {
|
|
|
3762
5890
|
}
|
|
3763
5891
|
declare function planNativeMappingMaterialization(request: NativeMappingMaterializationRequest): NativeMappingMaterializationResult;
|
|
3764
5892
|
|
|
5893
|
+
interface NativeReturnChainFrame {
|
|
5894
|
+
id: string;
|
|
5895
|
+
framePointer: string;
|
|
5896
|
+
canonicalFrameAddress: string;
|
|
5897
|
+
returnAddressSlot: string;
|
|
5898
|
+
returnAddress: string;
|
|
5899
|
+
unwindId: string;
|
|
5900
|
+
callerFramePointer?: string;
|
|
5901
|
+
}
|
|
5902
|
+
interface NativeReturnChainPlanRequest {
|
|
5903
|
+
targetStackBase: string;
|
|
5904
|
+
targetStackLimit: string;
|
|
5905
|
+
maxFrames: number;
|
|
5906
|
+
frames: NativeReturnChainFrame[];
|
|
5907
|
+
}
|
|
5908
|
+
interface NativeReturnChainPlanFrame extends NativeReturnChainFrame {
|
|
5909
|
+
index: number;
|
|
5910
|
+
framePointer: string;
|
|
5911
|
+
canonicalFrameAddress: string;
|
|
5912
|
+
returnAddressSlot: string;
|
|
5913
|
+
returnAddress: string;
|
|
5914
|
+
callerFramePointer?: string;
|
|
5915
|
+
}
|
|
5916
|
+
interface NativeReturnChainPlan {
|
|
5917
|
+
state: "materialized" | "refused";
|
|
5918
|
+
targetStack: {
|
|
5919
|
+
base: string;
|
|
5920
|
+
limit: string;
|
|
5921
|
+
};
|
|
5922
|
+
frames: NativeReturnChainPlanFrame[];
|
|
5923
|
+
refusals: NativeProcessImageRefusal[];
|
|
5924
|
+
}
|
|
5925
|
+
declare function planNativeReturnChain(request: NativeReturnChainPlanRequest): NativeReturnChainPlan;
|
|
5926
|
+
|
|
5927
|
+
interface NativeMachineRestorePlanRequest {
|
|
5928
|
+
thread: NativeThreadRestorePlanRequest;
|
|
5929
|
+
stackWindow?: NativeStackWindowMaterializationRequest;
|
|
5930
|
+
returnChain?: NativeReturnChainPlanRequest;
|
|
5931
|
+
mappings?: NativeMappingMaterializationRequest;
|
|
5932
|
+
}
|
|
5933
|
+
type NativeMachineRestorePlan = {
|
|
5934
|
+
state: "accepted";
|
|
5935
|
+
thread: Extract<NativeThreadRestorePlan, {
|
|
5936
|
+
state: "accepted";
|
|
5937
|
+
}>;
|
|
5938
|
+
stackWindow?: NativeStackWindowMaterializationPlan & {
|
|
5939
|
+
state: "materialized";
|
|
5940
|
+
};
|
|
5941
|
+
returnChain?: NativeReturnChainPlan & {
|
|
5942
|
+
state: "materialized";
|
|
5943
|
+
};
|
|
5944
|
+
mappings?: NativeMappingMaterializationResult;
|
|
5945
|
+
refusals: [];
|
|
5946
|
+
} | {
|
|
5947
|
+
state: "refused";
|
|
5948
|
+
thread: NativeThreadRestorePlan;
|
|
5949
|
+
stackWindow?: NativeStackWindowMaterializationPlan;
|
|
5950
|
+
returnChain?: NativeReturnChainPlan;
|
|
5951
|
+
mappings?: NativeMappingMaterializationResult;
|
|
5952
|
+
refusals: NativeProcessImageRefusal[];
|
|
5953
|
+
};
|
|
5954
|
+
declare function planNativeMachineRestore(request: NativeMachineRestorePlanRequest): NativeMachineRestorePlan;
|
|
5955
|
+
|
|
5956
|
+
declare const NATIVE_MACHINE_RESTORE_DESCRIPTOR_FORMAT_VERSION = 1;
|
|
5957
|
+
declare const NATIVE_MACHINE_RESTORE_DESCRIPTOR_KIND = "machinen.native-machine-restore";
|
|
5958
|
+
interface NativeMachineRestoreDescriptor {
|
|
5959
|
+
formatVersion: typeof NATIVE_MACHINE_RESTORE_DESCRIPTOR_FORMAT_VERSION;
|
|
5960
|
+
kind: typeof NATIVE_MACHINE_RESTORE_DESCRIPTOR_KIND;
|
|
5961
|
+
thread: {
|
|
5962
|
+
id: string;
|
|
5963
|
+
targetThreadCount: number;
|
|
5964
|
+
};
|
|
5965
|
+
signal: {
|
|
5966
|
+
blockedMasks: string[];
|
|
5967
|
+
};
|
|
5968
|
+
activeSyscalls: NativeActiveSyscallContinuation[];
|
|
5969
|
+
stackWindow?: {
|
|
5970
|
+
stackMapping: string;
|
|
5971
|
+
sourceWindow: {
|
|
5972
|
+
base: string;
|
|
5973
|
+
limit: string;
|
|
5974
|
+
};
|
|
5975
|
+
targetWindow: {
|
|
5976
|
+
base: string;
|
|
5977
|
+
limit: string;
|
|
5978
|
+
sizeBytes: number;
|
|
5979
|
+
};
|
|
5980
|
+
guards: {
|
|
5981
|
+
below: string;
|
|
5982
|
+
above: string;
|
|
5983
|
+
};
|
|
5984
|
+
relocationCount: number;
|
|
5985
|
+
};
|
|
5986
|
+
returnChain?: {
|
|
5987
|
+
targetStack: {
|
|
5988
|
+
base: string;
|
|
5989
|
+
limit: string;
|
|
5990
|
+
};
|
|
5991
|
+
frames: NativeReturnChainPlanFrame[];
|
|
5992
|
+
};
|
|
5993
|
+
mappings?: {
|
|
5994
|
+
steps: NativeMappingMaterializationStep[];
|
|
5995
|
+
};
|
|
5996
|
+
}
|
|
5997
|
+
declare class NativeMachineRestoreDescriptorValidationError extends Error {
|
|
5998
|
+
readonly refusals: NativeProcessImageRefusal[];
|
|
5999
|
+
constructor(message: string, refusals?: NativeProcessImageRefusal[]);
|
|
6000
|
+
}
|
|
6001
|
+
declare function buildNativeMachineRestoreDescriptor(plan: NativeMachineRestorePlan): NativeMachineRestoreDescriptor;
|
|
6002
|
+
declare function serializeNativeMachineRestoreDescriptor(descriptor: NativeMachineRestoreDescriptor): string;
|
|
6003
|
+
declare function parseNativeMachineRestoreDescriptor(text: string): NativeMachineRestoreDescriptor;
|
|
6004
|
+
declare function validateNativeMachineRestoreDescriptor(descriptor: NativeMachineRestoreDescriptor): NativeMachineRestoreDescriptor;
|
|
6005
|
+
|
|
3765
6006
|
/** Register/TLS/syscall-state translation rules for native process images. */
|
|
3766
6007
|
|
|
3767
6008
|
interface NativeRegisterTranslationRequest {
|
|
@@ -3775,6 +6016,7 @@ interface NativeContinuationTarget {
|
|
|
3775
6016
|
targetIp: string;
|
|
3776
6017
|
targetSp: string;
|
|
3777
6018
|
targetTls: string;
|
|
6019
|
+
targetTlsAccessPolicy?: NativeTlsTargetAccessPolicy;
|
|
3778
6020
|
targetRegisterOverrides?: Partial<Pick<NativeAmd64Registers, "rax" | "rbx" | "rcx" | "rdx" | "rsi" | "rdi" | "rbp" | "r8" | "r9" | "r10" | "r11" | "r12" | "r13" | "r14" | "r15">>;
|
|
3779
6021
|
}
|
|
3780
6022
|
interface NativeRegisterTranslationResult {
|
|
@@ -3785,6 +6027,546 @@ interface NativeRegisterTranslationResult {
|
|
|
3785
6027
|
}
|
|
3786
6028
|
declare function translateNativeRegisterState(request: NativeRegisterTranslationRequest): NativeRegisterTranslationResult;
|
|
3787
6029
|
|
|
6030
|
+
interface NativeReturnChainFrameWrite {
|
|
6031
|
+
frameId: string;
|
|
6032
|
+
targetAddress: string;
|
|
6033
|
+
value: string;
|
|
6034
|
+
bytes: string;
|
|
6035
|
+
kind: "caller-frame-pointer" | "return-address";
|
|
6036
|
+
}
|
|
6037
|
+
type NativeReturnChainMaterialization = {
|
|
6038
|
+
state: "materialized";
|
|
6039
|
+
initialFramePointer: string;
|
|
6040
|
+
targetStack: NativeReturnChainPlan["targetStack"];
|
|
6041
|
+
writes: NativeReturnChainFrameWrite[];
|
|
6042
|
+
refusals: [];
|
|
6043
|
+
} | {
|
|
6044
|
+
state: "refused";
|
|
6045
|
+
refusals: NativeProcessImageRefusal[];
|
|
6046
|
+
};
|
|
6047
|
+
declare function materializeNativeReturnChainFrames(plan: NativeReturnChainPlan): NativeReturnChainMaterialization;
|
|
6048
|
+
|
|
6049
|
+
interface NativeStackWindowWrite {
|
|
6050
|
+
mapping: string;
|
|
6051
|
+
targetAddress: string;
|
|
6052
|
+
offset: number;
|
|
6053
|
+
sizeBytes: 8;
|
|
6054
|
+
value: string;
|
|
6055
|
+
bytes: string;
|
|
6056
|
+
kind: NativeMemoryRelocation["kind"];
|
|
6057
|
+
}
|
|
6058
|
+
interface NativeStackWindowGuardMapping {
|
|
6059
|
+
targetStart: string;
|
|
6060
|
+
sizeBytes: number;
|
|
6061
|
+
placement: "below" | "above";
|
|
6062
|
+
}
|
|
6063
|
+
type NativeStackWindowMaterializedWrites = {
|
|
6064
|
+
state: "materialized";
|
|
6065
|
+
stackMapping: string;
|
|
6066
|
+
targetWindow: NativeStackWindowMaterializationPlan["targetWindow"];
|
|
6067
|
+
writes: NativeStackWindowWrite[];
|
|
6068
|
+
guards: NativeStackWindowGuardMapping[];
|
|
6069
|
+
refusals: [];
|
|
6070
|
+
} | {
|
|
6071
|
+
state: "refused";
|
|
6072
|
+
stackMapping: string;
|
|
6073
|
+
refusals: NativeProcessImageRefusal[];
|
|
6074
|
+
};
|
|
6075
|
+
declare function materializeNativeStackWindowWrites(plan: NativeStackWindowMaterializationPlan): NativeStackWindowMaterializedWrites;
|
|
6076
|
+
|
|
6077
|
+
type TargetGuestActiveSyscallRestoreStep = {
|
|
6078
|
+
action: "rearm-sleep-timer";
|
|
6079
|
+
threadId: string;
|
|
6080
|
+
syscallName: string;
|
|
6081
|
+
remainingTime: {
|
|
6082
|
+
seconds: string;
|
|
6083
|
+
nanoseconds: number;
|
|
6084
|
+
};
|
|
6085
|
+
resumeMode: "defer-target-resume";
|
|
6086
|
+
} | {
|
|
6087
|
+
action: "rearm-ppoll-timeout";
|
|
6088
|
+
threadId: string;
|
|
6089
|
+
remainingTime: {
|
|
6090
|
+
seconds: string;
|
|
6091
|
+
nanoseconds: number;
|
|
6092
|
+
};
|
|
6093
|
+
nfds: 0 | 1;
|
|
6094
|
+
resources: NativeModeledPpollTargetResource[];
|
|
6095
|
+
resumeMode: "defer-target-resume";
|
|
6096
|
+
} | {
|
|
6097
|
+
action: "restore-fd-read-block";
|
|
6098
|
+
threadId: string;
|
|
6099
|
+
fd: number;
|
|
6100
|
+
countBytes: number;
|
|
6101
|
+
resource: Exclude<NativeModeledFdReadTargetResource, "reopened-offset-file">;
|
|
6102
|
+
remainingTime?: {
|
|
6103
|
+
seconds: string;
|
|
6104
|
+
nanoseconds: number;
|
|
6105
|
+
};
|
|
6106
|
+
resumeMode: "defer-target-resume";
|
|
6107
|
+
} | {
|
|
6108
|
+
action: "complete-fd-read-from-file";
|
|
6109
|
+
threadId: string;
|
|
6110
|
+
fd: number;
|
|
6111
|
+
countBytes: number;
|
|
6112
|
+
targetBufferPointer: string;
|
|
6113
|
+
fileOffset: number;
|
|
6114
|
+
resumeMode: "defer-target-resume";
|
|
6115
|
+
} | {
|
|
6116
|
+
action: "complete-fd-write-to-file";
|
|
6117
|
+
threadId: string;
|
|
6118
|
+
fd: number;
|
|
6119
|
+
countBytes: number;
|
|
6120
|
+
targetBufferPointer: string;
|
|
6121
|
+
fileOffset: number;
|
|
6122
|
+
resumeMode: "defer-target-resume";
|
|
6123
|
+
} | {
|
|
6124
|
+
action: "restore-ping-socket-recvmsg-wait";
|
|
6125
|
+
threadId: string;
|
|
6126
|
+
fd: number;
|
|
6127
|
+
sourceFd: number;
|
|
6128
|
+
messagePointer: string;
|
|
6129
|
+
iovLengthBytes: number;
|
|
6130
|
+
controlLengthBytes: number;
|
|
6131
|
+
receiveQueue: NativeModeledPingSocketRecvmsgState["receiveQueue"];
|
|
6132
|
+
inFlightPackets: NativeModeledPingSocketRecvmsgState["inFlightPackets"];
|
|
6133
|
+
signalTimer: NativeModeledPingSocketRecvmsgState["signalTimer"];
|
|
6134
|
+
resumeMode: "defer-target-resume";
|
|
6135
|
+
};
|
|
6136
|
+
type TargetGuestActiveSyscallRestorePlan = {
|
|
6137
|
+
state: "planned";
|
|
6138
|
+
steps: TargetGuestActiveSyscallRestoreStep[];
|
|
6139
|
+
refusals: [];
|
|
6140
|
+
} | {
|
|
6141
|
+
state: "refused";
|
|
6142
|
+
steps: [];
|
|
6143
|
+
refusals: NativeProcessImageRefusal[];
|
|
6144
|
+
};
|
|
6145
|
+
declare function planTargetGuestActiveSyscallRestore(classification: NativeActiveSyscallClassificationResult): TargetGuestActiveSyscallRestorePlan;
|
|
6146
|
+
|
|
6147
|
+
interface TargetGuestExecutableMappingStep {
|
|
6148
|
+
action: "map-target-executable";
|
|
6149
|
+
mapping: string;
|
|
6150
|
+
targetStart: string;
|
|
6151
|
+
sizeBytes: number;
|
|
6152
|
+
permissions: NativeMemoryMapping["permissions"];
|
|
6153
|
+
path: string;
|
|
6154
|
+
fileOffset: number;
|
|
6155
|
+
buildId?: string;
|
|
6156
|
+
sha256?: string;
|
|
6157
|
+
sourceTextReusedAsTargetCode: false;
|
|
6158
|
+
}
|
|
6159
|
+
interface TargetGuestExecutableMaterializationPlan {
|
|
6160
|
+
state: "planned" | "refused";
|
|
6161
|
+
steps: TargetGuestExecutableMappingStep[];
|
|
6162
|
+
refusals: NativeProcessImageRefusal[];
|
|
6163
|
+
}
|
|
6164
|
+
declare function planTargetGuestExecutableMaterialization(steps: NativeMappingMaterializationStep[]): TargetGuestExecutableMaterializationPlan;
|
|
6165
|
+
|
|
6166
|
+
type TargetGuestMemoryMaterializationKind = "copy-captured-bytes" | "recreate-guard";
|
|
6167
|
+
interface TargetGuestMemoryMaterializationEntryBase {
|
|
6168
|
+
kind: TargetGuestMemoryMaterializationKind;
|
|
6169
|
+
mapping: string;
|
|
6170
|
+
targetStart: string;
|
|
6171
|
+
sizeBytes: number;
|
|
6172
|
+
permissions: string;
|
|
6173
|
+
provenance: "native-process-image" | "guard-protection";
|
|
6174
|
+
}
|
|
6175
|
+
interface TargetGuestCopyCapturedBytesEntry extends TargetGuestMemoryMaterializationEntryBase {
|
|
6176
|
+
kind: "copy-captured-bytes";
|
|
6177
|
+
sourceFile: string;
|
|
6178
|
+
sourceOffset: number;
|
|
6179
|
+
provenance: "native-process-image";
|
|
6180
|
+
}
|
|
6181
|
+
interface TargetGuestRecreateGuardEntry extends TargetGuestMemoryMaterializationEntryBase {
|
|
6182
|
+
kind: "recreate-guard";
|
|
6183
|
+
provenance: "guard-protection";
|
|
6184
|
+
}
|
|
6185
|
+
type TargetGuestMemoryMaterializationEntry = TargetGuestCopyCapturedBytesEntry | TargetGuestRecreateGuardEntry;
|
|
6186
|
+
interface TargetGuestMemoryMaterializationRequest {
|
|
6187
|
+
mappings: NativeMemoryMapping[];
|
|
6188
|
+
memorySizeBytes: number;
|
|
6189
|
+
memoryFile: string;
|
|
6190
|
+
}
|
|
6191
|
+
interface TargetGuestMemoryMaterializationResult {
|
|
6192
|
+
entries: TargetGuestMemoryMaterializationEntry[];
|
|
6193
|
+
refusals: NativeProcessImageRefusal[];
|
|
6194
|
+
}
|
|
6195
|
+
declare function planTargetGuestMemoryMaterialization(request: TargetGuestMemoryMaterializationRequest): TargetGuestMemoryMaterializationResult;
|
|
6196
|
+
|
|
6197
|
+
type TargetGuestPrivateMemoryRestoreStep = {
|
|
6198
|
+
action: "mmap-private-writable";
|
|
6199
|
+
mapping: string;
|
|
6200
|
+
targetStart: string;
|
|
6201
|
+
sizeBytes: number;
|
|
6202
|
+
permissions: string;
|
|
6203
|
+
} | {
|
|
6204
|
+
action: "copy-captured-bytes";
|
|
6205
|
+
mapping: string;
|
|
6206
|
+
sourceFile: string;
|
|
6207
|
+
sourceOffset: number;
|
|
6208
|
+
targetStart: string;
|
|
6209
|
+
sizeBytes: number;
|
|
6210
|
+
} | {
|
|
6211
|
+
action: "mprotect-final";
|
|
6212
|
+
mapping: string;
|
|
6213
|
+
targetStart: string;
|
|
6214
|
+
sizeBytes: number;
|
|
6215
|
+
permissions: string;
|
|
6216
|
+
} | {
|
|
6217
|
+
action: "mmap-guard";
|
|
6218
|
+
mapping: string;
|
|
6219
|
+
targetStart: string;
|
|
6220
|
+
sizeBytes: number;
|
|
6221
|
+
permissions: "---p";
|
|
6222
|
+
};
|
|
6223
|
+
interface TargetGuestPrivateMemoryRestorePlan {
|
|
6224
|
+
state: "planned" | "refused";
|
|
6225
|
+
steps: TargetGuestPrivateMemoryRestoreStep[];
|
|
6226
|
+
refusals: NativeProcessImageRefusal[];
|
|
6227
|
+
}
|
|
6228
|
+
declare function planTargetGuestPrivateMemoryRestore(entries: TargetGuestMemoryMaterializationEntry[]): TargetGuestPrivateMemoryRestorePlan;
|
|
6229
|
+
|
|
6230
|
+
type TargetGuestProcessContextRestoreMode = "metadata-only" | "apply-target-env-cwd" | "apply-target-visible-context" | "apply-target-initial-stack";
|
|
6231
|
+
type TargetGuestProcessContextRestoreStep = {
|
|
6232
|
+
action: "record-argv";
|
|
6233
|
+
argc: number;
|
|
6234
|
+
argvBytes: number;
|
|
6235
|
+
argvSha256: string;
|
|
6236
|
+
} | {
|
|
6237
|
+
action: "materialize-argv";
|
|
6238
|
+
argc: number;
|
|
6239
|
+
argvSha256: string;
|
|
6240
|
+
tokenIndex: number;
|
|
6241
|
+
tokenHex: string;
|
|
6242
|
+
tokenSha256: string;
|
|
6243
|
+
} | {
|
|
6244
|
+
action: "set-argv-entry";
|
|
6245
|
+
index: number;
|
|
6246
|
+
valueHex: string;
|
|
6247
|
+
valueSha256: string;
|
|
6248
|
+
} | {
|
|
6249
|
+
action: "record-env";
|
|
6250
|
+
envCount: number;
|
|
6251
|
+
envBytes: number;
|
|
6252
|
+
envSha256: string;
|
|
6253
|
+
} | {
|
|
6254
|
+
action: "clear-env";
|
|
6255
|
+
envCount: number;
|
|
6256
|
+
envSha256: string;
|
|
6257
|
+
} | {
|
|
6258
|
+
action: "set-env";
|
|
6259
|
+
keyHex: string;
|
|
6260
|
+
valueHex: string;
|
|
6261
|
+
valueSha256: string;
|
|
6262
|
+
} | {
|
|
6263
|
+
action: "verify-env";
|
|
6264
|
+
envCount: number;
|
|
6265
|
+
envSha256: string;
|
|
6266
|
+
} | {
|
|
6267
|
+
action: "verify-env-value";
|
|
6268
|
+
keyHex: string;
|
|
6269
|
+
valueHex: string;
|
|
6270
|
+
valueSha256: string;
|
|
6271
|
+
} | {
|
|
6272
|
+
action: "record-cwd";
|
|
6273
|
+
cwdHex: string;
|
|
6274
|
+
cwdSha256: string;
|
|
6275
|
+
} | {
|
|
6276
|
+
action: "chdir";
|
|
6277
|
+
cwdHex: string;
|
|
6278
|
+
cwdSha256: string;
|
|
6279
|
+
} | {
|
|
6280
|
+
action: "verify-cwd";
|
|
6281
|
+
cwdHex: string;
|
|
6282
|
+
cwdSha256: string;
|
|
6283
|
+
} | {
|
|
6284
|
+
action: "record-auxv";
|
|
6285
|
+
auxvBytes: number;
|
|
6286
|
+
auxvSha256: string;
|
|
6287
|
+
} | {
|
|
6288
|
+
action: "verify-auxv-selected";
|
|
6289
|
+
pageSize: number;
|
|
6290
|
+
clockTick: number;
|
|
6291
|
+
auxvSha256: string;
|
|
6292
|
+
} | {
|
|
6293
|
+
action: "record-auxv-policy";
|
|
6294
|
+
mode: "selected-safe-only";
|
|
6295
|
+
materializedKeys: string;
|
|
6296
|
+
refusedKeys: string;
|
|
6297
|
+
auxvSha256: string;
|
|
6298
|
+
} | {
|
|
6299
|
+
action: "materialize-initial-stack";
|
|
6300
|
+
targetStart: string;
|
|
6301
|
+
sizeBytes: number;
|
|
6302
|
+
argc: number;
|
|
6303
|
+
envCount: number;
|
|
6304
|
+
pageSize: number;
|
|
6305
|
+
clockTick: number;
|
|
6306
|
+
argvSha256: string;
|
|
6307
|
+
envSha256: string;
|
|
6308
|
+
} | {
|
|
6309
|
+
action: "verify-initial-stack";
|
|
6310
|
+
targetStart: string;
|
|
6311
|
+
argc: number;
|
|
6312
|
+
envCount: number;
|
|
6313
|
+
};
|
|
6314
|
+
type TargetGuestProcessContextRestorePlan = {
|
|
6315
|
+
state: "planned";
|
|
6316
|
+
mode: TargetGuestProcessContextRestoreMode;
|
|
6317
|
+
steps: TargetGuestProcessContextRestoreStep[];
|
|
6318
|
+
} | {
|
|
6319
|
+
state: "refused";
|
|
6320
|
+
refusals: NativeProcessImageRefusal[];
|
|
6321
|
+
};
|
|
6322
|
+
interface TargetGuestProcessContextRestoreOptions {
|
|
6323
|
+
mode?: TargetGuestProcessContextRestoreMode;
|
|
6324
|
+
maxArgvEntries?: number;
|
|
6325
|
+
maxEnvEntries?: number;
|
|
6326
|
+
maxStringBytes?: number;
|
|
6327
|
+
maxAuxvBytes?: number;
|
|
6328
|
+
initialStackTargetStart?: string;
|
|
6329
|
+
initialStackSizeBytes?: number;
|
|
6330
|
+
}
|
|
6331
|
+
declare function planTargetGuestProcessContextRestore(documents: NativeProcessImageDocuments, options?: TargetGuestProcessContextRestoreOptions): TargetGuestProcessContextRestorePlan;
|
|
6332
|
+
|
|
6333
|
+
type TargetGuestSignalRestoreStep = {
|
|
6334
|
+
action: "save-loader-signal-mask";
|
|
6335
|
+
threadId: string;
|
|
6336
|
+
} | {
|
|
6337
|
+
action: "sigprocmask-set-blocked";
|
|
6338
|
+
threadId: string;
|
|
6339
|
+
targetBlockedMasks: string[];
|
|
6340
|
+
} | {
|
|
6341
|
+
action: "verify-blocked-signal-mask";
|
|
6342
|
+
threadId: string;
|
|
6343
|
+
targetBlockedMasks: string[];
|
|
6344
|
+
} | {
|
|
6345
|
+
action: "restore-loader-signal-mask";
|
|
6346
|
+
threadId: string;
|
|
6347
|
+
};
|
|
6348
|
+
type TargetGuestSignalRestorePlan = {
|
|
6349
|
+
state: "planned";
|
|
6350
|
+
threadId: string;
|
|
6351
|
+
targetBlockedMasks: string[];
|
|
6352
|
+
steps: TargetGuestSignalRestoreStep[];
|
|
6353
|
+
refusals: [];
|
|
6354
|
+
} | {
|
|
6355
|
+
state: "refused";
|
|
6356
|
+
threadId: string;
|
|
6357
|
+
refusals: NativeProcessImageRefusal[];
|
|
6358
|
+
};
|
|
6359
|
+
declare function planTargetGuestSignalRestore(policy: NativeSignalRestorePolicyResult): TargetGuestSignalRestorePlan;
|
|
6360
|
+
|
|
6361
|
+
interface TargetGuestTwoThreadBinding {
|
|
6362
|
+
threadId: string;
|
|
6363
|
+
stackBase: string;
|
|
6364
|
+
stackLimit: string;
|
|
6365
|
+
registers: Record<string, string>;
|
|
6366
|
+
}
|
|
6367
|
+
interface TargetGuestTwoThreadSpawnStep {
|
|
6368
|
+
action: "spawn-target-thread";
|
|
6369
|
+
threadId: string;
|
|
6370
|
+
stackBase: string;
|
|
6371
|
+
stackLimit: string;
|
|
6372
|
+
registers: Record<string, string>;
|
|
6373
|
+
}
|
|
6374
|
+
type TargetGuestTwoThreadRestorePlan = {
|
|
6375
|
+
state: "planned";
|
|
6376
|
+
targetThreadCount: 2;
|
|
6377
|
+
steps: [TargetGuestTwoThreadSpawnStep, TargetGuestTwoThreadSpawnStep];
|
|
6378
|
+
refusals: [];
|
|
6379
|
+
} | {
|
|
6380
|
+
state: "refused";
|
|
6381
|
+
targetThreadCount: number;
|
|
6382
|
+
steps: [];
|
|
6383
|
+
refusals: NativeProcessImageRefusal[];
|
|
6384
|
+
};
|
|
6385
|
+
declare function planTargetGuestTwoThreadRestore(boundary: NativeControlledTwoThreadRestorePlan, bindings: TargetGuestTwoThreadBinding[]): TargetGuestTwoThreadRestorePlan;
|
|
6386
|
+
|
|
6387
|
+
declare const TARGET_GUEST_RESTORE_DESCRIPTOR_KIND = "machinen.target-guest-restore";
|
|
6388
|
+
type TargetGuestRestoreLoaderRefusalCode = "target-guest-loader-descriptor-invalid" | "target-guest-loader-target-arch-unsupported" | "target-guest-loader-resource-unsupported" | "target-guest-loader-invalid-fd" | "target-guest-loader-invalid-continuation" | "target-guest-loader-memory-unsupported" | "target-guest-loader-frame-unsupported";
|
|
6389
|
+
declare class TargetGuestRestoreLoaderValidationError extends Error {
|
|
6390
|
+
readonly code: TargetGuestRestoreLoaderRefusalCode;
|
|
6391
|
+
constructor(code: TargetGuestRestoreLoaderRefusalCode, message: string);
|
|
6392
|
+
}
|
|
6393
|
+
interface TargetGuestEpollWatchRecipe {
|
|
6394
|
+
fd: number;
|
|
6395
|
+
events: number;
|
|
6396
|
+
data: string;
|
|
6397
|
+
}
|
|
6398
|
+
type TargetGuestRestoreResourceRecipe = {
|
|
6399
|
+
kind: "close-fd";
|
|
6400
|
+
fd: number;
|
|
6401
|
+
reason?: string;
|
|
6402
|
+
} | {
|
|
6403
|
+
kind: "inherit-stdio";
|
|
6404
|
+
fd: 1 | 2;
|
|
6405
|
+
stream: "stdout" | "stderr";
|
|
6406
|
+
closeOnExec?: boolean;
|
|
6407
|
+
} | {
|
|
6408
|
+
kind: "reopen-file";
|
|
6409
|
+
fd: number;
|
|
6410
|
+
path: string;
|
|
6411
|
+
offset: number;
|
|
6412
|
+
access: 0 | 1 | 2;
|
|
6413
|
+
closeOnExec?: boolean;
|
|
6414
|
+
} | {
|
|
6415
|
+
kind: "synthetic-empty-pipe";
|
|
6416
|
+
readFd: number;
|
|
6417
|
+
writeFd?: number;
|
|
6418
|
+
initialBytesHex?: string;
|
|
6419
|
+
closeOnExec?: boolean;
|
|
6420
|
+
} | {
|
|
6421
|
+
kind: "synthetic-empty-eventfd";
|
|
6422
|
+
fd: number;
|
|
6423
|
+
closeOnExec?: boolean;
|
|
6424
|
+
} | {
|
|
6425
|
+
kind: "synthetic-eventfd";
|
|
6426
|
+
fd: number;
|
|
6427
|
+
initialValue: string;
|
|
6428
|
+
duplicateFd?: number;
|
|
6429
|
+
expectedRefusalCode?: string;
|
|
6430
|
+
expectedRefusalReason?: string;
|
|
6431
|
+
closeOnExec?: boolean;
|
|
6432
|
+
} | {
|
|
6433
|
+
kind: "synthetic-timerfd";
|
|
6434
|
+
fd: number;
|
|
6435
|
+
clockId?: number;
|
|
6436
|
+
settimeFlags?: number;
|
|
6437
|
+
valueSeconds?: number;
|
|
6438
|
+
valueNanoseconds?: number;
|
|
6439
|
+
intervalSeconds?: number;
|
|
6440
|
+
intervalNanoseconds?: number;
|
|
6441
|
+
closeOnExec?: boolean;
|
|
6442
|
+
} | {
|
|
6443
|
+
kind: "synthetic-signalfd";
|
|
6444
|
+
fd: number;
|
|
6445
|
+
signalMask: string;
|
|
6446
|
+
flags: number;
|
|
6447
|
+
closeOnExec?: boolean;
|
|
6448
|
+
} | {
|
|
6449
|
+
kind: "synthetic-epoll";
|
|
6450
|
+
fd: number;
|
|
6451
|
+
watches: TargetGuestEpollWatchRecipe[];
|
|
6452
|
+
closeOnExec?: boolean;
|
|
6453
|
+
} | {
|
|
6454
|
+
kind: "synthetic-tcp-listener";
|
|
6455
|
+
fd: number;
|
|
6456
|
+
port: number;
|
|
6457
|
+
backlog: number;
|
|
6458
|
+
reuseAddr?: boolean;
|
|
6459
|
+
closeOnExec?: boolean;
|
|
6460
|
+
} | {
|
|
6461
|
+
kind: "synthetic-tcp-active-broker";
|
|
6462
|
+
fd: number;
|
|
6463
|
+
brokerFd: number;
|
|
6464
|
+
port: number;
|
|
6465
|
+
initialPeerBytes: string;
|
|
6466
|
+
closeOnExec?: boolean;
|
|
6467
|
+
} | {
|
|
6468
|
+
kind: "synthetic-raw-icmp";
|
|
6469
|
+
fd: number;
|
|
6470
|
+
identifier: number;
|
|
6471
|
+
sequence: number;
|
|
6472
|
+
closeOnExec?: boolean;
|
|
6473
|
+
} | {
|
|
6474
|
+
kind: "synthetic-ping-socket";
|
|
6475
|
+
fd: number;
|
|
6476
|
+
identifier: number;
|
|
6477
|
+
sequence: number;
|
|
6478
|
+
uid: number;
|
|
6479
|
+
gid: number;
|
|
6480
|
+
pingGroupRangeStart: number;
|
|
6481
|
+
pingGroupRangeEnd: number;
|
|
6482
|
+
adoptCredentials?: boolean;
|
|
6483
|
+
expectedRefusalCode?: string;
|
|
6484
|
+
expectedRefusalReason?: string;
|
|
6485
|
+
closeOnExec?: boolean;
|
|
6486
|
+
};
|
|
6487
|
+
type TargetGuestRestoreResumeMode = "translated-frame";
|
|
6488
|
+
type TargetGuestResumeRegisterName = "rax" | "rdi" | "rsi" | "rdx" | "rcx" | "r8" | "r9" | "r10" | "r11";
|
|
6489
|
+
type TargetGuestResumeRegisters = Record<TargetGuestResumeRegisterName, string>;
|
|
6490
|
+
interface TargetGuestRestoreContinuationDescriptor {
|
|
6491
|
+
codeFile: string;
|
|
6492
|
+
fileOffset: number;
|
|
6493
|
+
codeSize: number;
|
|
6494
|
+
targetAddress: string;
|
|
6495
|
+
argument0?: string;
|
|
6496
|
+
stateReportAddress?: string;
|
|
6497
|
+
targetFsBase?: string;
|
|
6498
|
+
translatedReturnAddress?: string;
|
|
6499
|
+
resumeMode?: TargetGuestRestoreResumeMode;
|
|
6500
|
+
resumeRflags?: string;
|
|
6501
|
+
resumeRegisters?: TargetGuestResumeRegisters;
|
|
6502
|
+
timeoutSeconds: number;
|
|
6503
|
+
stackTargetStart: string;
|
|
6504
|
+
stackSize: number;
|
|
6505
|
+
stackPointer: string;
|
|
6506
|
+
}
|
|
6507
|
+
interface TargetGuestTranslatedFrameDescriptor {
|
|
6508
|
+
kind: "single-target-caller-frame";
|
|
6509
|
+
framePointer: string;
|
|
6510
|
+
canonicalFrameAddress: string;
|
|
6511
|
+
returnAddressSlot: string;
|
|
6512
|
+
returnAddress: string;
|
|
6513
|
+
unwindId: string;
|
|
6514
|
+
calleeSaved: TargetGuestTranslatedFrameRegister[];
|
|
6515
|
+
slots: TargetGuestTranslatedFrameSlot[];
|
|
6516
|
+
}
|
|
6517
|
+
type TargetGuestTranslatedFrameRegisterName = "rbx" | "r12" | "r13" | "r14" | "r15";
|
|
6518
|
+
interface TargetGuestTranslatedFrameRegister {
|
|
6519
|
+
register: TargetGuestTranslatedFrameRegisterName;
|
|
6520
|
+
value: string;
|
|
6521
|
+
}
|
|
6522
|
+
interface TargetGuestTranslatedFrameSlot {
|
|
6523
|
+
offset: number;
|
|
6524
|
+
value: string;
|
|
6525
|
+
classification: "non-pointer-data";
|
|
6526
|
+
}
|
|
6527
|
+
type TargetGuestNativeRestoreStep = {
|
|
6528
|
+
section: "stack-window-write";
|
|
6529
|
+
write: NativeStackWindowWrite;
|
|
6530
|
+
} | {
|
|
6531
|
+
section: "stack-window-guard";
|
|
6532
|
+
guard: NativeStackWindowGuardMapping;
|
|
6533
|
+
} | {
|
|
6534
|
+
section: "return-chain-write";
|
|
6535
|
+
write: NativeReturnChainFrameWrite;
|
|
6536
|
+
} | {
|
|
6537
|
+
section: "private-memory";
|
|
6538
|
+
step: TargetGuestPrivateMemoryRestoreStep;
|
|
6539
|
+
} | {
|
|
6540
|
+
section: "executable-mapping";
|
|
6541
|
+
step: TargetGuestExecutableMappingStep;
|
|
6542
|
+
} | {
|
|
6543
|
+
section: "process-context";
|
|
6544
|
+
step: TargetGuestProcessContextRestoreStep;
|
|
6545
|
+
} | {
|
|
6546
|
+
section: "signal-restore";
|
|
6547
|
+
step: TargetGuestSignalRestoreStep;
|
|
6548
|
+
} | {
|
|
6549
|
+
section: "active-syscall";
|
|
6550
|
+
step: TargetGuestActiveSyscallRestoreStep;
|
|
6551
|
+
} | {
|
|
6552
|
+
section: "thread-spawn";
|
|
6553
|
+
step: TargetGuestTwoThreadSpawnStep;
|
|
6554
|
+
};
|
|
6555
|
+
interface TargetGuestRestoreDescriptor {
|
|
6556
|
+
kind: typeof TARGET_GUEST_RESTORE_DESCRIPTOR_KIND;
|
|
6557
|
+
targetArch: "amd64";
|
|
6558
|
+
continuation: TargetGuestRestoreContinuationDescriptor;
|
|
6559
|
+
translatedFrame?: TargetGuestTranslatedFrameDescriptor;
|
|
6560
|
+
resources: TargetGuestRestoreResourceRecipe[];
|
|
6561
|
+
memory: TargetGuestMemoryMaterializationEntry[];
|
|
6562
|
+
nativeRestore?: TargetGuestNativeRestoreStep[];
|
|
6563
|
+
}
|
|
6564
|
+
declare function serializeTargetGuestRestoreDescriptor(descriptor: TargetGuestRestoreDescriptor): string;
|
|
6565
|
+
declare function parseTargetGuestRestoreDescriptor(text: string): TargetGuestRestoreDescriptor;
|
|
6566
|
+
declare function validateTargetGuestRestoreDescriptor(descriptor: TargetGuestRestoreDescriptor): TargetGuestRestoreDescriptor;
|
|
6567
|
+
declare function buildNativeActualResumeTrampolineArgs(descriptor: TargetGuestRestoreDescriptor): string[];
|
|
6568
|
+
declare function buildTargetGuestRestoreLoaderArgv(descriptorPath: string, trampolinePath: string): string[];
|
|
6569
|
+
|
|
3788
6570
|
/** Kernel-resource recipes and refusals for native process restore. */
|
|
3789
6571
|
|
|
3790
6572
|
interface NativeInheritedStdioPolicy {
|
|
@@ -3794,12 +6576,980 @@ interface NativeResourceTranslationRequest {
|
|
|
3794
6576
|
resources: NativeProcessResource[];
|
|
3795
6577
|
hostCapabilities?: string[];
|
|
3796
6578
|
inheritedStdio?: NativeInheritedStdioPolicy;
|
|
6579
|
+
syntheticEmptyPipeFds?: number[];
|
|
6580
|
+
syntheticEmptyEventFds?: number[];
|
|
6581
|
+
syntheticTimerFds?: number[];
|
|
3797
6582
|
}
|
|
3798
6583
|
interface NativeResourceTranslationResult {
|
|
3799
6584
|
resources: NativeProcessResource[];
|
|
3800
6585
|
refusals: NativeProcessImageRefusal[];
|
|
3801
6586
|
}
|
|
6587
|
+
type NativeTargetFdTableEntryKind = "close-fd" | "inherit-stdio" | "reopen-file" | "synthetic-empty-pipe-read-end" | "synthetic-empty-pipe-write-end" | "synthetic-empty-eventfd" | "synthetic-eventfd" | "synthetic-timerfd" | "synthetic-signalfd" | "synthetic-epoll" | "synthetic-tcp-listener" | "synthetic-tcp-active-broker" | "synthetic-raw-icmp" | "synthetic-ping-socket" | "refused";
|
|
6588
|
+
interface NativeTargetFdTableEntry {
|
|
6589
|
+
targetFd: number;
|
|
6590
|
+
capturedFd?: number;
|
|
6591
|
+
resourceId?: string;
|
|
6592
|
+
resourceKind?: NativeProcessResource["kind"];
|
|
6593
|
+
kind: NativeTargetFdTableEntryKind;
|
|
6594
|
+
closeOnExec: boolean;
|
|
6595
|
+
action: "materialize" | "close" | "refuse";
|
|
6596
|
+
source: "captured-resource" | "missing-captured-fd";
|
|
6597
|
+
recipe?: Record<string, unknown>;
|
|
6598
|
+
targetGuestRecipe?: TargetGuestRestoreResourceRecipe;
|
|
6599
|
+
refusal?: NativeProcessImageRefusal;
|
|
6600
|
+
provenance: {
|
|
6601
|
+
resourceId?: string;
|
|
6602
|
+
capturedFd?: number;
|
|
6603
|
+
targetFd: number;
|
|
6604
|
+
flags?: string[];
|
|
6605
|
+
reason: string;
|
|
6606
|
+
};
|
|
6607
|
+
}
|
|
6608
|
+
interface NativeTargetFdTablePlanRequest extends NativeResourceTranslationRequest {
|
|
6609
|
+
expectedFds?: number[];
|
|
6610
|
+
}
|
|
6611
|
+
interface NativeTargetFdTablePlan {
|
|
6612
|
+
entries: NativeTargetFdTableEntry[];
|
|
6613
|
+
resources: NativeProcessResource[];
|
|
6614
|
+
targetGuestResources: TargetGuestRestoreResourceRecipe[];
|
|
6615
|
+
refusals: NativeProcessImageRefusal[];
|
|
6616
|
+
}
|
|
3802
6617
|
declare function translateNativeResources(request: NativeResourceTranslationRequest): NativeResourceTranslationResult;
|
|
6618
|
+
declare function planNativeTargetFdTable(request: NativeTargetFdTablePlanRequest): NativeTargetFdTablePlan;
|
|
6619
|
+
|
|
6620
|
+
declare const ARCHITECTURE_PORTABLE_SNAPSHOT_GAUNTLET_KIND: "machinen.architecture-portable-snapshot.final-proof-gauntlet";
|
|
6621
|
+
declare const ARCHITECTURE_PORTABLE_SNAPSHOT_GAUNTLET_ROW_KIND: "machinen.architecture-portable-snapshot.final-proof-gauntlet-row";
|
|
6622
|
+
declare const architecturePortableSnapshotGauntletEvidenceStatuses: readonly ["support", "proof", "stretch-demo", "refusal", "skipped"];
|
|
6623
|
+
declare const architecturePortableSnapshotTargetExecutions: readonly ["native", "accelerated", "emulated", "not-applicable"];
|
|
6624
|
+
declare const architecturePortableSnapshotEvidenceCategories: readonly ["supported-semantic-restart", "supported-semantic-continuation", "runtime-aware-proof", "native/process-proof", "unsupported"];
|
|
6625
|
+
declare const architecturePortableSnapshotProductSupportStates: readonly ["supported", "not-yet-supported", "unsupported"];
|
|
6626
|
+
type ArchitecturePortableSnapshotGauntletEvidenceStatus = (typeof architecturePortableSnapshotGauntletEvidenceStatuses)[number];
|
|
6627
|
+
type ArchitecturePortableSnapshotTargetExecution = (typeof architecturePortableSnapshotTargetExecutions)[number];
|
|
6628
|
+
type ArchitecturePortableSnapshotEvidenceCategory = (typeof architecturePortableSnapshotEvidenceCategories)[number];
|
|
6629
|
+
type ArchitecturePortableSnapshotProductSupport = (typeof architecturePortableSnapshotProductSupportStates)[number];
|
|
6630
|
+
interface ArchitecturePortableSnapshotGauntletRowInput {
|
|
6631
|
+
claimId: string;
|
|
6632
|
+
claimName: string;
|
|
6633
|
+
evidenceStatus: ArchitecturePortableSnapshotGauntletEvidenceStatus;
|
|
6634
|
+
sourceArch: string;
|
|
6635
|
+
targetArch: string;
|
|
6636
|
+
hostArch: string;
|
|
6637
|
+
providerMode: string;
|
|
6638
|
+
targetExecution: ArchitecturePortableSnapshotTargetExecution;
|
|
6639
|
+
evidenceCategory: ArchitecturePortableSnapshotEvidenceCategory;
|
|
6640
|
+
productSupport: ArchitecturePortableSnapshotProductSupport;
|
|
6641
|
+
implementationLevel: string;
|
|
6642
|
+
graduationTargetLevel: string;
|
|
6643
|
+
stateModel: string;
|
|
6644
|
+
stateDecisions: string[];
|
|
6645
|
+
verifierCommand: string;
|
|
6646
|
+
verifierOutput: string;
|
|
6647
|
+
artifactDigests: Record<string, string>;
|
|
6648
|
+
provenance: Record<string, unknown>;
|
|
6649
|
+
migrationCompleted: boolean;
|
|
6650
|
+
refusalCode?: string;
|
|
6651
|
+
remediation?: string;
|
|
6652
|
+
}
|
|
6653
|
+
interface ArchitecturePortableSnapshotGauntletRow extends ArchitecturePortableSnapshotGauntletRowInput {
|
|
6654
|
+
kind: typeof ARCHITECTURE_PORTABLE_SNAPSHOT_GAUNTLET_ROW_KIND;
|
|
6655
|
+
}
|
|
6656
|
+
interface ArchitecturePortableSnapshotGauntletSummary {
|
|
6657
|
+
kind: typeof ARCHITECTURE_PORTABLE_SNAPSHOT_GAUNTLET_KIND;
|
|
6658
|
+
state: "completed" | "failed";
|
|
6659
|
+
pass: boolean;
|
|
6660
|
+
rowCount: number;
|
|
6661
|
+
rows: ArchitecturePortableSnapshotGauntletRow[];
|
|
6662
|
+
byEvidenceStatus: Record<ArchitecturePortableSnapshotGauntletEvidenceStatus, number>;
|
|
6663
|
+
failures: string[];
|
|
6664
|
+
}
|
|
6665
|
+
declare function buildArchitecturePortableSnapshotGauntletRow(input: ArchitecturePortableSnapshotGauntletRowInput): ArchitecturePortableSnapshotGauntletRow;
|
|
6666
|
+
declare function summarizeArchitecturePortableSnapshotGauntletRows(rows: ArchitecturePortableSnapshotGauntletRow[]): ArchitecturePortableSnapshotGauntletSummary;
|
|
6667
|
+
declare function validateArchitecturePortableSnapshotGauntletRows(rows: ArchitecturePortableSnapshotGauntletRow[]): string[];
|
|
6668
|
+
declare function validateArchitecturePortableSnapshotGauntletSchema(rows: ArchitecturePortableSnapshotGauntletRow[]): string[];
|
|
6669
|
+
declare function validateArchitecturePortableSnapshotGauntletInvariants(rows: ArchitecturePortableSnapshotGauntletRow[]): string[];
|
|
6670
|
+
declare const requiredArchitecturePortableSnapshotClaimIds: readonly ["opposite-isa-vm-execution", "guest-checkpoint-c-simple", "guest-checkpoint-jvm-simple", "portable-snapshot-guest-checkpoint-composition", "advanced-linux-seccomp", "advanced-linux-ebpf", "advanced-linux-namespace-cgroup-capability", "nested-virtualization-stretch-proof", "native-register-translation", "native-stack-return-chain-translation", "native-private-memory-materialization", "native-executable-target-module-materialization", "native-target-restore-loader", "native-tls-simd-fpu-policy", "native-signal-policy", "native-active-syscall-policy", "native-thread-policy", "native-mapping-refusals", "native-resource-refusals"];
|
|
6671
|
+
declare function stableGauntletDigest(value: unknown): string;
|
|
6672
|
+
|
|
6673
|
+
declare const NESTED_VIRTUALIZATION_STRETCH_PROOF_KIND: "machinen.architecture-portable-snapshot.nested-virtualization-stretch-proof";
|
|
6674
|
+
declare const nestedVirtualizationStretchProofClassifications: readonly ["stretch-demo", "refused", "skipped"];
|
|
6675
|
+
declare const nestedVirtualizationStretchProofRefusalCodes: readonly ["nested-virtualization-unavailable", "nested-smoke-failed", "nested-verifier-ambiguous", "nested-snapshot-fork-unsafe"];
|
|
6676
|
+
type NestedVirtualizationStretchProofClassification = (typeof nestedVirtualizationStretchProofClassifications)[number];
|
|
6677
|
+
type NestedVirtualizationStretchProofRefusalCode = (typeof nestedVirtualizationStretchProofRefusalCodes)[number];
|
|
6678
|
+
interface NestedVirtualizationStretchProofInput {
|
|
6679
|
+
classification: NestedVirtualizationStretchProofClassification;
|
|
6680
|
+
l0HostArch: string;
|
|
6681
|
+
l1GuestArch: string;
|
|
6682
|
+
l2GuestArch: string;
|
|
6683
|
+
providerMode: string;
|
|
6684
|
+
accelerated: boolean;
|
|
6685
|
+
emulated: boolean;
|
|
6686
|
+
nestedVerifierOutput: string;
|
|
6687
|
+
refusalCode?: NestedVirtualizationStretchProofRefusalCode;
|
|
6688
|
+
remediation?: string;
|
|
6689
|
+
snapshotForkRefusalCode: string;
|
|
6690
|
+
snapshotForkRemediation: string;
|
|
6691
|
+
evidence?: Record<string, unknown>;
|
|
6692
|
+
}
|
|
6693
|
+
interface NestedVirtualizationStretchProofRow extends NestedVirtualizationStretchProofInput {
|
|
6694
|
+
kind: typeof NESTED_VIRTUALIZATION_STRETCH_PROOF_KIND;
|
|
6695
|
+
migrationCompleted: false;
|
|
6696
|
+
scope: {
|
|
6697
|
+
productSupportClaimed: false;
|
|
6698
|
+
portableSnapshotRequirement: false;
|
|
6699
|
+
providerSnapshotForkSafe: false;
|
|
6700
|
+
};
|
|
6701
|
+
}
|
|
6702
|
+
interface NestedVirtualizationStretchProofSummary {
|
|
6703
|
+
kind: "machinen.architecture-portable-snapshot.nested-virtualization-stretch-proof-summary";
|
|
6704
|
+
state: "completed" | "failed";
|
|
6705
|
+
pass: boolean;
|
|
6706
|
+
rows: NestedVirtualizationStretchProofRow[];
|
|
6707
|
+
rowCount: number;
|
|
6708
|
+
failures: string[];
|
|
6709
|
+
}
|
|
6710
|
+
declare function buildNestedVirtualizationStretchProofRow(input: NestedVirtualizationStretchProofInput): NestedVirtualizationStretchProofRow;
|
|
6711
|
+
declare function summarizeNestedVirtualizationStretchProofRows(rows: NestedVirtualizationStretchProofRow[]): NestedVirtualizationStretchProofSummary;
|
|
6712
|
+
declare function validateNestedVirtualizationStretchProofRows(rows: NestedVirtualizationStretchProofRow[]): string[];
|
|
6713
|
+
|
|
6714
|
+
interface NestedVirtProbeHost {
|
|
6715
|
+
platform: NodeJS.Platform;
|
|
6716
|
+
arch: NodeJS.Architecture;
|
|
6717
|
+
existsSync(path: string): boolean;
|
|
6718
|
+
readText(path: string): string;
|
|
6719
|
+
execFileSync(file: string, args: string[]): string;
|
|
6720
|
+
}
|
|
6721
|
+
interface NestedVirtProbeResult {
|
|
6722
|
+
supported: boolean;
|
|
6723
|
+
reason?: string;
|
|
6724
|
+
}
|
|
6725
|
+
declare function probeNestedVirtualization(host?: NestedVirtProbeHost): NestedVirtProbeResult;
|
|
6726
|
+
|
|
6727
|
+
declare const ADVANCED_LINUX_FACILITY_PROBE_KIND: "machinen.architecture-portable-snapshot.advanced-linux-facility-probe";
|
|
6728
|
+
declare const advancedLinuxFacilityProbeFacilities: readonly ["seccomp", "ebpf", "namespace", "cgroup", "capability"];
|
|
6729
|
+
declare const advancedLinuxFacilityProbeClassifications: readonly ["product-supported", "proof-only-feasibility", "stretch-demo", "refused"];
|
|
6730
|
+
declare const advancedLinuxFacilityProbeRefusalCodes: readonly ["kernel-feature-unavailable", "insufficient-privileges", "unsafe-bpf-state-unsupported", "namespace-cgroup-mismatch", "capability-mismatch", "facility-verifier-ambiguous"];
|
|
6731
|
+
type AdvancedLinuxFacilityProbeFacility = (typeof advancedLinuxFacilityProbeFacilities)[number];
|
|
6732
|
+
type AdvancedLinuxFacilityProbeClassification = (typeof advancedLinuxFacilityProbeClassifications)[number];
|
|
6733
|
+
type AdvancedLinuxFacilityProbeRefusalCode = (typeof advancedLinuxFacilityProbeRefusalCodes)[number];
|
|
6734
|
+
type AdvancedLinuxFacilityProbeStateModel = "preserved" | "recreated" | "proven-irrelevant" | "refused";
|
|
6735
|
+
interface AdvancedLinuxFacilityProbeInput {
|
|
6736
|
+
facility: AdvancedLinuxFacilityProbeFacility;
|
|
6737
|
+
stateModel: AdvancedLinuxFacilityProbeStateModel;
|
|
6738
|
+
sourceArch: string;
|
|
6739
|
+
targetArch: string;
|
|
6740
|
+
kernelVersion: string;
|
|
6741
|
+
requiredCapabilities: string[];
|
|
6742
|
+
verifierOutput: string;
|
|
6743
|
+
classification: AdvancedLinuxFacilityProbeClassification;
|
|
6744
|
+
migrationCompleted?: boolean;
|
|
6745
|
+
refusalCode?: AdvancedLinuxFacilityProbeRefusalCode;
|
|
6746
|
+
remediation?: string;
|
|
6747
|
+
evidence?: Record<string, unknown>;
|
|
6748
|
+
}
|
|
6749
|
+
interface AdvancedLinuxFacilityProbeRow extends AdvancedLinuxFacilityProbeInput {
|
|
6750
|
+
kind: typeof ADVANCED_LINUX_FACILITY_PROBE_KIND;
|
|
6751
|
+
migrationCompleted: boolean;
|
|
6752
|
+
scope: {
|
|
6753
|
+
productSupportClaimed: boolean;
|
|
6754
|
+
crossIsaKernelStateReplayClaimed: false;
|
|
6755
|
+
};
|
|
6756
|
+
}
|
|
6757
|
+
interface AdvancedLinuxFacilityProbeSummary {
|
|
6758
|
+
kind: "machinen.architecture-portable-snapshot.advanced-linux-facility-probe-matrix";
|
|
6759
|
+
state: "completed" | "failed";
|
|
6760
|
+
pass: boolean;
|
|
6761
|
+
rows: AdvancedLinuxFacilityProbeRow[];
|
|
6762
|
+
rowCount: number;
|
|
6763
|
+
failures: string[];
|
|
6764
|
+
}
|
|
6765
|
+
declare function buildAdvancedLinuxFacilityProbeRow(input: AdvancedLinuxFacilityProbeInput): AdvancedLinuxFacilityProbeRow;
|
|
6766
|
+
declare function summarizeAdvancedLinuxFacilityProbeRows(rows: AdvancedLinuxFacilityProbeRow[]): AdvancedLinuxFacilityProbeSummary;
|
|
6767
|
+
declare function validateAdvancedLinuxFacilityProbeRows(rows: AdvancedLinuxFacilityProbeRow[]): string[];
|
|
6768
|
+
|
|
6769
|
+
declare const RUNTIME_CONFIDENCE_PROFILE_KIND: "machinen.architecture-portable-snapshot.runtime-confidence-profile";
|
|
6770
|
+
declare const runtimeConfidenceClassifications: readonly ["product-supported", "proof-only-feasibility", "stretch-demo", "refused"];
|
|
6771
|
+
declare const runtimeConfidenceRefusalCodes: readonly ["active-sockets-unsupported", "native-library-ambiguity", "unmodeled-signal-or-timer-state", "jvm-private-jit-state-unsupported", "unsupported-process-topology", "source-target-abi-mismatch", "missing-target-runtime-or-dynamic-library-provenance", "target-verifier-missing-or-ambiguous"];
|
|
6772
|
+
type RuntimeConfidenceRuntime = "c" | "java";
|
|
6773
|
+
type RuntimeConfidenceClassification = (typeof runtimeConfidenceClassifications)[number];
|
|
6774
|
+
type RuntimeConfidenceRefusalCode = (typeof runtimeConfidenceRefusalCodes)[number];
|
|
6775
|
+
type RuntimeConfidenceStateModel = "preserved" | "recreated" | "drained" | "dropped-irrelevant" | "logically-restored" | "refused";
|
|
6776
|
+
type RuntimeConfidenceArch = "arm64" | "amd64";
|
|
6777
|
+
interface RuntimeConfidenceProfileInput {
|
|
6778
|
+
runtime: RuntimeConfidenceRuntime;
|
|
6779
|
+
profile: string;
|
|
6780
|
+
classification: RuntimeConfidenceClassification;
|
|
6781
|
+
sourceArch: RuntimeConfidenceArch;
|
|
6782
|
+
targetArch: RuntimeConfidenceArch;
|
|
6783
|
+
stateModel: RuntimeConfidenceStateModel;
|
|
6784
|
+
artifactDigests: Record<string, string>;
|
|
6785
|
+
runtimeVersion: string;
|
|
6786
|
+
verifierOutput: string;
|
|
6787
|
+
migrationCompleted?: boolean;
|
|
6788
|
+
refusalCode?: RuntimeConfidenceRefusalCode;
|
|
6789
|
+
remediation?: string;
|
|
6790
|
+
evidence?: Record<string, unknown>;
|
|
6791
|
+
}
|
|
6792
|
+
interface RuntimeConfidenceProfileRow extends RuntimeConfidenceProfileInput {
|
|
6793
|
+
kind: typeof RUNTIME_CONFIDENCE_PROFILE_KIND;
|
|
6794
|
+
migrationCompleted: boolean;
|
|
6795
|
+
scope: {
|
|
6796
|
+
targetNativeVerifierRequired: true;
|
|
6797
|
+
crossIsaRegisterReplayClaimed: false;
|
|
6798
|
+
productSupportClaimed: boolean;
|
|
6799
|
+
};
|
|
6800
|
+
}
|
|
6801
|
+
interface RuntimeConfidenceProfileSummary {
|
|
6802
|
+
kind: "machinen.architecture-portable-snapshot.runtime-confidence-profile-matrix";
|
|
6803
|
+
state: "completed" | "failed";
|
|
6804
|
+
pass: boolean;
|
|
6805
|
+
rows: RuntimeConfidenceProfileRow[];
|
|
6806
|
+
rowCount: number;
|
|
6807
|
+
byRuntime: Record<RuntimeConfidenceRuntime, number>;
|
|
6808
|
+
byClassification: Record<RuntimeConfidenceClassification, number>;
|
|
6809
|
+
failures: string[];
|
|
6810
|
+
}
|
|
6811
|
+
declare function buildRuntimeConfidenceProfileRow(input: RuntimeConfidenceProfileInput): RuntimeConfidenceProfileRow;
|
|
6812
|
+
declare function buildRuntimeConfidenceProfileMatrix(): RuntimeConfidenceProfileSummary;
|
|
6813
|
+
declare function summarizeRuntimeConfidenceProfiles(rows: RuntimeConfidenceProfileRow[]): RuntimeConfidenceProfileSummary;
|
|
6814
|
+
declare function validateRuntimeConfidenceProfiles(rows: RuntimeConfidenceProfileRow[]): string[];
|
|
6815
|
+
declare function runtimeConfidenceProfileFixtures(): RuntimeConfidenceProfileRow[];
|
|
6816
|
+
|
|
6817
|
+
declare const PORTABLE_SNAPSHOT_GUEST_CHECKPOINT_COMPOSITION_KIND: "machinen.architecture-portable-snapshot.portable-snapshot-guest-checkpoint-composition";
|
|
6818
|
+
declare const portableSnapshotGuestCheckpointCompositionRefusalCodes: readonly ["guest-checkpoint-capability-unavailable", "guest-checkpoint-storage-unsupported-or-dirty", "cross-isa-checkpoint-image-restore-unsupported", "machinen-restore-path-unsupported", "composition-verifier-missing-or-ambiguous", "stored-checkpoint-image-unreadable-after-restore"];
|
|
6819
|
+
type PortableSnapshotGuestCheckpointCompositionRefusalCode = (typeof portableSnapshotGuestCheckpointCompositionRefusalCodes)[number];
|
|
6820
|
+
type PortableSnapshotGuestCheckpointCompositionState = "completed" | "refused" | "skipped";
|
|
6821
|
+
type PortableSnapshotGuestCheckpointMachinenStateModel = "same-arch-vmstate" | "cross-arch-semantic-restore" | "unsupported-cross-isa-checkpoint-replay" | "other-supported";
|
|
6822
|
+
interface PortableSnapshotGuestCheckpointCompositionInput {
|
|
6823
|
+
sourceArch: string;
|
|
6824
|
+
targetArch: string;
|
|
6825
|
+
machinenStateModel: PortableSnapshotGuestCheckpointMachinenStateModel;
|
|
6826
|
+
guestCheckpointVersion: string;
|
|
6827
|
+
preSnapshotGuestCheckpointVerifier: string;
|
|
6828
|
+
postRestoreGuestCheckpointVerifier: string;
|
|
6829
|
+
storedCheckpointImageDigest: string;
|
|
6830
|
+
storedCheckpointImageReadableAfterRestore: boolean;
|
|
6831
|
+
migrationCompleted?: boolean;
|
|
6832
|
+
refusalCode?: PortableSnapshotGuestCheckpointCompositionRefusalCode;
|
|
6833
|
+
remediation?: string;
|
|
6834
|
+
evidence?: Record<string, unknown>;
|
|
6835
|
+
}
|
|
6836
|
+
interface PortableSnapshotGuestCheckpointCompositionRow extends PortableSnapshotGuestCheckpointCompositionInput {
|
|
6837
|
+
kind: typeof PORTABLE_SNAPSHOT_GUEST_CHECKPOINT_COMPOSITION_KIND;
|
|
6838
|
+
state: PortableSnapshotGuestCheckpointCompositionState;
|
|
6839
|
+
migrationCompleted: boolean;
|
|
6840
|
+
scope: {
|
|
6841
|
+
guestCheckpointSameIsaOnly: true;
|
|
6842
|
+
crossIsaCheckpointImageRestoreClaimed: false;
|
|
6843
|
+
machinenRestoreRequired: true;
|
|
6844
|
+
};
|
|
6845
|
+
}
|
|
6846
|
+
interface PortableSnapshotGuestCheckpointCompositionSummary {
|
|
6847
|
+
kind: "machinen.architecture-portable-snapshot.portable-snapshot-guest-checkpoint-composition-smoke";
|
|
6848
|
+
state: "completed" | "failed";
|
|
6849
|
+
pass: boolean;
|
|
6850
|
+
rows: PortableSnapshotGuestCheckpointCompositionRow[];
|
|
6851
|
+
completedRows: number;
|
|
6852
|
+
refusedRows: number;
|
|
6853
|
+
failures: string[];
|
|
6854
|
+
}
|
|
6855
|
+
declare function buildPortableSnapshotGuestCheckpointCompositionRow(input: PortableSnapshotGuestCheckpointCompositionInput): PortableSnapshotGuestCheckpointCompositionRow;
|
|
6856
|
+
declare function summarizePortableSnapshotGuestCheckpointCompositionRows(rows: PortableSnapshotGuestCheckpointCompositionRow[]): PortableSnapshotGuestCheckpointCompositionSummary;
|
|
6857
|
+
declare function validatePortableSnapshotGuestCheckpointCompositionRows(rows: PortableSnapshotGuestCheckpointCompositionRow[]): string[];
|
|
6858
|
+
|
|
6859
|
+
declare const GUEST_CHECKPOINT_SUBSTRATE_KIND: "machinen.architecture-portable-snapshot.guest-checkpoint-substrate";
|
|
6860
|
+
declare const guestCheckpointSubstrateRefusalCodes: readonly ["guest-checkpoint-check-unavailable", "c-checkpoint-dump-restore-failed", "jvm-runtime-unavailable", "jvm-checkpoint-runtime-state-unsupported", "jvm-checkpoint-dump-restore-failed"];
|
|
6861
|
+
type GuestCheckpointSubstrateProfile = "c-simple" | "jvm-simple";
|
|
6862
|
+
type GuestCheckpointSubstrateState = "completed" | "refused" | "skipped";
|
|
6863
|
+
type GuestCheckpointSubstrateRefusalCode = (typeof guestCheckpointSubstrateRefusalCodes)[number];
|
|
6864
|
+
interface GuestCheckpointSubstrateInput {
|
|
6865
|
+
guestArch: string;
|
|
6866
|
+
kernelVersion: string;
|
|
6867
|
+
checkpointToolVersion: string;
|
|
6868
|
+
kernelFeatureProbeOutput: string;
|
|
6869
|
+
profile: GuestCheckpointSubstrateProfile;
|
|
6870
|
+
checkpointLog: string;
|
|
6871
|
+
restoreLog: string;
|
|
6872
|
+
verifierOutput: string;
|
|
6873
|
+
state?: GuestCheckpointSubstrateState;
|
|
6874
|
+
refusalCode?: GuestCheckpointSubstrateRefusalCode;
|
|
6875
|
+
remediation?: string;
|
|
6876
|
+
evidence?: Record<string, unknown>;
|
|
6877
|
+
}
|
|
6878
|
+
interface GuestCheckpointSubstrateRow {
|
|
6879
|
+
kind: typeof GUEST_CHECKPOINT_SUBSTRATE_KIND;
|
|
6880
|
+
guestArch: string;
|
|
6881
|
+
kernelVersion: string;
|
|
6882
|
+
checkpointToolVersion: string;
|
|
6883
|
+
kernelFeatureProbeOutput: string;
|
|
6884
|
+
profile: GuestCheckpointSubstrateProfile;
|
|
6885
|
+
checkpointLog: string;
|
|
6886
|
+
restoreLog: string;
|
|
6887
|
+
verifierOutput: string;
|
|
6888
|
+
state: GuestCheckpointSubstrateState;
|
|
6889
|
+
refusalCode?: GuestCheckpointSubstrateRefusalCode;
|
|
6890
|
+
remediation?: string;
|
|
6891
|
+
evidence: Record<string, unknown>;
|
|
6892
|
+
scope: {
|
|
6893
|
+
sameGuest: true;
|
|
6894
|
+
sameIsa: true;
|
|
6895
|
+
crossIsaCheckpointReplay: false;
|
|
6896
|
+
sourceIsaEmulationUsed: false;
|
|
6897
|
+
};
|
|
6898
|
+
}
|
|
6899
|
+
interface GuestCheckpointSubstrateSummary {
|
|
6900
|
+
kind: "machinen.architecture-portable-snapshot.guest-checkpoint-substrate-smoke";
|
|
6901
|
+
state: "completed" | "failed";
|
|
6902
|
+
pass: boolean;
|
|
6903
|
+
rows: GuestCheckpointSubstrateRow[];
|
|
6904
|
+
completedRows: number;
|
|
6905
|
+
refusedRows: number;
|
|
6906
|
+
skippedRows: number;
|
|
6907
|
+
failures: string[];
|
|
6908
|
+
}
|
|
6909
|
+
declare function buildGuestCheckpointSubstrateRow(input: GuestCheckpointSubstrateInput): GuestCheckpointSubstrateRow;
|
|
6910
|
+
declare function summarizeGuestCheckpointSubstrateRows(rows: GuestCheckpointSubstrateRow[]): GuestCheckpointSubstrateSummary;
|
|
6911
|
+
declare function validateGuestCheckpointSubstrateRows(rows: GuestCheckpointSubstrateRow[]): string[];
|
|
6912
|
+
|
|
6913
|
+
declare const STATEFUL_DATABASE_RESTORE_KIND: "machinen.architecture-portable-snapshot.stateful-database-restore";
|
|
6914
|
+
declare const statefulDatabaseRestoreRefusalCodes: readonly ["postgres-active-transaction-unsupported", "postgres-active-session-unsupported", "postgres-dirty-wal-boundary-unsupported", "postgres-host-mounted-data-dir-ambiguous", "postgres-physical-data-dir-cross-isa-unsupported", "postgres-target-verifier-mismatch", "postgres-extension-native-state-unsupported", "sqlite-dirty-rollback-journal-unsupported", "sqlite-dirty-wal-checkpoint-unsupported", "sqlite-active-writer-transaction-unsupported", "sqlite-mmap-or-lock-state-unsupported", "sqlite-target-verifier-mismatch"];
|
|
6915
|
+
type StatefulDatabaseRestoreRefusalCode = (typeof statefulDatabaseRestoreRefusalCodes)[number];
|
|
6916
|
+
type StatefulDatabaseRestoreArch = "arm64" | "amd64";
|
|
6917
|
+
type StatefulDatabaseRestoreDatabase = "postgresql" | "sqlite";
|
|
6918
|
+
type StatefulDatabaseRestoreStateModel = "logical-dump" | "checkpoint" | "rollback-journal" | "wal-checkpoint";
|
|
6919
|
+
type StatefulDatabaseRestoreState = "completed" | "refused";
|
|
6920
|
+
interface StatefulDatabaseRestoreInput {
|
|
6921
|
+
database: StatefulDatabaseRestoreDatabase;
|
|
6922
|
+
stateModel: StatefulDatabaseRestoreStateModel;
|
|
6923
|
+
sourceArch: StatefulDatabaseRestoreArch;
|
|
6924
|
+
targetArch: StatefulDatabaseRestoreArch;
|
|
6925
|
+
databaseVersion: string;
|
|
6926
|
+
artifactBytes: Buffer | string;
|
|
6927
|
+
logicalData: Buffer | string;
|
|
6928
|
+
sourceVerifierOutput: string;
|
|
6929
|
+
targetVerifierOutput: string;
|
|
6930
|
+
postgres?: {
|
|
6931
|
+
activeTransactions?: number;
|
|
6932
|
+
activeSessions?: number;
|
|
6933
|
+
dirtyWal?: boolean;
|
|
6934
|
+
hostMountedDataDir?: boolean;
|
|
6935
|
+
physicalDataDirCopy?: boolean;
|
|
6936
|
+
extensionNativeState?: boolean;
|
|
6937
|
+
checkpointLsn?: string;
|
|
6938
|
+
};
|
|
6939
|
+
sqlite?: {
|
|
6940
|
+
journalPolicy?: "rollback-clean-close" | "wal-checkpoint-truncate";
|
|
6941
|
+
dirtyRollbackJournal?: boolean;
|
|
6942
|
+
dirtyWal?: boolean;
|
|
6943
|
+
activeWriterTransaction?: boolean;
|
|
6944
|
+
mmapOrLockState?: boolean;
|
|
6945
|
+
};
|
|
6946
|
+
}
|
|
6947
|
+
interface StatefulDatabaseRestoreSummary {
|
|
6948
|
+
kind: typeof STATEFUL_DATABASE_RESTORE_KIND;
|
|
6949
|
+
database: StatefulDatabaseRestoreDatabase;
|
|
6950
|
+
stateModel: StatefulDatabaseRestoreStateModel;
|
|
6951
|
+
sourceArch: StatefulDatabaseRestoreArch;
|
|
6952
|
+
targetArch: StatefulDatabaseRestoreArch;
|
|
6953
|
+
databaseVersion: string;
|
|
6954
|
+
artifactDigest: string;
|
|
6955
|
+
logicalDataDigest: string;
|
|
6956
|
+
targetVerifierOutput: string;
|
|
6957
|
+
migrationCompleted: boolean;
|
|
6958
|
+
state: StatefulDatabaseRestoreState;
|
|
6959
|
+
targetVerifierResult: "passed" | "failed" | "not-run";
|
|
6960
|
+
refusalCode?: StatefulDatabaseRestoreRefusalCode;
|
|
6961
|
+
remediation?: string;
|
|
6962
|
+
evidence: Record<string, unknown>;
|
|
6963
|
+
shortcutInspection: {
|
|
6964
|
+
sourceIsaEmulationUsed: false;
|
|
6965
|
+
sourceTextReusedAsTargetCode: false;
|
|
6966
|
+
sidecarRuntimeUsed: false;
|
|
6967
|
+
metadataOnlyShortcutAccepted: false;
|
|
6968
|
+
};
|
|
6969
|
+
}
|
|
6970
|
+
declare function buildStatefulDatabaseRestoreSummary(input: StatefulDatabaseRestoreInput): StatefulDatabaseRestoreSummary;
|
|
6971
|
+
declare function postgresLogicalRestoreInput(input: Omit<StatefulDatabaseRestoreInput, "database" | "stateModel">): StatefulDatabaseRestoreInput;
|
|
6972
|
+
declare function sqliteRollbackJournalRestoreInput(input: Omit<StatefulDatabaseRestoreInput, "database" | "stateModel">): StatefulDatabaseRestoreInput;
|
|
6973
|
+
declare function sqliteWalCheckpointRestoreInput(input: Omit<StatefulDatabaseRestoreInput, "database" | "stateModel">): StatefulDatabaseRestoreInput;
|
|
6974
|
+
|
|
6975
|
+
declare const OPPOSITE_ISA_VM_EXECUTION_KIND: "machinen.architecture-portable-snapshot.opposite-isa-vm-execution";
|
|
6976
|
+
declare const oppositeIsaVmExecutionRefusalCodes: readonly ["opposite-isa-provider-unavailable", "opposite-isa-assets-missing", "opposite-isa-not-opposite-route", "opposite-isa-boot-failed", "opposite-isa-guest-uname-mismatch", "opposite-isa-guest-elf-mismatch", "opposite-isa-verifier-incomplete", "opposite-isa-host-sidecar-output"];
|
|
6977
|
+
type OppositeIsaVmExecutionRefusalCode = (typeof oppositeIsaVmExecutionRefusalCodes)[number];
|
|
6978
|
+
type OppositeIsaVmExecutionArch = "arm64" | "amd64" | "unknown";
|
|
6979
|
+
type OppositeIsaVmExecutionState = "completed" | "refused" | "skipped";
|
|
6980
|
+
interface OppositeIsaVmExecutionProviderRoute {
|
|
6981
|
+
hostArch: OppositeIsaVmExecutionArch;
|
|
6982
|
+
guestArch: OppositeIsaVmExecutionArch;
|
|
6983
|
+
providerMode: string;
|
|
6984
|
+
accelerated: boolean;
|
|
6985
|
+
emulated: boolean;
|
|
6986
|
+
available: boolean;
|
|
6987
|
+
unavailableReason?: OppositeIsaVmExecutionRefusalCode;
|
|
6988
|
+
remediation?: string;
|
|
6989
|
+
}
|
|
6990
|
+
interface OppositeIsaVmExecutionEvidence {
|
|
6991
|
+
hostArch: OppositeIsaVmExecutionArch;
|
|
6992
|
+
guestArch: OppositeIsaVmExecutionArch;
|
|
6993
|
+
providerMode: string;
|
|
6994
|
+
accelerated: boolean;
|
|
6995
|
+
emulated: boolean;
|
|
6996
|
+
kernelVersion?: string | null;
|
|
6997
|
+
rootfsDigest?: string | null;
|
|
6998
|
+
guestUnameMachine?: string | null;
|
|
6999
|
+
guestElfMachine?: string | null;
|
|
7000
|
+
verifierOutput?: string | null;
|
|
7001
|
+
verifierSource: "guest-exec" | "host-sidecar" | "unknown";
|
|
7002
|
+
routeAvailable?: boolean;
|
|
7003
|
+
unavailableReason?: OppositeIsaVmExecutionRefusalCode;
|
|
7004
|
+
remediation?: string;
|
|
7005
|
+
}
|
|
7006
|
+
interface OppositeIsaVmExecutionSummary {
|
|
7007
|
+
kind: typeof OPPOSITE_ISA_VM_EXECUTION_KIND;
|
|
7008
|
+
hostArch: OppositeIsaVmExecutionArch;
|
|
7009
|
+
guestArch: OppositeIsaVmExecutionArch;
|
|
7010
|
+
providerMode: string;
|
|
7011
|
+
accelerated: boolean;
|
|
7012
|
+
emulated: boolean;
|
|
7013
|
+
kernelVersion: string | null;
|
|
7014
|
+
rootfsDigest: string | null;
|
|
7015
|
+
guestUnameMachine: string | null;
|
|
7016
|
+
guestElfMachine: string | null;
|
|
7017
|
+
verifierOutput: string;
|
|
7018
|
+
state: OppositeIsaVmExecutionState;
|
|
7019
|
+
refusalCode?: OppositeIsaVmExecutionRefusalCode;
|
|
7020
|
+
remediation?: string;
|
|
7021
|
+
}
|
|
7022
|
+
declare function hostArchitectureFromNode(arch?: string): OppositeIsaVmExecutionArch;
|
|
7023
|
+
declare function oppositeGuestArchitecture(hostArch: OppositeIsaVmExecutionArch): OppositeIsaVmExecutionArch;
|
|
7024
|
+
declare function normalizeGuestMachine(value: string | null | undefined): OppositeIsaVmExecutionArch;
|
|
7025
|
+
declare function classifyOppositeIsaProviderRoute(input: {
|
|
7026
|
+
hostArch?: OppositeIsaVmExecutionArch;
|
|
7027
|
+
guestArch: OppositeIsaVmExecutionArch;
|
|
7028
|
+
platform?: NodeJS.Platform;
|
|
7029
|
+
hasKvm?: boolean;
|
|
7030
|
+
emulationAvailable?: boolean;
|
|
7031
|
+
}): OppositeIsaVmExecutionProviderRoute;
|
|
7032
|
+
declare function buildOppositeIsaVmExecutionSummary(evidence: OppositeIsaVmExecutionEvidence): OppositeIsaVmExecutionSummary;
|
|
7033
|
+
|
|
7034
|
+
/** Portable cross-ISA machine snapshot boundary metadata. */
|
|
7035
|
+
|
|
7036
|
+
declare const PORTABLE_MACHINE_SNAPSHOT_FORMAT_VERSION = 1;
|
|
7037
|
+
declare const PORTABLE_MACHINE_SNAPSHOT_FILES: {
|
|
7038
|
+
readonly manifest: "portable-machine.json";
|
|
7039
|
+
readonly nativeProcessImage: "native-process";
|
|
7040
|
+
};
|
|
7041
|
+
declare const portableMachineSnapshotArchitectures: readonly ["arm64", "amd64"];
|
|
7042
|
+
type PortableMachineSnapshotArchitecture = (typeof portableMachineSnapshotArchitectures)[number];
|
|
7043
|
+
declare const portableMachineSnapshotRefusalCodes: readonly ["cross-isa-vmstate-restore-unsupported", "raw-vcpu-state-unsupported", "raw-kernel-state-unsupported", "raw-device-state-unsupported", "target-isa-vm-restore-loader-missing", "portable-process-image-missing"];
|
|
7044
|
+
type PortableMachineSnapshotRefusalCode = (typeof portableMachineSnapshotRefusalCodes)[number];
|
|
7045
|
+
interface PortableMachineSnapshotRefusal {
|
|
7046
|
+
code: PortableMachineSnapshotRefusalCode;
|
|
7047
|
+
message: string;
|
|
7048
|
+
detail?: Record<string, unknown>;
|
|
7049
|
+
}
|
|
7050
|
+
interface PortableMachineSnapshotRefusals {
|
|
7051
|
+
vocabularyVersion: 1;
|
|
7052
|
+
refusals: PortableMachineSnapshotRefusal[];
|
|
7053
|
+
}
|
|
7054
|
+
interface PortableMachineSnapshotDocuments {
|
|
7055
|
+
rootDir?: string;
|
|
7056
|
+
manifest: PortableMachineSnapshotManifest;
|
|
7057
|
+
nativeProcessImage: NativeProcessImageDocuments;
|
|
7058
|
+
}
|
|
7059
|
+
interface PortableMachineSnapshotManifest {
|
|
7060
|
+
formatVersion: 1;
|
|
7061
|
+
kind: "machinen.portable-machine-snapshot";
|
|
7062
|
+
source: {
|
|
7063
|
+
guestArch: PortableMachineSnapshotArchitecture;
|
|
7064
|
+
vmstate: {
|
|
7065
|
+
rawRestore: "refused";
|
|
7066
|
+
refusalCode: "cross-isa-vmstate-restore-unsupported";
|
|
7067
|
+
reason: string;
|
|
7068
|
+
};
|
|
7069
|
+
kernelState: "not-translated";
|
|
7070
|
+
deviceState: "not-translated";
|
|
7071
|
+
};
|
|
7072
|
+
target: {
|
|
7073
|
+
guestArch: PortableMachineSnapshotArchitecture;
|
|
7074
|
+
mode: "target-isa-vm-process-restore";
|
|
7075
|
+
execution: "target-native";
|
|
7076
|
+
};
|
|
7077
|
+
payload: {
|
|
7078
|
+
nativeProcessImage: {
|
|
7079
|
+
kind: "machinen.native-process-image";
|
|
7080
|
+
path: string;
|
|
7081
|
+
};
|
|
7082
|
+
resourceModel: "explicit-recipes-only";
|
|
7083
|
+
};
|
|
7084
|
+
refusals: PortableMachineSnapshotRefusals;
|
|
7085
|
+
}
|
|
7086
|
+
declare const portableMachineSnapshotManifestSchema: {
|
|
7087
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
7088
|
+
readonly $id: "https://machinen.dev/schemas/portable-machine-snapshot/manifest.schema.json";
|
|
7089
|
+
readonly title: "Machinen portable machine snapshot manifest";
|
|
7090
|
+
readonly type: "object";
|
|
7091
|
+
readonly additionalProperties: false;
|
|
7092
|
+
readonly required: readonly ["formatVersion", "kind", "source", "target", "payload", "refusals"];
|
|
7093
|
+
readonly properties: {
|
|
7094
|
+
readonly formatVersion: {
|
|
7095
|
+
readonly const: 1;
|
|
7096
|
+
};
|
|
7097
|
+
readonly kind: {
|
|
7098
|
+
readonly const: "machinen.portable-machine-snapshot";
|
|
7099
|
+
};
|
|
7100
|
+
readonly source: {
|
|
7101
|
+
readonly type: "object";
|
|
7102
|
+
readonly additionalProperties: false;
|
|
7103
|
+
readonly required: readonly ["guestArch", "vmstate", "kernelState", "deviceState"];
|
|
7104
|
+
readonly properties: {
|
|
7105
|
+
readonly guestArch: {
|
|
7106
|
+
readonly enum: readonly ["arm64", "amd64"];
|
|
7107
|
+
};
|
|
7108
|
+
readonly vmstate: {
|
|
7109
|
+
readonly type: "object";
|
|
7110
|
+
readonly additionalProperties: false;
|
|
7111
|
+
readonly required: readonly ["rawRestore", "refusalCode", "reason"];
|
|
7112
|
+
readonly properties: {
|
|
7113
|
+
readonly rawRestore: {
|
|
7114
|
+
readonly const: "refused";
|
|
7115
|
+
};
|
|
7116
|
+
readonly refusalCode: {
|
|
7117
|
+
readonly const: "cross-isa-vmstate-restore-unsupported";
|
|
7118
|
+
};
|
|
7119
|
+
readonly reason: {
|
|
7120
|
+
readonly type: "string";
|
|
7121
|
+
readonly minLength: 1;
|
|
7122
|
+
};
|
|
7123
|
+
};
|
|
7124
|
+
};
|
|
7125
|
+
readonly kernelState: {
|
|
7126
|
+
readonly const: "not-translated";
|
|
7127
|
+
};
|
|
7128
|
+
readonly deviceState: {
|
|
7129
|
+
readonly const: "not-translated";
|
|
7130
|
+
};
|
|
7131
|
+
};
|
|
7132
|
+
};
|
|
7133
|
+
readonly target: {
|
|
7134
|
+
readonly type: "object";
|
|
7135
|
+
readonly additionalProperties: false;
|
|
7136
|
+
readonly required: readonly ["guestArch", "mode", "execution"];
|
|
7137
|
+
readonly properties: {
|
|
7138
|
+
readonly guestArch: {
|
|
7139
|
+
readonly enum: readonly ["arm64", "amd64"];
|
|
7140
|
+
};
|
|
7141
|
+
readonly mode: {
|
|
7142
|
+
readonly const: "target-isa-vm-process-restore";
|
|
7143
|
+
};
|
|
7144
|
+
readonly execution: {
|
|
7145
|
+
readonly const: "target-native";
|
|
7146
|
+
};
|
|
7147
|
+
};
|
|
7148
|
+
};
|
|
7149
|
+
readonly payload: {
|
|
7150
|
+
readonly type: "object";
|
|
7151
|
+
readonly additionalProperties: false;
|
|
7152
|
+
readonly required: readonly ["nativeProcessImage", "resourceModel"];
|
|
7153
|
+
readonly properties: {
|
|
7154
|
+
readonly nativeProcessImage: {
|
|
7155
|
+
readonly type: "object";
|
|
7156
|
+
readonly additionalProperties: false;
|
|
7157
|
+
readonly required: readonly ["kind", "path"];
|
|
7158
|
+
readonly properties: {
|
|
7159
|
+
readonly kind: {
|
|
7160
|
+
readonly const: "machinen.native-process-image";
|
|
7161
|
+
};
|
|
7162
|
+
readonly path: {
|
|
7163
|
+
readonly type: "string";
|
|
7164
|
+
readonly minLength: 1;
|
|
7165
|
+
};
|
|
7166
|
+
};
|
|
7167
|
+
};
|
|
7168
|
+
readonly resourceModel: {
|
|
7169
|
+
readonly const: "explicit-recipes-only";
|
|
7170
|
+
};
|
|
7171
|
+
};
|
|
7172
|
+
};
|
|
7173
|
+
readonly refusals: {
|
|
7174
|
+
readonly type: "object";
|
|
7175
|
+
readonly additionalProperties: false;
|
|
7176
|
+
readonly required: readonly ["vocabularyVersion", "refusals"];
|
|
7177
|
+
readonly properties: {
|
|
7178
|
+
readonly vocabularyVersion: {
|
|
7179
|
+
readonly const: 1;
|
|
7180
|
+
};
|
|
7181
|
+
readonly refusals: {
|
|
7182
|
+
readonly type: "array";
|
|
7183
|
+
readonly items: {
|
|
7184
|
+
readonly type: "object";
|
|
7185
|
+
readonly additionalProperties: false;
|
|
7186
|
+
readonly required: readonly ["code", "message"];
|
|
7187
|
+
readonly properties: {
|
|
7188
|
+
readonly code: {
|
|
7189
|
+
readonly enum: readonly ["cross-isa-vmstate-restore-unsupported", "raw-vcpu-state-unsupported", "raw-kernel-state-unsupported", "raw-device-state-unsupported", "target-isa-vm-restore-loader-missing", "portable-process-image-missing"];
|
|
7190
|
+
};
|
|
7191
|
+
readonly message: {
|
|
7192
|
+
readonly type: "string";
|
|
7193
|
+
readonly minLength: 1;
|
|
7194
|
+
};
|
|
7195
|
+
readonly detail: {
|
|
7196
|
+
readonly type: "object";
|
|
7197
|
+
};
|
|
7198
|
+
};
|
|
7199
|
+
};
|
|
7200
|
+
};
|
|
7201
|
+
};
|
|
7202
|
+
};
|
|
7203
|
+
};
|
|
7204
|
+
};
|
|
7205
|
+
declare class PortableMachineSnapshotValidationError extends Error {
|
|
7206
|
+
constructor(message: string);
|
|
7207
|
+
}
|
|
7208
|
+
declare function isPortableMachineSnapshotBundle(rootDir: string): boolean;
|
|
7209
|
+
declare function validatePortableMachineSnapshotBundle(rootDir: string): PortableMachineSnapshotDocuments;
|
|
7210
|
+
declare function buildPortableMachineSnapshotManifestFromNativeProcessImage(nativeProcessImage: NativeProcessImageDocuments, nativeProcessPath?: "native-process"): PortableMachineSnapshotManifest;
|
|
7211
|
+
declare function crossIsaVmstateRestoreRefusal(sourceArch: string, targetArch: string): PortableMachineSnapshotRefusal;
|
|
7212
|
+
declare function validatePortableMachineSnapshotManifest(input: unknown): PortableMachineSnapshotManifest;
|
|
7213
|
+
|
|
7214
|
+
declare const MOVE_DESCRIPTOR_FORMAT_VERSION: 1;
|
|
7215
|
+
declare const MOVE_REFUSAL_CODE: "move-unproven-state-class";
|
|
7216
|
+
type MoveProcessStateClass = "process-identity" | "argv-env-cwd" | "open-files" | "sockets" | "threads" | "unknown";
|
|
7217
|
+
interface MovePidGraphNode {
|
|
7218
|
+
pid: number;
|
|
7219
|
+
ppid: number | undefined;
|
|
7220
|
+
command: string;
|
|
7221
|
+
argv: string[];
|
|
7222
|
+
cwd: string | undefined;
|
|
7223
|
+
exe?: string;
|
|
7224
|
+
}
|
|
7225
|
+
interface MovePidGraphEdge {
|
|
7226
|
+
fromPid: number;
|
|
7227
|
+
toPid: number;
|
|
7228
|
+
kind: "parent-child";
|
|
7229
|
+
}
|
|
7230
|
+
interface MoveRefusalEvidence {
|
|
7231
|
+
stateClass: MoveProcessStateClass;
|
|
7232
|
+
reason: string;
|
|
7233
|
+
evidence: string;
|
|
7234
|
+
nextAction: string;
|
|
7235
|
+
}
|
|
7236
|
+
interface MovePidGraph {
|
|
7237
|
+
formatVersion: typeof MOVE_DESCRIPTOR_FORMAT_VERSION;
|
|
7238
|
+
kind: "machinen.move.pid-graph";
|
|
7239
|
+
rootPid: number | undefined;
|
|
7240
|
+
scannedAt: string;
|
|
7241
|
+
nodes: MovePidGraphNode[];
|
|
7242
|
+
edges: MovePidGraphEdge[];
|
|
7243
|
+
translatedStateClasses: MoveProcessStateClass[];
|
|
7244
|
+
refusedStateClasses: MoveRefusalEvidence[];
|
|
7245
|
+
}
|
|
7246
|
+
interface MoveDescriptor extends Omit<MovePidGraph, "kind"> {
|
|
7247
|
+
kind: "machinen.move.descriptor";
|
|
7248
|
+
target: "cross-isa-target-native-pid-translation";
|
|
7249
|
+
productSurface: "machinen move";
|
|
7250
|
+
resourcePlan?: {
|
|
7251
|
+
kind: "machinen.move.resource-plan";
|
|
7252
|
+
source: "guest-procfs" | "host-procfs";
|
|
7253
|
+
sourceArch?: NativeProcessImageArchitecture;
|
|
7254
|
+
resources: NativeProcessResource[];
|
|
7255
|
+
fdTableEntries: NativeTargetFdTableEntry[];
|
|
7256
|
+
targetGuestResources: TargetGuestRestoreResourceRecipe[];
|
|
7257
|
+
refusals: NativeProcessImageRefusal[];
|
|
7258
|
+
acceptedSubsets: string[];
|
|
7259
|
+
capture?: {
|
|
7260
|
+
sourceVm?: {
|
|
7261
|
+
pid: number;
|
|
7262
|
+
name?: string;
|
|
7263
|
+
};
|
|
7264
|
+
executablePackage?: {
|
|
7265
|
+
path: string;
|
|
7266
|
+
realPath?: string;
|
|
7267
|
+
packageName?: string;
|
|
7268
|
+
version?: string;
|
|
7269
|
+
architecture?: string;
|
|
7270
|
+
};
|
|
7271
|
+
pingState?: {
|
|
7272
|
+
ntransmitted: number;
|
|
7273
|
+
nreceived: number;
|
|
7274
|
+
nerrors: number;
|
|
7275
|
+
lastSequence?: number;
|
|
7276
|
+
};
|
|
7277
|
+
safeBoundary?: {
|
|
7278
|
+
state: "sleep-timer" | "pre-send-icmp" | "refused";
|
|
7279
|
+
detail: string;
|
|
7280
|
+
};
|
|
7281
|
+
freeze?: {
|
|
7282
|
+
state: "ptrace-attached" | "refused";
|
|
7283
|
+
detail: string;
|
|
7284
|
+
};
|
|
7285
|
+
tasks?: number;
|
|
7286
|
+
wchan?: string;
|
|
7287
|
+
syscall?: string;
|
|
7288
|
+
maps?: string[];
|
|
7289
|
+
registers?: Record<string, unknown>;
|
|
7290
|
+
};
|
|
7291
|
+
};
|
|
7292
|
+
nativeContinuation?: {
|
|
7293
|
+
kind: "machinen.move.native-continuation";
|
|
7294
|
+
bundlePath: ".";
|
|
7295
|
+
activeSyscallPlan: "active-syscall-plan.json";
|
|
7296
|
+
state: "planned" | "refused";
|
|
7297
|
+
refusals: NativeProcessImageRefusal[];
|
|
7298
|
+
};
|
|
7299
|
+
}
|
|
7300
|
+
interface MoveSaveResult {
|
|
7301
|
+
accepted: boolean;
|
|
7302
|
+
descriptorPath: string;
|
|
7303
|
+
descriptor: MoveDescriptor;
|
|
7304
|
+
refusalCode?: typeof MOVE_REFUSAL_CODE;
|
|
7305
|
+
issueReport?: MoveIssueReport;
|
|
7306
|
+
}
|
|
7307
|
+
interface MoveIssueReport {
|
|
7308
|
+
title: string;
|
|
7309
|
+
body: string;
|
|
7310
|
+
repository: string;
|
|
7311
|
+
}
|
|
7312
|
+
declare function scanMovePidGraph(rootPid?: number): MovePidGraph;
|
|
7313
|
+
declare function createMoveDescriptor(pid: number): MoveDescriptor;
|
|
7314
|
+
declare function saveMoveDescriptor(input: {
|
|
7315
|
+
pid: number;
|
|
7316
|
+
outPath: string;
|
|
7317
|
+
issue?: boolean;
|
|
7318
|
+
issueRepo?: string;
|
|
7319
|
+
}): MoveSaveResult;
|
|
7320
|
+
declare function loadMoveDescriptor(path: string): MoveDescriptor;
|
|
7321
|
+
declare function buildMoveIssueReport(descriptor: MoveDescriptor, repository?: string): MoveIssueReport;
|
|
7322
|
+
|
|
7323
|
+
declare const PRODUCT_CLAIM_REGISTRY_FORMAT_VERSION: 1;
|
|
7324
|
+
declare const productSupportLevels: readonly ["deprecated-cross-isa-level", "level-5-cross-arch-process-continuation"];
|
|
7325
|
+
type ProductSupportLevel = (typeof productSupportLevels)[number];
|
|
7326
|
+
declare const productClaimStatuses: readonly ["implemented-product-support", "deprecated-legacy-support", "stable-product-refusal", "proof-only-fixture", "obsolete-invalid-claim"];
|
|
7327
|
+
type ProductClaimStatus = (typeof productClaimStatuses)[number];
|
|
7328
|
+
declare const productClaimFamilies: readonly ["postgresql", "nodejs", "go", "python-ruby-jvm", "stateful-services", "foundation-native", "native-linux-resource", "network-ping-socket", "unknown"];
|
|
7329
|
+
type ProductClaimFamily = (typeof productClaimFamilies)[number];
|
|
7330
|
+
declare const PRODUCT_CLAIM_PROOF_ONLY_REFUSAL_CODE: "product-surface-not-implemented";
|
|
7331
|
+
interface ProductClaimObservableStateDecision {
|
|
7332
|
+
name: string;
|
|
7333
|
+
decision: "preserved" | "recreated" | "drained" | "dropped-irrelevant" | "logically-restored" | "refused";
|
|
7334
|
+
rationale: string;
|
|
7335
|
+
}
|
|
7336
|
+
interface ProductClaimProofProfileInput {
|
|
7337
|
+
name: string;
|
|
7338
|
+
description?: string;
|
|
7339
|
+
expectedResult?: "success" | "refusal" | string;
|
|
7340
|
+
supportStatus?: string;
|
|
7341
|
+
unsafeStateFamily?: string;
|
|
7342
|
+
expectedRefusalCode?: string;
|
|
7343
|
+
capabilities?: string[];
|
|
7344
|
+
refusesCapabilities?: string[];
|
|
7345
|
+
refusalSupportContract?: {
|
|
7346
|
+
currentRefusalCode?: string;
|
|
7347
|
+
graduationRequires?: string[];
|
|
7348
|
+
};
|
|
7349
|
+
checkedSummary?: string;
|
|
7350
|
+
sourceFixture?: string;
|
|
7351
|
+
productSupportLevel?: ProductSupportLevel;
|
|
7352
|
+
observableStateDecisions?: ProductClaimObservableStateDecision[];
|
|
7353
|
+
}
|
|
7354
|
+
interface ProductClaimEntry {
|
|
7355
|
+
name: string;
|
|
7356
|
+
family: ProductClaimFamily;
|
|
7357
|
+
runtime?: string;
|
|
7358
|
+
resourceFamily?: string;
|
|
7359
|
+
architectureRoutes: Array<"arm64->amd64" | "amd64->arm64" | "amd64<->arm64">;
|
|
7360
|
+
productStatus: ProductClaimStatus;
|
|
7361
|
+
supportLevel: ProductSupportLevel;
|
|
7362
|
+
supportLevelName: string;
|
|
7363
|
+
proofStatus: string;
|
|
7364
|
+
expectedResult: "success" | "refusal" | "unknown";
|
|
7365
|
+
sourceGoal?: string;
|
|
7366
|
+
unsafeStateFamily?: string;
|
|
7367
|
+
refusalCode?: string;
|
|
7368
|
+
productRefusalCode?: string;
|
|
7369
|
+
migrationCompleted: boolean;
|
|
7370
|
+
descriptorRequired: boolean;
|
|
7371
|
+
targetNativeVerifierRequired: boolean;
|
|
7372
|
+
proofOnly: boolean;
|
|
7373
|
+
checkedSummary?: string;
|
|
7374
|
+
sourceFixture?: string;
|
|
7375
|
+
graduationRequirements: string[];
|
|
7376
|
+
observableStateDecisions: ProductClaimObservableStateDecision[];
|
|
7377
|
+
message: string;
|
|
7378
|
+
}
|
|
7379
|
+
interface ProductClaimRegistry {
|
|
7380
|
+
kind: "machinen.product-claim-registry";
|
|
7381
|
+
formatVersion: typeof PRODUCT_CLAIM_REGISTRY_FORMAT_VERSION;
|
|
7382
|
+
entries: ProductClaimEntry[];
|
|
7383
|
+
summary: ProductClaimRegistrySummary;
|
|
7384
|
+
}
|
|
7385
|
+
interface ProductClaimRegistrySummary {
|
|
7386
|
+
total: number;
|
|
7387
|
+
byStatus: Record<ProductClaimStatus, number>;
|
|
7388
|
+
byFamily: Record<ProductClaimFamily, number>;
|
|
7389
|
+
implementedProductSupport: number;
|
|
7390
|
+
deprecatedLegacySupport: number;
|
|
7391
|
+
stableProductRefusals: number;
|
|
7392
|
+
proofOnlyFixtures: number;
|
|
7393
|
+
obsoleteInvalidClaims: number;
|
|
7394
|
+
}
|
|
7395
|
+
interface ProductClaimRegistryFilter {
|
|
7396
|
+
status?: ProductClaimStatus;
|
|
7397
|
+
family?: ProductClaimFamily;
|
|
7398
|
+
runtime?: string;
|
|
7399
|
+
resourceFamily?: string;
|
|
7400
|
+
profile?: string;
|
|
7401
|
+
refusalCode?: string;
|
|
7402
|
+
supportLevel?: ProductSupportLevel;
|
|
7403
|
+
}
|
|
7404
|
+
declare function buildProductClaimRegistry(proofProfiles: ProductClaimProofProfileInput[]): ProductClaimRegistry;
|
|
7405
|
+
declare function productClaimEntryFromProofProfile(profile: ProductClaimProofProfileInput): ProductClaimEntry;
|
|
7406
|
+
declare function summarizeProductClaimRegistry(entries: ProductClaimEntry[]): ProductClaimRegistrySummary;
|
|
7407
|
+
declare function filterProductClaimRegistry(entries: ProductClaimEntry[], filter: ProductClaimRegistryFilter): ProductClaimEntry[];
|
|
7408
|
+
declare function productClaimRefusalSummary(entry: ProductClaimEntry): {
|
|
7409
|
+
state: "refused";
|
|
7410
|
+
targetState: "refused";
|
|
7411
|
+
migrationCompleted: false;
|
|
7412
|
+
expectedRefusalCode: string;
|
|
7413
|
+
message: string;
|
|
7414
|
+
graduationRequirements: string[];
|
|
7415
|
+
} | undefined;
|
|
7416
|
+
|
|
7417
|
+
type TargetNativeConsumptionStatus = "passed" | "failed";
|
|
7418
|
+
interface TargetNativeConsumptionEvent {
|
|
7419
|
+
status?: TargetNativeConsumptionStatus;
|
|
7420
|
+
}
|
|
7421
|
+
interface TargetNativeConsumptionEvents {
|
|
7422
|
+
nativeStackWindowMaterialization?: TargetNativeConsumptionEvent;
|
|
7423
|
+
nativePrivateMemoryRestore?: TargetNativeConsumptionEvent;
|
|
7424
|
+
nativeExecutableMapping?: TargetNativeConsumptionEvent;
|
|
7425
|
+
nativeProcessContextRestore?: TargetNativeConsumptionEvent;
|
|
7426
|
+
nativeSignalRestore?: TargetNativeConsumptionEvent;
|
|
7427
|
+
nativeActiveSyscallRestore?: TargetNativeConsumptionEvent;
|
|
7428
|
+
nativeThreadRestore?: TargetNativeConsumptionEvent;
|
|
7429
|
+
}
|
|
7430
|
+
declare function parseTargetNativeConsumptionEvents(actualResumeEvent: Record<string, unknown> | undefined): TargetNativeConsumptionEvents;
|
|
7431
|
+
declare function targetNativeConsumptionFields(events: TargetNativeConsumptionEvents): {
|
|
7432
|
+
targetStackWindowMaterializationResult?: TargetNativeConsumptionStatus;
|
|
7433
|
+
targetPrivateMemoryRestoreResult?: TargetNativeConsumptionStatus;
|
|
7434
|
+
targetExecutableMappingResult?: TargetNativeConsumptionStatus;
|
|
7435
|
+
targetProcessContextRestoreResult?: TargetNativeConsumptionStatus;
|
|
7436
|
+
targetSignalRestoreResult?: TargetNativeConsumptionStatus;
|
|
7437
|
+
targetActiveSyscallRestoreResult?: TargetNativeConsumptionStatus;
|
|
7438
|
+
targetThreadRestoreResult?: TargetNativeConsumptionStatus;
|
|
7439
|
+
};
|
|
7440
|
+
declare function targetNativeConsumptionPassed(events: TargetNativeConsumptionEvents): boolean;
|
|
7441
|
+
|
|
7442
|
+
type PortableMachineVmRestoreProofState = "ready" | "skipped" | "refused" | "completed";
|
|
7443
|
+
interface PortableMachineVmRestoreProofRequest {
|
|
7444
|
+
bundleDir?: string;
|
|
7445
|
+
targetCodeFile?: string;
|
|
7446
|
+
targetImage?: string;
|
|
7447
|
+
}
|
|
7448
|
+
type PortableMachineTargetVerifierResult = "pending" | "passed" | "failed";
|
|
7449
|
+
type PortableMachineTargetContinuationKind = "generated-verifier" | "real-utility";
|
|
7450
|
+
type PortableMachineTargetStateConsumptionResult = "pending" | "passed" | "failed";
|
|
7451
|
+
type PortableMachineTargetNativePlanConsumptionResult = "pending" | "passed" | "failed";
|
|
7452
|
+
type PortableMachineTargetReturnChainResult = "pending" | "passed" | "failed";
|
|
7453
|
+
type PortableMachineTargetFrameRestoreResult = "pending" | "passed" | "failed";
|
|
7454
|
+
type PortableMachineTargetRegisterRestoreResult = "pending" | "passed" | "failed";
|
|
7455
|
+
type PortableMachineTargetRflagsRestoreResult = "pending" | "passed" | "failed";
|
|
7456
|
+
type PortableMachineTargetTlsRestoreResult = "pending" | "passed" | "failed";
|
|
7457
|
+
type PortableMachineTargetThreadRestoreResult = "accepted" | "refused" | "passed" | "failed";
|
|
7458
|
+
type PortableMachineTargetResumePathResult = "pending" | "passed" | "failed";
|
|
7459
|
+
interface PortableMachineTargetResourceStatus {
|
|
7460
|
+
kind: string;
|
|
7461
|
+
status: "passed" | "failed";
|
|
7462
|
+
}
|
|
7463
|
+
interface PortableMachineTargetRestoreObservation {
|
|
7464
|
+
targetVerifierResult?: PortableMachineTargetVerifierResult;
|
|
7465
|
+
targetStateConsumptionResult?: PortableMachineTargetStateConsumptionResult;
|
|
7466
|
+
targetResourceStatuses?: PortableMachineTargetResourceStatus[];
|
|
7467
|
+
targetStackWindowMaterializationResult?: PortableMachineTargetNativePlanConsumptionResult;
|
|
7468
|
+
targetPrivateMemoryRestoreResult?: PortableMachineTargetNativePlanConsumptionResult;
|
|
7469
|
+
targetExecutableMappingResult?: PortableMachineTargetNativePlanConsumptionResult;
|
|
7470
|
+
targetProcessContextRestoreResult?: PortableMachineTargetNativePlanConsumptionResult;
|
|
7471
|
+
targetSignalRestoreResult?: PortableMachineTargetNativePlanConsumptionResult;
|
|
7472
|
+
targetActiveSyscallRestoreResult?: PortableMachineTargetNativePlanConsumptionResult;
|
|
7473
|
+
targetReturnChainResult?: PortableMachineTargetReturnChainResult;
|
|
7474
|
+
targetTranslatedReturnAddress?: string;
|
|
7475
|
+
targetFrameRestoreResult?: PortableMachineTargetFrameRestoreResult;
|
|
7476
|
+
targetTranslatedFramePointer?: string;
|
|
7477
|
+
targetRegisterRestoreResult?: PortableMachineTargetRegisterRestoreResult;
|
|
7478
|
+
targetRflagsRestoreResult?: PortableMachineTargetRflagsRestoreResult;
|
|
7479
|
+
targetTlsRestoreResult?: PortableMachineTargetTlsRestoreResult;
|
|
7480
|
+
targetThreadRestoreResult?: PortableMachineTargetThreadRestoreResult;
|
|
7481
|
+
targetThreadRestoreThreadId?: string;
|
|
7482
|
+
targetResumePathResult?: PortableMachineTargetResumePathResult;
|
|
7483
|
+
targetResumePathMode?: string;
|
|
7484
|
+
}
|
|
7485
|
+
interface PortableMachineVmRestoreProofPlan extends PortableMachineTargetRestoreObservation {
|
|
7486
|
+
phase: "portable-machine-vm-restore-proof";
|
|
7487
|
+
state: PortableMachineVmRestoreProofState;
|
|
7488
|
+
portableMachineBundle?: string;
|
|
7489
|
+
targetCodeFile?: string;
|
|
7490
|
+
targetImage?: string;
|
|
7491
|
+
sourceGuestArch?: "arm64";
|
|
7492
|
+
targetGuestArch?: "amd64";
|
|
7493
|
+
targetVmRequired: true;
|
|
7494
|
+
targetNativeCompletionRequired: true;
|
|
7495
|
+
migrationCompleted: boolean;
|
|
7496
|
+
descriptorGateCompleted: boolean;
|
|
7497
|
+
descriptorMemoryEntryCount?: number;
|
|
7498
|
+
descriptorFdRecipeCount?: number;
|
|
7499
|
+
descriptorResourceKinds?: string[];
|
|
7500
|
+
targetContinuationKind?: PortableMachineTargetContinuationKind;
|
|
7501
|
+
targetContinuationStatus?: string;
|
|
7502
|
+
targetContinuationReturnValue?: string;
|
|
7503
|
+
targetModuleBytesSource?: string;
|
|
7504
|
+
sourceTextReusedAsTargetCode: false;
|
|
7505
|
+
sourceIsaEmulationUsed: false;
|
|
7506
|
+
sidecarRuntimeUsed: false;
|
|
7507
|
+
refusal?: {
|
|
7508
|
+
code: string;
|
|
7509
|
+
message: string;
|
|
7510
|
+
};
|
|
7511
|
+
skipReason?: string;
|
|
7512
|
+
}
|
|
7513
|
+
interface PortableMachineVmRestoreTargetResult extends PortableMachineTargetRestoreObservation {
|
|
7514
|
+
exitCode: number;
|
|
7515
|
+
migrationCompleted?: boolean;
|
|
7516
|
+
descriptorGateCompleted?: boolean;
|
|
7517
|
+
actualResumeEvent?: {
|
|
7518
|
+
status?: string;
|
|
7519
|
+
returnValue?: string;
|
|
7520
|
+
};
|
|
7521
|
+
sourceTextReusedAsTargetCode?: boolean;
|
|
7522
|
+
sourceIsaEmulationUsed?: boolean;
|
|
7523
|
+
sidecarRuntimeUsed?: boolean;
|
|
7524
|
+
}
|
|
7525
|
+
interface PortableMachineTargetRestoreDescriptorRequest {
|
|
7526
|
+
continuation: TargetGuestRestoreContinuationDescriptor;
|
|
7527
|
+
translatedFrame?: TargetGuestTranslatedFrameDescriptor;
|
|
7528
|
+
fdTable: NativeTargetFdTablePlan;
|
|
7529
|
+
memory: TargetGuestMemoryMaterializationResult;
|
|
7530
|
+
nativeRestore?: TargetGuestNativeRestoreStep[];
|
|
7531
|
+
}
|
|
7532
|
+
type PortableMachineTargetRestoreDescriptorPlan = {
|
|
7533
|
+
state: "ready";
|
|
7534
|
+
descriptor: TargetGuestRestoreDescriptor;
|
|
7535
|
+
refusals: [];
|
|
7536
|
+
memoryEntryCount: number;
|
|
7537
|
+
fdRecipeCount: number;
|
|
7538
|
+
sourceTextReusedAsTargetCode: false;
|
|
7539
|
+
sourceIsaEmulationUsed: false;
|
|
7540
|
+
sidecarRuntimeUsed: false;
|
|
7541
|
+
} | {
|
|
7542
|
+
state: "refused";
|
|
7543
|
+
refusals: NativeProcessImageRefusal[];
|
|
7544
|
+
memoryEntryCount: number;
|
|
7545
|
+
fdRecipeCount: number;
|
|
7546
|
+
sourceTextReusedAsTargetCode: false;
|
|
7547
|
+
sourceIsaEmulationUsed: false;
|
|
7548
|
+
sidecarRuntimeUsed: false;
|
|
7549
|
+
};
|
|
7550
|
+
declare function planPortableMachineTargetRestoreDescriptor(request: PortableMachineTargetRestoreDescriptorRequest): PortableMachineTargetRestoreDescriptorPlan;
|
|
7551
|
+
declare function planPortableMachineVmRestoreProof(request: PortableMachineVmRestoreProofRequest): PortableMachineVmRestoreProofPlan;
|
|
7552
|
+
declare function completePortableMachineVmRestoreProof(plan: PortableMachineVmRestoreProofPlan, result: PortableMachineVmRestoreTargetResult): PortableMachineVmRestoreProofPlan;
|
|
3803
7553
|
|
|
3804
7554
|
/**
|
|
3805
7555
|
* Bytes of memory the OS reports as available right now. "Available"
|
|
@@ -3914,4 +7664,4 @@ interface BalloonCounters {
|
|
|
3914
7664
|
*/
|
|
3915
7665
|
declare function readBalloonStats(path: string): BalloonCounters | null;
|
|
3916
7666
|
|
|
3917
|
-
export { type AttachOptions, type BalloonCounters, BootError, type BootOptions, CacheError, type CheckForkBackpressureOptions, type ChunkLogEvent, DEFAULT_FREE_MEMORY_THRESHOLD, type EnsureMountDiskImageOptions, type EnsureMountDiskImageResult, type EnsureMountDiskUpperOptions, type EnsureMountDiskUpperResult, type EnsureRootfsImageOptions, ErrorCode, ExecError, FilesError, type ForkOptions, type GcResult, GvproxyError, type ImageConfig, type LogEvent, MachinenError, type MachinenErrorOptions, type MemoryStats, MkinitramfsError, MountError, NATIVE_PROCESS_IMAGE_FILES, NATIVE_PROCESS_IMAGE_FORMAT_VERSION, NATIVE_SYNTHETIC_PPOLL_SYSCALL_BASE, NATIVE_SYNTHETIC_PPOLL_SYSCALL_BUILD_ID, NATIVE_SYNTHETIC_PPOLL_SYSCALL_LOGICAL_NAME, NATIVE_SYNTHETIC_PPOLL_SYSCALL_PATH, NATIVE_SYNTHETIC_SLEEP_SYSCALL_BASE, NATIVE_SYNTHETIC_SLEEP_SYSCALL_BUILD_ID, NATIVE_SYNTHETIC_SLEEP_SYSCALL_FAILURE_EXIT_STATUS, NATIVE_SYNTHETIC_SLEEP_SYSCALL_LOGICAL_NAME, NATIVE_SYNTHETIC_SLEEP_SYSCALL_PATH, NATIVE_SYNTHETIC_SLEEP_SYSCALL_RESTART_EXIT_STATUS, NATIVE_SYNTHETIC_SLEEP_SYSCALL_UNMODELED_RETURN_EXIT_STATUS, NATIVE_SYNTHETIC_SYSCALL_RESTART_EXIT_STATUS, NATIVE_SYNTHETIC_SYSCALL_UNMODELED_RETURN_EXIT_STATUS, type NativeActivePpollTimeoutContinuation, type NativeActiveSleepTimerContinuation, type NativeActiveSyscallClass, type NativeActiveSyscallClassification, type NativeActiveSyscallClassificationResult, type NativeActiveSyscallContinuation, type NativeActiveSyscallPolicyOptions, type NativeActualRealUtilityContinuationBoundary, type NativeActualRealUtilityContinuationPlan, type NativeActualRealUtilityContinuationRequest, type NativeActualTargetModuleInventoryRequest, type NativeActualTargetModuleInventoryResult, type NativeAmd64Registers, type NativeArm64Registers, type NativeCodeLocationMapping, type NativeCodeMapRequest, type NativeCodeMapResult, type NativeCodeModule, type NativeCodeSymbol, type NativeContinuationTarget, type NativeDebugAddressTranslation, type NativeDebugMemoryField, type NativeDebugMemoryFieldClassification, type NativeDebugMemoryMetadataSource, type NativeDebugMemoryObject, type NativeDebugMemoryPointerClassificationRequest, type NativeDebugMemoryPointerClassificationResult, type NativeDiscoveredUnwindFrame, type NativeEhFrameTextParseRequest, type NativeEhFrameTextParseResult, type NativeInheritedStdioPolicy, type NativeMappingMaterializationAction, type NativeMappingMaterializationRequest, type NativeMappingMaterializationResult, type NativeMappingMaterializationStep, type NativeMemoryMapping, type NativeMemoryMappingKind, type NativeMemoryRelocation, type NativeMemoryTranslationRequest, type NativeMemoryTranslationResult, type NativeMemoryWord, type NativeModeledPpollTimeoutRemainingTime, type NativeModeledPpollTimeoutState, type NativeModeledSleepTimerRemainingTime, type NativeModeledSleepTimerState, type NativePollTimeoutSyscallPolicy, type NativePpollTimeoutModelResult, type NativeProcessImageArchitecture, type NativeProcessImageDocumentInput, type NativeProcessImageDocuments, type NativeProcessImageJsonSchema, type NativeProcessImageManifest, type NativeProcessImageMappings, type NativeProcessImageRefusal, type NativeProcessImageRefusalCode, type NativeProcessImageRefusals, type NativeProcessImageResources, type NativeProcessImageThreads, type NativeProcessImageTranslation, NativeProcessImageValidationError, type NativeProcessResource, type NativeProcessResourceKind, type NativeRealUtilityCodeLocationRequest, type NativeRealUtilityCodeLocationResult, type NativeRealUtilityContinuationBoundary, type NativeRealUtilityContinuationPlan, type NativeRealUtilityContinuationRequest, type NativeRealUtilityContinuationStrategy, type NativeRealUtilityDeferredActiveSyscallLanding, type NativeRealUtilityExecutableRange, type NativeRealUtilityModuleExpectation, type NativeRealUtilityResolvedLocation, type NativeRealUtilitySemanticContinuationSelection, type NativeRealUtilitySourceModule, type NativeRealUtilitySyntheticContinuationSelection, type NativeRealUtilityTargetContinuationKind, type NativeRealUtilityTargetModule, type NativeRealUtilityTargetSemanticContinuation, type NativeRegisterState, type NativeRegisterTranslationRequest, type NativeRegisterTranslationResult, type NativeResourceTranslationRequest, type NativeResourceTranslationResult, type NativeSleepTimerDuration, type NativeSleepTimerModelResult, type NativeSleepTimerSyscallPolicy, type NativeStackFrame, type NativeStackSlot, type NativeStackTranslationRequest, type NativeStackTranslationResult, type NativeSyntheticContinuationByteEncoding, type NativeSyntheticContinuationByteSource, type NativeSyntheticContinuationCompletionDescriptor, type NativeSyntheticContinuationFailureExitBucket, type NativeSyntheticContinuationFailureExitBucketCondition, type NativeSyntheticContinuationFailureKind, type NativeSyntheticContinuationProvenanceSource, type NativeSyntheticContinuationRegister, type NativeSyntheticContinuationRegisterSetupAbi, type NativeSyntheticContinuationRegisterSetupDescriptor, type NativeSyntheticContinuationStackSetupDescriptor, type NativeSyntheticContinuationSyscallAbi, type NativeSyntheticContinuationTargetArch, type NativeSyntheticPpollCompletionMode, type NativeSyntheticPpollSyscallArgumentProvenance, type NativeSyntheticPpollSyscallCompletionProvenance, type NativeSyntheticPpollSyscallContinuation, type NativeSyntheticPpollSyscallContinuationProvenance, type NativeSyntheticPpollSyscallContinuationRequest, type NativeSyntheticPpollSyscallContinuationResult, type NativeSyntheticPpollSyscallProvenanceSource, type NativeSyntheticPpollSyscallRegisterSetupProvenance, type NativeSyntheticPpollSyscallStackSetupProvenance, type NativeSyntheticSleepCompletionMode, type NativeSyntheticSleepSyscallArgumentProvenance, type NativeSyntheticSleepSyscallCompletionProvenance, type NativeSyntheticSleepSyscallContinuation, type NativeSyntheticSleepSyscallContinuationProvenance, type NativeSyntheticSleepSyscallContinuationRequest, type NativeSyntheticSleepSyscallContinuationResult, type NativeSyntheticSleepSyscallProvenanceSource, type NativeSyntheticSleepSyscallRegisterSetupProvenance, type NativeSyntheticSleepSyscallStackSetupProvenance, type NativeSyntheticSyscallArgumentDescriptor, type NativeSyntheticSyscallContinuationDescriptor, type NativeSyntheticSyscallContinuationDescriptorPayload, type NativeSyntheticSyscallContinuationDescriptorRequest, type NativeSyntheticSyscallDescriptor, type NativeSyntheticTargetCallerFrame, type NativeSyntheticTargetCallerFramePlanRequest, type NativeSyntheticTargetCallerFramePlanResult, type NativeSyntheticTargetCallerFramePolicy, type NativeSyntheticTargetCallerFrameSlot, type NativeSyntheticTargetCallerFrameStatePolicy, type NativeTargetCalleeSavedPolicy, type NativeTargetCalleeSavedSlot, type NativeTargetEhFrameTextParseRequest, type NativeTargetEhFrameTextParseResult, type NativeTargetFrameRegisterValue, type NativeTargetFrameStateMaterialization, type NativeTargetFrameStateMaterializationRequest, type NativeTargetFrameStateMaterializationResult, type NativeTargetFrameStateRegister, type NativeTargetFrameStateRequirement, type NativeTargetFrameStateValueSource, type NativeTargetLandingDisassemblyProvenance, type NativeTargetLandingFdeProvenance, type NativeTargetLandingInstructionBoundary, type NativeTargetLandingInstructionBoundaryState, type NativeTargetLandingModuleProvenance, type NativeTargetLandingSectionProvenance, type NativeTargetLandingSymbolProvenance, type NativeTargetModuleByteMaterialization, type NativeTargetModuleByteMaterializationRequest, type NativeTargetModuleByteMaterializationResult, type NativeTargetResumeExecutionAttempt, type NativeTargetResumeExecutionAttemptStatus, type NativeTargetResumeExecutionMode, type NativeTargetResumeExecutionPlan, type NativeTargetResumeExecutionPlanRequest, type NativeTargetResumeExecutionPlanResult, type NativeTargetResumeExecutor, type NativeTargetResumeFaultBoundary, type NativeTargetResumeFaultClassification, type NativeTargetResumeFaultClassificationOptions, type NativeTargetResumeFaultClassificationResult, type NativeTargetResumeFaultRegisters, type NativeTargetResumeLandingInspectionRequest, type NativeTargetResumeLandingProvenance, type NativeTargetUnwindFrameMatch, type NativeTargetUnwindFrameRule, type NativeTargetUnwindMatchRequest, type NativeTargetUnwindMatchResult, type NativeTargetUnwindRegister, type NativeThreadState, type NativeThreadTranslation, type NativeUnwindFrameDiscoveryRequest, type NativeUnwindFrameDiscoveryResult, type NativeUnwindFrameRule, type NativeUnwindMetadataKind, type NativeUnwindRegister, type NativeUnwindStackWord, type OnLog, type OnOutputListener, type PackBundleOptions, type PackMinimalOptions, type PackRootfsOptions, type PackTinyBundleOptions, type PackWorkspaceOptions, ParseError, type PhaseLogEvent, type PidStatus, ProvisionError, type ProvisionOptions, type ProvisionResult, type PtyBootOptions, type PtyVmHandle, type RegistryEntry, RegistryError, type RestoreOptions, type RssTarget, type RunGcOptions, STATS_FILE_SIZE, type SandboxEntry, SandboxError, Sandboxes, SecretsError, type SnapshotEngine, SnapshotError, type SnapshotFileIdentity, type SnapshotMeta, type SnapshotOptions, type SnapshotResult, Supervisor, type SupervisorOptions, type VmHandle, type VmstateBackend, type VmstateSnapshotMeta, VsockExec, type VsockExecOptions, type VsockExecPtyHandle, type VsockExecPtyOptions, type VsockExecPtyResult, type VsockExecResult, VsockFiles, type VsockFilesOptions, VsockSecrets, type VsockSecretsOptions, VsockWinsize, type VsockWinsizeOptions, WinsizeError, type WriteFileOptions, _internal, assertNativeProcessImageDocuments, attach, autoSizeMemoryMib, boot, bootPty, bootSnapshotPath, buildMachinenConfig, buildNativeCodeMap, buildNativeSyntheticPpollSyscallContinuation, buildNativeSyntheticSleepSyscallContinuation, buildNativeSyntheticSyscallContinuationDescriptor, buildWriteFileCmd, buildWriteFileCmds, checkForkBackpressure, classifyNativeActiveSyscalls, classifyNativeDebugMemoryPointers, classifyNativeTargetResumeExecutionAttempt, classifyNativeThreadSyscall, detachedLogRoot, discoverNativeUnwindFrames, ensureMountDiskImage, ensureMountDiskUpper, ensureRootfsImage, formatMachinenError, inspectNativeTargetResumeLanding, inventoryNativeActualTargetModules, inventoryNativeSourceCodeModules, isMachinenError, isNativeProcessImageBundle, list, markMountDiskImageClean, markRootfsImageClean, matchNativeTargetUnwindFrame, materializeNativeTargetModuleBytes, measureFirstByte, packBundle as mkinitramfsBundle, cli as mkinitramfsCli, packMinimal as mkinitramfsMinimal, packRootfs as mkinitramfsRootfs, packTinyBundle as mkinitramfsTinyBundle, packWorkspace as mkinitramfsWorkspace, modelNativePpollTimeoutState, modelNativeSleepTimerState, mountdiskImgCacheDir, nativeProcessImageArchitectures, nativeProcessImageRefusalCodes, nativeProcessImageSchemas, nativeSyntheticContinuationBytesHex, nativeSyntheticContinuationBytesSha256, nativeSyntheticContinuationDescriptorSha256, nativeSyntheticExitProcessSuffix, nativeSyntheticRestartLikeErrnos, nativeSyntheticSyscallFailureExitBuckets, nativeTargetResumeLandingRefusals, nativeUnwindReturnAddressSlot, parseNativeEhFrameText, parseNativeTargetEhFrameText, planNativeActualRealUtilityContinuationAttempt, planNativeMappingMaterialization, planNativeRealUtilityContinuationAttempt, planNativeSyntheticTargetCallerFrame, planNativeTargetFrameStateMaterialization, planNativeTargetResumeExecution, provision, readBalloonStats, readHostFreeBytes, readHostRssBytes, readHostRssBytesMulti, readHostTotalBytes, registryRoot, resolveBaseDtb, resolveBaseKernel, resolveBaseRootfs, resolveMke2fs, resolveMksquashfs, resolveNativeRealUtilityCodeLocations, resolveVmmBinary, restore, rootfsImgCacheDir, runGc, translateNativeMemory, translateNativeRegisterState, translateNativeResources, translateNativeStack, validateNativeProcessImageBundle, validateNativeProcessImageDocuments, validatePid, warmImageConfigCache, writeBootSnapshot };
|
|
7667
|
+
export { ADVANCED_LINUX_FACILITY_PROBE_KIND, ARCHITECTURE_PORTABLE_SNAPSHOT_GAUNTLET_KIND, ARCHITECTURE_PORTABLE_SNAPSHOT_GAUNTLET_ROW_KIND, type AdvancedLinuxFacilityProbeClassification, type AdvancedLinuxFacilityProbeFacility, type AdvancedLinuxFacilityProbeInput, type AdvancedLinuxFacilityProbeRefusalCode, type AdvancedLinuxFacilityProbeRow, type AdvancedLinuxFacilityProbeStateModel, type AdvancedLinuxFacilityProbeSummary, type ArchitecturePortableSnapshotEvidenceCategory, type ArchitecturePortableSnapshotGauntletEvidenceStatus, type ArchitecturePortableSnapshotGauntletRow, type ArchitecturePortableSnapshotGauntletRowInput, type ArchitecturePortableSnapshotGauntletSummary, type ArchitecturePortableSnapshotProductSupport, type ArchitecturePortableSnapshotTargetExecution, type AttachOptions, type BalloonCounters, BootError, type BootOptions, CacheError, type CheckForkBackpressureOptions, type ChunkLogEvent, type CreateNodeLevel5DeclaredSubsetCaptureInput, DEFAULT_FREE_MEMORY_THRESHOLD, DEFAULT_NODE_LEVEL5_PRODUCT_SNAPSHOT_DIRECTION, type EnsureMountDiskImageOptions, type EnsureMountDiskImageResult, type EnsureMountDiskUpperOptions, type EnsureMountDiskUpperResult, type EnsureRootfsImageOptions, ErrorCode, ExecError, FilesError, type ForkOptions, GUEST_CHECKPOINT_SUBSTRATE_KIND, type GcResult, type GuestCheckpointSubstrateInput, type GuestCheckpointSubstrateProfile, type GuestCheckpointSubstrateRefusalCode, type GuestCheckpointSubstrateRow, type GuestCheckpointSubstrateState, type GuestCheckpointSubstrateSummary, GvproxyError, type ImageConfig, LEVEL5_RUNTIME_ADAPTER_SUBSTRATE_FORMAT_VERSION, type Level5AdapterDetectInput, type Level5AdapterDetection, type Level5AdapterOperation, type Level5ArchitectureMetadata, type Level5ArtifactEnvelope, type Level5EvidenceStatus, type Level5GraduationTargetLevel, type Level5ImplementationLevel, type Level5ProductSupport, type Level5QuiesceResult, type Level5RefusalEnvelope, type Level5RestorePlan, type Level5RuntimeAdapter, type Level5RuntimeAdapterMatch, type Level5RuntimeAdapterRegistry, type Level5RuntimeAdapterRegistrySummary, type Level5RuntimeFamily, type Level5StatusFields, type Level5SubstrateRefusalCode, type Level5ValidationResult, type Level5VerifierEvidence, type LogEvent, MOVE_DESCRIPTOR_FORMAT_VERSION, MOVE_REFUSAL_CODE, MachinenError, type MachinenErrorOptions, type MemoryStats, MkinitramfsError, MountError, type MoveDescriptor, type MoveIssueReport, type MovePidGraph, type MovePidGraphEdge, type MovePidGraphNode, type MoveProcessStateClass, type MoveRefusalEvidence, type MoveSaveResult, NATIVE_MACHINE_RESTORE_DESCRIPTOR_FORMAT_VERSION, NATIVE_MACHINE_RESTORE_DESCRIPTOR_KIND, NATIVE_PROCESS_IMAGE_FILES, NATIVE_PROCESS_IMAGE_FORMAT_VERSION, NATIVE_SIMD_FPU_LIVE_SUBSET_POLICY, NATIVE_SYNTHETIC_PPOLL_SYSCALL_BASE, NATIVE_SYNTHETIC_PPOLL_SYSCALL_BUILD_ID, NATIVE_SYNTHETIC_PPOLL_SYSCALL_LOGICAL_NAME, NATIVE_SYNTHETIC_PPOLL_SYSCALL_PATH, NATIVE_SYNTHETIC_SLEEP_SYSCALL_BASE, NATIVE_SYNTHETIC_SLEEP_SYSCALL_BUILD_ID, NATIVE_SYNTHETIC_SLEEP_SYSCALL_EINTR_EXIT_STATUS, NATIVE_SYNTHETIC_SLEEP_SYSCALL_FAILURE_EXIT_STATUS, NATIVE_SYNTHETIC_SLEEP_SYSCALL_LOGICAL_NAME, NATIVE_SYNTHETIC_SLEEP_SYSCALL_PATH, NATIVE_SYNTHETIC_SLEEP_SYSCALL_RESTART_EXIT_STATUS, NATIVE_SYNTHETIC_SLEEP_SYSCALL_UNMODELED_RETURN_EXIT_STATUS, NATIVE_SYNTHETIC_SYSCALL_EINTR_EXIT_STATUS, NATIVE_SYNTHETIC_SYSCALL_RESTART_EXIT_STATUS, NATIVE_SYNTHETIC_SYSCALL_UNMODELED_RETURN_EXIT_STATUS, NESTED_VIRTUALIZATION_STRETCH_PROOF_KIND, NODE_LEVEL5_APP_SUPPORT_MATRIX_KIND, NODE_LEVEL5_APP_SUPPORT_MATRIX_VERSION, NODE_LEVEL5_DECLARED_SUBSET_FORMAT_VERSION, NODE_LEVEL5_DECLARED_SUBSET_MANIFEST, NODE_LEVEL5_DECLARED_SUBSET_RESTORE_SUMMARY, NODE_LEVEL5_GENERIC_VM_CORPUS_REPORT_KIND, NODE_LEVEL5_GENERIC_VM_CORPUS_REPORT_VERSION, NODE_LEVEL5_GENERIC_VM_REFUSAL_ARTIFACTS_REPORT_KIND, NODE_LEVEL5_GENERIC_VM_REFUSAL_ARTIFACTS_REPORT_VERSION, NODE_LEVEL5_GENERIC_VM_RETAINED_EVIDENCE_REPORT_KIND, NODE_LEVEL5_GENERIC_VM_RETAINED_EVIDENCE_REPORT_VERSION, NODE_LEVEL5_GENERIC_VM_ROW_ARTIFACTS_REPORT_KIND, NODE_LEVEL5_GENERIC_VM_ROW_ARTIFACTS_REPORT_VERSION, NODE_LEVEL5_HTTP_PROFILE_FORMAT_VERSION, NODE_LEVEL5_HTTP_PROFILE_NAME, NODE_LEVEL5_INSTALLED_THIRD_PARTY_APP_CORPUS_REPORT_KIND, NODE_LEVEL5_INSTALLED_THIRD_PARTY_APP_CORPUS_REPORT_VERSION, NODE_LEVEL5_PRODUCT_BEHAVIORAL_VERIFIER_REPORT_KIND, NODE_LEVEL5_PRODUCT_CAPTURE_REPORT_KIND, NODE_LEVEL5_PRODUCT_DETECTOR_REPORT_KIND, NODE_LEVEL5_PRODUCT_RESTORE_LAUNCH_REPORT_KIND, NODE_LEVEL5_PRODUCT_RESTORE_MATERIALIZATION_REPORT_KIND, NODE_LEVEL5_PRODUCT_SNAPSHOT_KIND, NODE_LEVEL5_PRODUCT_SNAPSHOT_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_20_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_20_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_50_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_50_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_65_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_65_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_80_ARTIFACT_BUNDLE_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_80_HARDENING_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_80_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_80_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_85_CLAIM_READY_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_85_CLAIM_READY_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_85_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_85_READINESS_KIND, NODE_LEVEL5_PRODUCT_SUPPORT_85_READINESS_VERSION, NODE_LEVEL5_PRODUCT_SUPPORT_85_VERSION, NODE_LEVEL5_PRODUCT_TARGET_IDENTITY_KIND, NODE_LEVEL5_PROOF_COMPOSITION_FORMAT_VERSION, NODE_LEVEL5_READINESS_MATRIX_KIND, NODE_LEVEL5_READINESS_MATRIX_VERSION, NODE_LEVEL5_REAL_APP_CORPUS_REPORT_KIND, NODE_LEVEL5_REAL_APP_CORPUS_REPORT_VERSION, NODE_LEVEL5_REAL_APP_REFUSAL_CORPUS_REPORT_KIND, NODE_LEVEL5_REAL_APP_REFUSAL_CORPUS_REPORT_VERSION, NODE_LEVEL5_TARGET_SIDE_PROOF_FORMAT_VERSION, NODE_LEVEL5_THIRD_PARTY_APP_CORPUS_REPORT_KIND, NODE_LEVEL5_THIRD_PARTY_APP_CORPUS_REPORT_VERSION, NODE_PROPER_LEVEL5_HTTP_STATE_POLICY_KIND, NODE_PROPER_LEVEL5_LIBUV_TIMER_RECOVERY_KIND, NODE_PROPER_LEVEL5_SOURCE_INSPECTION_KIND, NODE_PROPER_LEVEL5_V8_CLOSURE_RECOVERY_KIND, NODE_PROPER_LEVEL5_V8_OBJECT_RECOVERY_KIND, type NativeActiveFdReadContinuation, type NativeActiveFdWriteContinuation, type NativeActivePingSocketRecvmsgContinuation, type NativeActivePpollTimeoutContinuation, type NativeActiveSleepTimerContinuation, type NativeActiveSyscallClass, type NativeActiveSyscallClassification, type NativeActiveSyscallClassificationResult, type NativeActiveSyscallContinuation, type NativeActiveSyscallPolicyOptions, type NativeActualRealUtilityContinuationBoundary, type NativeActualRealUtilityContinuationPlan, type NativeActualRealUtilityContinuationRequest, type NativeActualTargetModuleInventoryRequest, type NativeActualTargetModuleInventoryResult, type NativeAmd64Registers, type NativeArm64Registers, type NativeCodeLocationMapping, type NativeCodeMapRequest, type NativeCodeMapResult, type NativeCodeModule, type NativeCodeSymbol, type NativeContinuationTarget, type NativeControlledTwoThreadRestorePlan, type NativeControlledTwoThreadRestorePlanRequest, type NativeDebugAddressTranslation, type NativeDebugMemoryField, type NativeDebugMemoryFieldClassification, type NativeDebugMemoryMetadataSource, type NativeDebugMemoryObject, type NativeDebugMemoryPointerClassificationRequest, type NativeDebugMemoryPointerClassificationResult, type NativeDiscoveredUnwindFrame, type NativeEhFrameTextParseRequest, type NativeEhFrameTextParseResult, type NativeFdReadModelResult, type NativeFdReadPolicy, type NativeFdReadResourcePolicy, type NativeFdWriteModelResult, type NativeFdWritePolicy, type NativeFdWriteResourcePolicy, type NativeInheritedStdioPolicy, type NativeMachineRestoreDescriptor, NativeMachineRestoreDescriptorValidationError, type NativeMachineRestorePlan, type NativeMachineRestorePlanRequest, type NativeMappingMaterializationAction, type NativeMappingMaterializationRequest, type NativeMappingMaterializationResult, type NativeMappingMaterializationStep, type NativeMemoryMapping, type NativeMemoryMappingKind, type NativeMemoryRelocation, type NativeMemoryTranslationRequest, type NativeMemoryTranslationResult, type NativeMemoryWord, type NativeModeledFdReadState, type NativeModeledFdReadTargetResource, type NativeModeledFdReadTimerRemainingTime, type NativeModeledFdWriteState, type NativeModeledFdWriteTargetResource, type NativeModeledPingSocketRecvmsgState, type NativeModeledPpollFdState, type NativeModeledPpollTargetResource, type NativeModeledPpollTimeoutRemainingTime, type NativeModeledPpollTimeoutState, type NativeModeledSleepTimerRemainingTime, type NativeModeledSleepTimerState, type NativePingSocketRecvmsgModelResult, type NativePingSocketRecvmsgPolicy, type NativePollTimeoutFdPolicy, type NativePollTimeoutSyscallPolicy, type NativePpollTimeoutModelResult, type NativePrivateWritableGuardRequest, type NativeProcessImageArchitecture, type NativeProcessImageDocumentInput, type NativeProcessImageDocuments, type NativeProcessImageJsonSchema, type NativeProcessImageManifest, type NativeProcessImageMappings, type NativeProcessImageRefusal, type NativeProcessImageRefusalCode, type NativeProcessImageRefusals, type NativeProcessImageResources, type NativeProcessImageThreads, type NativeProcessImageTranslation, NativeProcessImageValidationError, type NativeProcessResource, type NativeProcessResourceKind, type NativeRealUtilityCodeLocationRequest, type NativeRealUtilityCodeLocationResult, type NativeRealUtilityContinuationBoundary, type NativeRealUtilityContinuationPlan, type NativeRealUtilityContinuationRequest, type NativeRealUtilityContinuationStrategy, type NativeRealUtilityDeferredActiveSyscallLanding, type NativeRealUtilityExecutableRange, type NativeRealUtilityModuleExpectation, type NativeRealUtilityResolvedLocation, type NativeRealUtilitySemanticContinuationSelection, type NativeRealUtilitySourceModule, type NativeRealUtilitySyntheticContinuationSelection, type NativeRealUtilityTargetContinuationKind, type NativeRealUtilityTargetModule, type NativeRealUtilityTargetSemanticContinuation, type NativeRegisterState, type NativeRegisterTranslationRequest, type NativeRegisterTranslationResult, type NativeResourceTranslationRequest, type NativeResourceTranslationResult, type NativeReturnChainFrame, type NativeReturnChainFrameWrite, type NativeReturnChainMaterialization, type NativeReturnChainPlan, type NativeReturnChainPlanFrame, type NativeReturnChainPlanRequest, type NativeSignalBlockedMaskPolicy, type NativeSignalRestorePolicyRequest, type NativeSignalRestorePolicyResult, type NativeSimdFpuLiveSubset, type NativeSimdFpuLiveSubsetPolicy, type NativeSimdFpuRestorePolicyResult, type NativeSimdFpuState, type NativeSleepTimerDuration, type NativeSleepTimerModelResult, type NativeSleepTimerSyscallPolicy, type NativeStackFrame, type NativeStackPointerRange, type NativeStackSlot, type NativeStackTranslationRequest, type NativeStackTranslationResult, type NativeStackWindowGuardMapping, type NativeStackWindowMaterializationPlan, type NativeStackWindowMaterializationRequest, type NativeStackWindowMaterializedWrites, type NativeStackWindowWrite, type NativeSyntheticContinuationByteEncoding, type NativeSyntheticContinuationByteSource, type NativeSyntheticContinuationCompletionDescriptor, type NativeSyntheticContinuationFailureExitBucket, type NativeSyntheticContinuationFailureExitBucketCondition, type NativeSyntheticContinuationFailureKind, type NativeSyntheticContinuationProvenanceSource, type NativeSyntheticContinuationRegister, type NativeSyntheticContinuationRegisterSetupAbi, type NativeSyntheticContinuationRegisterSetupDescriptor, type NativeSyntheticContinuationRestartContract, type NativeSyntheticContinuationStackSetupDescriptor, type NativeSyntheticContinuationSyscallAbi, type NativeSyntheticContinuationTargetArch, type NativeSyntheticPpollCompletionMode, type NativeSyntheticPpollSyscallArgumentProvenance, type NativeSyntheticPpollSyscallCompletionProvenance, type NativeSyntheticPpollSyscallContinuation, type NativeSyntheticPpollSyscallContinuationProvenance, type NativeSyntheticPpollSyscallContinuationRequest, type NativeSyntheticPpollSyscallContinuationResult, type NativeSyntheticPpollSyscallProvenanceSource, type NativeSyntheticPpollSyscallRegisterSetupProvenance, type NativeSyntheticPpollSyscallStackSetupProvenance, type NativeSyntheticSleepCompletionMode, type NativeSyntheticSleepSyscallArgumentProvenance, type NativeSyntheticSleepSyscallCompletionProvenance, type NativeSyntheticSleepSyscallContinuation, type NativeSyntheticSleepSyscallContinuationProvenance, type NativeSyntheticSleepSyscallContinuationRequest, type NativeSyntheticSleepSyscallContinuationResult, type NativeSyntheticSleepSyscallProvenanceSource, type NativeSyntheticSleepSyscallRegisterSetupProvenance, type NativeSyntheticSleepSyscallStackSetupProvenance, type NativeSyntheticSyscallArgumentDescriptor, type NativeSyntheticSyscallContinuationDescriptor, type NativeSyntheticSyscallContinuationDescriptorPayload, type NativeSyntheticSyscallContinuationDescriptorRequest, type NativeSyntheticSyscallDescriptor, type NativeSyntheticTargetCallerFrame, type NativeSyntheticTargetCallerFramePlanRequest, type NativeSyntheticTargetCallerFramePlanResult, type NativeSyntheticTargetCallerFramePolicy, type NativeSyntheticTargetCallerFrameSlot, type NativeSyntheticTargetCallerFrameStatePolicy, type NativeTargetCalleeSavedPolicy, type NativeTargetCalleeSavedSlot, type NativeTargetEhFrameTextParseRequest, type NativeTargetEhFrameTextParseResult, type NativeTargetFdTableEntry, type NativeTargetFdTableEntryKind, type NativeTargetFdTablePlan, type NativeTargetFdTablePlanRequest, type NativeTargetFrameRegisterValue, type NativeTargetFrameStateMaterialization, type NativeTargetFrameStateMaterializationRequest, type NativeTargetFrameStateMaterializationResult, type NativeTargetFrameStateRegister, type NativeTargetFrameStateRequirement, type NativeTargetFrameStateValueSource, type NativeTargetLandingDisassemblyProvenance, type NativeTargetLandingFdeProvenance, type NativeTargetLandingInstructionBoundary, type NativeTargetLandingInstructionBoundaryState, type NativeTargetLandingModuleProvenance, type NativeTargetLandingSectionProvenance, type NativeTargetLandingSymbolProvenance, type NativeTargetModuleByteMaterialization, type NativeTargetModuleByteMaterializationRequest, type NativeTargetModuleByteMaterializationResult, type NativeTargetResumeExecutionAttempt, type NativeTargetResumeExecutionAttemptStatus, type NativeTargetResumeExecutionMode, type NativeTargetResumeExecutionPlan, type NativeTargetResumeExecutionPlanRequest, type NativeTargetResumeExecutionPlanResult, type NativeTargetResumeExecutor, type NativeTargetResumeFaultBoundary, type NativeTargetResumeFaultClassification, type NativeTargetResumeFaultClassificationOptions, type NativeTargetResumeFaultClassificationResult, type NativeTargetResumeFaultRegisters, type NativeTargetResumeLandingInspectionRequest, type NativeTargetResumeLandingProvenance, type NativeTargetUnwindFrameMatch, type NativeTargetUnwindFrameRule, type NativeTargetUnwindMatchRequest, type NativeTargetUnwindMatchResult, type NativeTargetUnwindRegister, type NativeThreadRestorePlan, type NativeThreadRestorePlanRequest, type NativeThreadState, type NativeThreadTlsPolicyRequest, type NativeThreadTranslation, type NativeTlsAmd64SegmentBases, type NativeTlsSegmentBaseHandoffRequest, type NativeTlsSegmentBaseHandoffResult, type NativeTlsTargetAccessPolicy, type NativeTlsThreadPointerRegister, type NativeUnwindFrameDiscoveryRequest, type NativeUnwindFrameDiscoveryResult, type NativeUnwindFrameRule, type NativeUnwindMetadataKind, type NativeUnwindRegister, type NativeUnwindStackWord, type NestedVirtProbeHost, type NestedVirtProbeResult, type NestedVirtualizationStretchProofClassification, type NestedVirtualizationStretchProofInput, type NestedVirtualizationStretchProofRefusalCode, type NestedVirtualizationStretchProofRow, type NestedVirtualizationStretchProofSummary, type NodeLevel5AppCorpusGate, type NodeLevel5AppSupportBoundary, type NodeLevel5AppSupportDirection, type NodeLevel5AppSupportEvidence, type NodeLevel5AppSupportEvidenceKind, type NodeLevel5AppSupportFeatureAssessment, type NodeLevel5AppSupportFeatureName, type NodeLevel5AppSupportFeatureStatus, type NodeLevel5AppSupportFeatures, type NodeLevel5AppSupportFramework, type NodeLevel5AppSupportMatrix, type NodeLevel5AppSupportMatrixRow, type NodeLevel5AppSupportMiddlewareFeature, type NodeLevel5AppSupportProductBehavior, type NodeLevel5AppSupportResponseFeature, type NodeLevel5AppSupportRouteFeature, type NodeLevel5AppSupportStatus, type NodeLevel5CorpusHttpEvidence, type NodeLevel5DeclaredSubsetArchitecture, type NodeLevel5DeclaredSubsetCaptureSummary, type NodeLevel5DeclaredSubsetManifest, type NodeLevel5DeclaredSubsetRefusal, type NodeLevel5DeclaredSubsetRefusalCode, type NodeLevel5DeclaredSubsetRestoreSummary, type NodeLevel5DeclaredSubsetSupportMatrix, type NodeLevel5GenericVmCorpusReport, type NodeLevel5GenericVmCorpusRow, type NodeLevel5GenericVmCorpusVerification, type NodeLevel5GenericVmModuleSystem, type NodeLevel5GenericVmPositiveRow, type NodeLevel5GenericVmRefusalArtifactFile, type NodeLevel5GenericVmRefusalArtifactsReport, type NodeLevel5GenericVmRefusalArtifactsVerification, type NodeLevel5GenericVmRefusalMarker, type NodeLevel5GenericVmRefusalRow, type NodeLevel5GenericVmRetainedEvidenceFile, type NodeLevel5GenericVmRetainedEvidenceReport, type NodeLevel5GenericVmRetainedEvidenceVerification, type NodeLevel5GenericVmRowArtifactFile, type NodeLevel5GenericVmRowArtifactsReport, type NodeLevel5GenericVmRowArtifactsVerification, type NodeLevel5HttpProfileCapture, type NodeLevel5HttpProfileCaptureInput, type NodeLevel5HttpProfileRefusal, type NodeLevel5HttpProfileRefusalCode, type NodeLevel5HttpProfileSelectedState, type NodeLevel5InstalledThirdPartyAppCorpusReport, type NodeLevel5InstalledThirdPartyAppCorpusRow, type NodeLevel5InstalledThirdPartyAppCorpusVerification, type NodeLevel5InstalledThirdPartyAppSource, type NodeLevel5ProductBehavioralVerifierReport, type NodeLevel5ProductCaptureReport, type NodeLevel5ProductDetectedFeature, type NodeLevel5ProductDetectorReport, type NodeLevel5ProductRestoreLaunchReport, type NodeLevel5ProductRestoreMaterializationReport, type NodeLevel5ProductRestoreSummary, type NodeLevel5ProductSnapshotDirection, type NodeLevel5ProductSnapshotManifest, type NodeLevel5ProductSnapshotRefusal, type NodeLevel5ProductSnapshotRefusalCode, type NodeLevel5ProductSnapshotSummary, type NodeLevel5ProductSupport20Matrix, type NodeLevel5ProductSupport50Family, type NodeLevel5ProductSupport50FamilyId, type NodeLevel5ProductSupport50Matrix, type NodeLevel5ProductSupport65Family, type NodeLevel5ProductSupport65FamilyId, type NodeLevel5ProductSupport65Matrix, type NodeLevel5ProductSupport80ArtifactBundle, type NodeLevel5ProductSupport80ArtifactVerification, type NodeLevel5ProductSupport80ClaimRegistry, type NodeLevel5ProductSupport80Family, type NodeLevel5ProductSupport80FamilyId, type NodeLevel5ProductSupport80Matrix, type NodeLevel5ProductSupport80UnsupportedDetector, type NodeLevel5ProductSupport85ClaimReadyGate, type NodeLevel5ProductSupport85ClaimReadyGateId, type NodeLevel5ProductSupport85ClaimReadyGateStatus, type NodeLevel5ProductSupport85ClaimReadyReport, type NodeLevel5ProductSupport85ClaimRegistry, type NodeLevel5ProductSupport85ReadinessGate, type NodeLevel5ProductSupport85ReadinessGateId, type NodeLevel5ProductSupport85ReadinessGateStatus, type NodeLevel5ProductSupport85ReadinessReport, type NodeLevel5ProductSupportDirection, type NodeLevel5ProductSupportFamily, type NodeLevel5ProductSupportFamilyId, type NodeLevel5ProductTargetIdentity, type NodeLevel5ProductUnsupportedNeighbor, type NodeLevel5ProofComposition, type NodeLevel5ProofCompositionInput, type NodeLevel5ProofCompositionRefusal, type NodeLevel5ProofEvidenceCheck, type NodeLevel5ProofIngredient, type NodeLevel5ProofIngredientName, type NodeLevel5ProofRefusalCode, type NodeLevel5ProofRefusalMatrixRow, type NodeLevel5ReadinessGate, type NodeLevel5ReadinessGateStatus, type NodeLevel5ReadinessMatrix, type NodeLevel5RealAppCorpusFramework, type NodeLevel5RealAppCorpusReport, type NodeLevel5RealAppCorpusRow, type NodeLevel5RealAppCorpusVerification, type NodeLevel5RealAppRefusalCorpusReport, type NodeLevel5RealAppRefusalCorpusRow, type NodeLevel5RealAppRefusalCorpusVerification, type NodeLevel5RealAppRefusalMarker, type NodeLevel5RealVmCrossArchEvidence, type NodeLevel5TargetProofEvidence, type NodeLevel5TargetSideProof, type NodeLevel5TargetSideProofInput, type NodeLevel5ThirdPartyAppCorpusReport, type NodeLevel5ThirdPartyAppCorpusRow, type NodeLevel5ThirdPartyAppCorpusVerification, type NodeLevel5ThirdPartyAppSource, type NodeLevel5UnsupportedNeighborGate, type NodeProperLevel5HttpStatePolicyInput, type NodeProperLevel5HttpStatePolicyRefusal, type NodeProperLevel5HttpStatePolicyRefusalCode, type NodeProperLevel5HttpStatePolicyResult, type NodeProperLevel5LibuvTimerCandidate, type NodeProperLevel5LibuvTimerMemoryFragment, type NodeProperLevel5LibuvTimerRecoveryRefusal, type NodeProperLevel5LibuvTimerRecoveryRefusalCode, type NodeProperLevel5LibuvTimerRecoveryResult, type NodeProperLevel5MapKind, type NodeProperLevel5ProcMapEntry, type NodeProperLevel5RawMemoryFragment, type NodeProperLevel5RawV8ContextSmiRecoveryResult, type NodeProperLevel5SourceInspectionInput, type NodeProperLevel5SourceInspectionSummary, type NodeProperLevel5V8ClosureCounterCellCandidate, type NodeProperLevel5V8ClosureRecoveryRefusal, type NodeProperLevel5V8ClosureRecoveryRefusalCode, type NodeProperLevel5V8ClosureRecoveryResult, type NodeProperLevel5V8ObjectCandidate, type NodeProperLevel5V8ObjectMemoryFragment, type NodeProperLevel5V8ObjectRecoveryOptions, type NodeProperLevel5V8ObjectRecoveryRefusal, type NodeProperLevel5V8ObjectRecoveryRefusalCode, type NodeProperLevel5V8ObjectRecoveryResult, OPPOSITE_ISA_VM_EXECUTION_KIND, type OnLog, type OnOutputListener, type OppositeIsaVmExecutionArch, type OppositeIsaVmExecutionEvidence, type OppositeIsaVmExecutionProviderRoute, type OppositeIsaVmExecutionRefusalCode, type OppositeIsaVmExecutionState, type OppositeIsaVmExecutionSummary, PORTABLE_MACHINE_SNAPSHOT_FILES, PORTABLE_MACHINE_SNAPSHOT_FORMAT_VERSION, PORTABLE_SNAPSHOT_GUEST_CHECKPOINT_COMPOSITION_KIND, PRODUCT_CLAIM_PROOF_ONLY_REFUSAL_CODE, PRODUCT_CLAIM_REGISTRY_FORMAT_VERSION, type PackBundleOptions, type PackMinimalOptions, type PackRootfsOptions, type PackTinyBundleOptions, type PackWorkspaceOptions, ParseError, type PhaseLogEvent, type PidStatus, type PortableMachineSnapshotArchitecture, type PortableMachineSnapshotDocuments, type PortableMachineSnapshotManifest, type PortableMachineSnapshotRefusal, type PortableMachineSnapshotRefusalCode, type PortableMachineSnapshotRefusals, PortableMachineSnapshotValidationError, type PortableMachineTargetContinuationKind, type PortableMachineTargetFrameRestoreResult, type PortableMachineTargetNativePlanConsumptionResult, type PortableMachineTargetRegisterRestoreResult, type PortableMachineTargetResourceStatus, type PortableMachineTargetRestoreDescriptorPlan, type PortableMachineTargetRestoreDescriptorRequest, type PortableMachineTargetRestoreObservation, type PortableMachineTargetResumePathResult, type PortableMachineTargetReturnChainResult, type PortableMachineTargetRflagsRestoreResult, type PortableMachineTargetStateConsumptionResult, type PortableMachineTargetThreadRestoreResult, type PortableMachineTargetTlsRestoreResult, type PortableMachineTargetVerifierResult, type PortableMachineVmRestoreProofPlan, type PortableMachineVmRestoreProofRequest, type PortableMachineVmRestoreProofState, type PortableMachineVmRestoreTargetResult, type PortableSnapshotGuestCheckpointCompositionInput, type PortableSnapshotGuestCheckpointCompositionRefusalCode, type PortableSnapshotGuestCheckpointCompositionRow, type PortableSnapshotGuestCheckpointCompositionState, type PortableSnapshotGuestCheckpointCompositionSummary, type PortableSnapshotGuestCheckpointMachinenStateModel, type ProductClaimEntry, type ProductClaimFamily, type ProductClaimObservableStateDecision, type ProductClaimProofProfileInput, type ProductClaimRegistry, type ProductClaimRegistryFilter, type ProductClaimRegistrySummary, type ProductClaimStatus, type ProductSupportLevel, ProvisionError, type ProvisionOptions, type ProvisionResult, type PtyBootOptions, type PtyVmHandle, RUNTIME_CONFIDENCE_PROFILE_KIND, type RegistryEntry, RegistryError, type RestoreNodeLevel5DeclaredSubsetInput, type RestoreOptions, type RssTarget, type RunGcOptions, type RuntimeConfidenceArch, type RuntimeConfidenceClassification, type RuntimeConfidenceProfileInput, type RuntimeConfidenceProfileRow, type RuntimeConfidenceProfileSummary, type RuntimeConfidenceRefusalCode, type RuntimeConfidenceRuntime, type RuntimeConfidenceStateModel, STATEFUL_DATABASE_RESTORE_KIND, STATS_FILE_SIZE, type SandboxEntry, SandboxError, Sandboxes, SecretsError, type SnapshotEngine, SnapshotError, type SnapshotFileIdentity, type SnapshotMeta, type SnapshotOptions, type SnapshotResult, type StatefulDatabaseRestoreArch, type StatefulDatabaseRestoreDatabase, type StatefulDatabaseRestoreInput, type StatefulDatabaseRestoreRefusalCode, type StatefulDatabaseRestoreState, type StatefulDatabaseRestoreStateModel, type StatefulDatabaseRestoreSummary, Supervisor, type SupervisorOptions, TARGET_GUEST_RESTORE_DESCRIPTOR_KIND, type TargetGuestActiveSyscallRestorePlan, type TargetGuestActiveSyscallRestoreStep, type TargetGuestCopyCapturedBytesEntry, type TargetGuestEpollWatchRecipe, type TargetGuestExecutableMappingStep, type TargetGuestExecutableMaterializationPlan, type TargetGuestMemoryMaterializationEntry, type TargetGuestMemoryMaterializationKind, type TargetGuestMemoryMaterializationRequest, type TargetGuestMemoryMaterializationResult, type TargetGuestNativeRestoreStep, type TargetGuestPrivateMemoryRestorePlan, type TargetGuestPrivateMemoryRestoreStep, type TargetGuestProcessContextRestoreMode, type TargetGuestProcessContextRestoreOptions, type TargetGuestProcessContextRestorePlan, type TargetGuestProcessContextRestoreStep, type TargetGuestRecreateGuardEntry, type TargetGuestRestoreContinuationDescriptor, type TargetGuestRestoreDescriptor, type TargetGuestRestoreLoaderRefusalCode, TargetGuestRestoreLoaderValidationError, type TargetGuestRestoreResourceRecipe, type TargetGuestRestoreResumeMode, type TargetGuestResumeRegisterName, type TargetGuestResumeRegisters, type TargetGuestSignalRestorePlan, type TargetGuestSignalRestoreStep, type TargetGuestTranslatedFrameDescriptor, type TargetGuestTranslatedFrameRegister, type TargetGuestTranslatedFrameRegisterName, type TargetGuestTranslatedFrameSlot, type TargetGuestTwoThreadBinding, type TargetGuestTwoThreadRestorePlan, type TargetGuestTwoThreadSpawnStep, type TargetNativeConsumptionEvent, type TargetNativeConsumptionEvents, type TargetNativeConsumptionStatus, type VmHandle, type VmstateBackend, type VmstateSnapshotMeta, VsockExec, type VsockExecOptions, type VsockExecPtyHandle, type VsockExecPtyOptions, type VsockExecPtyResult, type VsockExecResult, VsockFiles, type VsockFilesOptions, VsockSecrets, type VsockSecretsOptions, VsockWinsize, type VsockWinsizeOptions, WinsizeError, type WriteFileOptions, _internal, advancedLinuxFacilityProbeClassifications, advancedLinuxFacilityProbeFacilities, advancedLinuxFacilityProbeRefusalCodes, architecturePortableSnapshotEvidenceCategories, architecturePortableSnapshotGauntletEvidenceStatuses, architecturePortableSnapshotProductSupportStates, architecturePortableSnapshotTargetExecutions, assertNativeProcessImageDocuments, assertNodeLevel5ProductSupport20MatrixComplete, assertNodeLevel5ProductSupport50MatrixComplete, assertNodeLevel5ProductSupport65MatrixComplete, assertNodeLevel5ProductSupport80HardeningComplete, assertNodeLevel5ProductSupport80MatrixComplete, assertNodeLevel5ReadinessMatrixComplete, attach, autoSizeMemoryMib, boot, bootPty, bootSnapshotPath, buildAdvancedLinuxFacilityProbeRow, buildArchitecturePortableSnapshotGauntletRow, buildGuestCheckpointSubstrateRow, buildLevel5ProofOnlyStatus, buildLevel5RefusalEnvelope, buildLevel5RuntimeAdapterRegistrySummary, buildMachinenConfig, buildMoveIssueReport, buildNativeActualResumeTrampolineArgs, buildNativeCodeMap, buildNativeMachineRestoreDescriptor, buildNativeSyntheticPpollSyscallContinuation, buildNativeSyntheticSleepSyscallContinuation, buildNativeSyntheticSyscallContinuationDescriptor, buildNestedVirtualizationStretchProofRow, buildNodeLevel5AppSupportMatrix, buildNodeLevel5HttpProfileCapture, buildNodeLevel5ProofComposition, buildOppositeIsaVmExecutionSummary, buildPortableMachineSnapshotManifestFromNativeProcessImage, buildPortableSnapshotGuestCheckpointCompositionRow, buildProductClaimRegistry, buildRuntimeConfidenceProfileMatrix, buildRuntimeConfidenceProfileRow, buildStatefulDatabaseRestoreSummary, buildTargetGuestRestoreLoaderArgv, buildWriteFileCmd, buildWriteFileCmds, checkForkBackpressure, classifyNativeActiveSyscalls, classifyNativeDebugMemoryPointers, classifyNativeTargetResumeExecutionAttempt, classifyNativeThreadSyscall, classifyNodeProperLevel5HttpStatePolicy, classifyOppositeIsaProviderRoute, completePortableMachineVmRestoreProof, createLevel5RuntimeAdapterRegistry, createMoveDescriptor, createNodeLevel5DeclaredSubsetCapture, createNodeLevel5GenericVmCorpusReport, createNodeLevel5GenericVmRefusalArtifactsReport, createNodeLevel5GenericVmRetainedEvidenceReport, createNodeLevel5GenericVmRowArtifactsReport, createNodeLevel5InstalledThirdPartyAppCorpusReport, createNodeLevel5ProductSnapshot, createNodeLevel5ProductSupport80ArtifactBundle, createNodeLevel5RealAppCorpusReport, createNodeLevel5RealAppRefusalCorpusReport, createNodeLevel5ThirdPartyAppCorpusReport, crossIsaVmstateRestoreRefusal, detachedLogRoot, detectNodeLevel5ProductSnapshotApp, discoverNativeUnwindFrames, ensureMountDiskImage, ensureMountDiskUpper, ensureRootfsImage, evaluateNodeLevel5ProductSupport85ClaimReady, evaluateNodeLevel5ProductSupport85Readiness, filterProductClaimRegistry, formatMachinenError, guestCheckpointSubstrateRefusalCodes, hostArchitectureFromNode, inspectNativeTargetResumeLanding, inventoryNativeActualTargetModules, inventoryNativeSourceCodeModules, isMachinenError, isNativeProcessImageBundle, isNodeLevel5DeclaredSubsetManifest, isNodeLevel5ProductSnapshotBundle, isPortableMachineSnapshotBundle, isSupportedNodeLevel5HttpSelectedState, level5SubstrateRefusalCodes, list, loadMoveDescriptor, loadNodeLevel5GenericVmCorpusReport, loadNodeLevel5GenericVmRefusalArtifactsReport, loadNodeLevel5GenericVmRetainedEvidenceReport, loadNodeLevel5GenericVmRowArtifactsReport, loadNodeLevel5InstalledThirdPartyAppCorpusReport, loadNodeLevel5ProductSupport80ArtifactBundle, loadNodeLevel5ProductSupport85ReadinessReport, loadNodeLevel5RealAppCorpusReport, loadNodeLevel5RealAppRefusalCorpusReport, loadNodeLevel5ThirdPartyAppCorpusReport, markMountDiskImageClean, markRootfsImageClean, matchNativeTargetUnwindFrame, materializeNativeReturnChainFrames, materializeNativeStackWindowWrites, materializeNativeTargetModuleBytes, measureFirstByte, packBundle as mkinitramfsBundle, cli as mkinitramfsCli, packMinimal as mkinitramfsMinimal, packRootfs as mkinitramfsRootfs, packTinyBundle as mkinitramfsTinyBundle, packWorkspace as mkinitramfsWorkspace, modelNativeFdReadState, modelNativeFdWriteState, modelNativePingSocketRecvmsgState, modelNativePpollTimeoutState, modelNativeSleepTimerState, mountdiskImgCacheDir, nativeProcessImageArchitectures, nativeProcessImageRefusalCodes, nativeProcessImageSchemas, nativeSyntheticContinuationBytesHex, nativeSyntheticContinuationBytesSha256, nativeSyntheticContinuationDescriptorSha256, nativeSyntheticEintrErrno, nativeSyntheticExitProcessSuffix, nativeSyntheticRestartLikeErrnos, nativeSyntheticSyscallFailureExitBuckets, nativeSyntheticSyscallRestartContract, nativeTargetResumeLandingRefusals, nativeUnwindReturnAddressSlot, nestedVirtualizationStretchProofClassifications, nestedVirtualizationStretchProofRefusalCodes, nodeLevel5AppCorpusGates, nodeLevel5DeclaredSubsetRefusalCodes, nodeLevel5DeclaredSubsetSupportMatrix, nodeLevel5FinalAuditGates, nodeLevel5HttpProfileRefusalCodes, nodeLevel5HttpProfileRefusalRows, nodeLevel5NarrowProductReadinessGates, nodeLevel5ProductSupport20Families, nodeLevel5ProductSupport20Matrix, nodeLevel5ProductSupport50ExpandedUnsupportedNeighbors, nodeLevel5ProductSupport50Families, nodeLevel5ProductSupport50Matrix, nodeLevel5ProductSupport50NewFamilies, nodeLevel5ProductSupport65ExpandedUnsupportedNeighbors, nodeLevel5ProductSupport65Families, nodeLevel5ProductSupport65Matrix, nodeLevel5ProductSupport65NewFamilies, nodeLevel5ProductSupport80ClaimRegistry, nodeLevel5ProductSupport80ExpandedUnsupportedNeighbors, nodeLevel5ProductSupport80Families, nodeLevel5ProductSupport80Matrix, nodeLevel5ProductSupport80NewFamilies, nodeLevel5ProductSupport80UnsupportedDetectors, nodeLevel5ProductSupport85ClaimRegistry, nodeLevel5ProductUnsupportedNeighbors, nodeLevel5ProofIngredientNames, nodeLevel5ProofRefusalCodes, nodeLevel5ReadinessMatrix, nodeLevel5UnsupportedNeighborGates, normalizeGuestMachine, notProvenNodeLevel5AppSupportRows, oppositeGuestArchitecture, oppositeIsaVmExecutionRefusalCodes, parseNativeEhFrameText, parseNativeMachineRestoreDescriptor, parseNativeTargetEhFrameText, parseNodeProperLevel5ProcMaps, parseTargetGuestRestoreDescriptor, parseTargetNativeConsumptionEvents, planNativeActualRealUtilityContinuationAttempt, planNativeControlledTwoThreadRestoreBoundary, planNativeMachineRestore, planNativeMappingMaterialization, planNativeRealUtilityContinuationAttempt, planNativeReturnChain, planNativeSignalRestorePolicy, planNativeSimdFpuLiveSubsetPolicy, planNativeSimdFpuRestorePolicy, planNativeStackWindowMaterialization, planNativeSyntheticTargetCallerFrame, planNativeTargetFdTable, planNativeTargetFrameStateMaterialization, planNativeTargetResumeExecution, planNativeThreadRestoreBoundary, planNativeTlsSegmentBaseHandoff, planPortableMachineTargetRestoreDescriptor, planPortableMachineVmRestoreProof, planTargetGuestActiveSyscallRestore, planTargetGuestExecutableMaterialization, planTargetGuestMemoryMaterialization, planTargetGuestPrivateMemoryRestore, planTargetGuestProcessContextRestore, planTargetGuestSignalRestore, planTargetGuestTwoThreadRestore, portableMachineSnapshotArchitectures, portableMachineSnapshotManifestSchema, portableMachineSnapshotRefusalCodes, portableSnapshotGuestCheckpointCompositionRefusalCodes, postgresLogicalRestoreInput, probeNestedVirtualization, productClaimEntryFromProofProfile, productClaimFamilies, productClaimRefusalSummary, productClaimStatuses, productSupportLevels, provision, readBalloonStats, readHostFreeBytes, readHostRssBytes, readHostRssBytesMulti, readHostTotalBytes, recoverNodeProperLevel5LibuvTimerEvidence, recoverNodeProperLevel5RawV8ContextSmiCounter, recoverNodeProperLevel5V8ClosureCounterCell, recoverNodeProperLevel5V8ObjectStateEvidence, refusedNodeLevel5AppSupportRows, registryRoot, requiredArchitecturePortableSnapshotClaimIds, resolveBaseDtb, resolveBaseKernel, resolveBaseRootfs, resolveMke2fs, resolveMksquashfs, resolveNativeRealUtilityCodeLocations, resolveVmmBinary, restore, restoreNodeLevel5DeclaredSubset, restoreNodeLevel5ProductSnapshot, rootfsImgCacheDir, runGc, runNodeLevel5TargetSideProof, runtimeConfidenceClassifications, runtimeConfidenceProfileFixtures, runtimeConfidenceRefusalCodes, safeSignalRestoreRefusal, safeSimdFpuRefusal, safeTlsSegmentBaseRefusal, saveMoveDescriptor, scanMovePidGraph, serializeNativeMachineRestoreDescriptor, serializeTargetGuestRestoreDescriptor, sqliteRollbackJournalRestoreInput, sqliteWalCheckpointRestoreInput, stableGauntletDigest, statefulDatabaseRestoreRefusalCodes, summarizeAdvancedLinuxFacilityProbeRows, summarizeArchitecturePortableSnapshotGauntletRows, summarizeGuestCheckpointSubstrateRows, summarizeNestedVirtualizationStretchProofRows, summarizeNodeProperLevel5SourceInspection, summarizePortableSnapshotGuestCheckpointCompositionRows, summarizeProductClaimRegistry, summarizeRuntimeConfidenceProfiles, supportedNodeLevel5AppSupportRows, targetNativeConsumptionFields, targetNativeConsumptionPassed, translateNativeMemory, translateNativeRegisterState, translateNativeResources, translateNativeStack, validateAdvancedLinuxFacilityProbeRows, validateArchitecturePortableSnapshotGauntletInvariants, validateArchitecturePortableSnapshotGauntletRows, validateArchitecturePortableSnapshotGauntletSchema, validateGuestCheckpointSubstrateRows, validateNativeMachineRestoreDescriptor, validateNativeProcessImageBundle, validateNativeProcessImageDocuments, validateNestedVirtualizationStretchProofRows, validatePid, validatePortableMachineSnapshotBundle, validatePortableMachineSnapshotManifest, validatePortableSnapshotGuestCheckpointCompositionRows, validateRuntimeConfidenceProfiles, validateTargetGuestRestoreDescriptor, verifyNodeLevel5GenericVmCorpusReport, verifyNodeLevel5GenericVmRefusalArtifactsReport, verifyNodeLevel5GenericVmRetainedEvidenceReport, verifyNodeLevel5GenericVmRowArtifactsReport, verifyNodeLevel5InstalledThirdPartyAppCorpusReport, verifyNodeLevel5ProductSupport80ArtifactBundle, verifyNodeLevel5RealAppCorpusReport, verifyNodeLevel5RealAppRefusalCorpusReport, verifyNodeLevel5ThirdPartyAppCorpusReport, warmImageConfigCache, writeBootSnapshot, writeNodeLevel5GenericVmCorpusReport, writeNodeLevel5GenericVmRefusalArtifactsReport, writeNodeLevel5GenericVmRetainedEvidenceReport, writeNodeLevel5GenericVmRowArtifactsReport, writeNodeLevel5InstalledThirdPartyAppCorpusReport, writeNodeLevel5RealAppCorpusReport, writeNodeLevel5RealAppRefusalCorpusReport, writeNodeLevel5ThirdPartyAppCorpusReport };
|