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.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/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);
|
||||
Reference in New Issue
Block a user