mirror of
https://github.com/morluto/rea.git
synced 2026-10-12 02:19:24 +00:00
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.
13 lines
437 B
JavaScript
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);
|