Files
reverse-engineering-anything/scripts/lib/ownership-ps-trace.d.mts
T
morluto f7706a199c fix(verify): recognize the ownership ps inventory from the process owner's arguments (#11291)
* fix(verify): recognize the ownership ps inventory from the process owner's arguments

* fix(verify): match the recorded-crash ps inventory against REA's fixed ps locations
2026-11-16 00:01:18 +08:00

12 lines
394 B
TypeScript

/** The fixed Linux `ps` locations REA selects for ownership inventory. */
export const ownershipPsExecutables: ReadonlySet<string>;
/**
* Whether an strace `execve` line is REA's process-ownership `ps` inventory
* run from one of `executables` (default: `ownershipPsExecutables`).
*/
export function isOwnershipPsExecution(
line: string,
executables?: ReadonlySet<string>,
): boolean;