feat(ghidra): add private headless provider session

This commit is contained in:
N0zoM1z0
2026-07-16 01:27:54 +09:00
committed by N0zoM1z0
parent ed17e76473
commit f0e625d7ee
234 changed files with 8968 additions and 513 deletions
+5 -2
View File
@@ -15,7 +15,8 @@ export interface OwnedProviderProcessSpawnOptions {
readonly command: string;
readonly arguments: readonly string[];
readonly runId: string;
readonly expectedCommand?: string;
/** Null disables argv-prefix matching for interpreter-driven launch scripts. */
readonly expectedCommand?: string | null;
readonly cwd?: string;
readonly env?: NodeJS.ProcessEnv;
}
@@ -120,8 +121,10 @@ export const spawnOwnedProviderProcess = async (
runId: options.runId,
leaderPid: pid,
processGroupId: pid,
expectedCommand: options.expectedCommand ?? options.command,
expectedParentPid: process.pid,
...(options.expectedCommand === null
? {}
: { expectedCommand: options.expectedCommand ?? options.command }),
};
return { process: child, ownership };
};