linux-ptrace-0.1.2: Wrapping of Linux' ptrace(2).




traceProcess :: CPid -> IO TracedProcessSource

Attach to an existing process

continue :: TracedProcess -> IO ()Source

Attach to a new process traceForkExec :: IO () -> FilePath -> [String] -> IO TracedProcess traceForkExec setup file argv = do pid - fork (setup > ptrace_traceme >> execvp file argv) waitpid pid return $ TracedProcess pid

Continue a process until it hits a signal FIXME: return info about the signal