Files
rea/scripts/windows-capabilities.mjs
T
N0zoM1z0 6b1fd166b0 feat(ghidra): define the Windows P0 admission boundary
Admit only native x86-64 PE applications when the Ghidra candidate runs on Windows while preserving the existing Linux format matrix. Add precise rejection codes for executable roles and managed targets, publish a machine-readable Windows capability report, and keep missing no-follow, ACL, Unix-socket, and PTY controls as independent observations rather than inferred support.
2026-07-17 03:05:19 +09:00

13 lines
437 B
JavaScript

#!/usr/bin/env node
import { probeWindowsCapabilities } from "../dist/application/WindowsCapabilities.js";
const report = await probeWindowsCapabilities();
await new Promise((resolveOutput) =>
process.stdout.write(`${JSON.stringify(report)}\n`, resolveOutput),
);
// node-pty can retain a Windows helper handle after its probe exits. This
// standalone command has no remaining cleanup after its report is flushed.
process.exit(0);