Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

648 B
Raw Blame
export interface OwnershipTraceExecution {
  readonly pid: number;
  readonly path: string;
  readonly line: string;
  readonly succeeded: boolean;
  readonly ownershipInventory: boolean;
}
/** Parsed topology and execution facts for one complete strace observation. */
export function collectOwnershipTraceFacts(options: {
  readonly traces: readonly { readonly pid: number; readonly text: string }[];
  readonly nodeExecutable: string;
  readonly psExecutables: ReadonlySet<string>;
}): {
  readonly ownershipThreads: ReadonlySet<number>;
  readonly psProcesses: ReadonlySet<number>;
  readonly executions: readonly OwnershipTraceExecution[];
};