Lines Matching refs:ptrace
40 int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in spawn_child()
81 if (ptrace(PTRACE_POKEUSER, child, in bp_modify1()
88 if (ptrace(PTRACE_POKEUSER, child, in bp_modify1()
95 if (ptrace(PTRACE_POKEUSER, child, in bp_modify1()
101 if (ptrace(PTRACE_CONT, child, NULL, NULL)) { in bp_modify1()
112 rip = ptrace(PTRACE_PEEKUSER, child, in bp_modify1()
123 if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { in bp_modify1()
158 if (ptrace(PTRACE_POKEUSER, child, in bp_modify2()
165 if (ptrace(PTRACE_POKEUSER, child, in bp_modify2()
171 if (!ptrace(PTRACE_POKEUSER, child, in bp_modify2()
177 if (ptrace(PTRACE_CONT, child, NULL, NULL)) { in bp_modify2()
188 rip = ptrace(PTRACE_PEEKUSER, child, in bp_modify2()
199 if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { in bp_modify2()