• Home
  • Raw
  • Download

Lines Matching refs:ptrace

638 	if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(ORIG_EAX * 4), new) < 0)
643 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(ORIG_RAX * 8), new) < 0)
647 if (ptrace(PTRACE_POKEUSER, tcp->pid,
653 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GPR2), new)<0)
657 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_ORIG_D0), new)<0)
662 if (ptrace(PTRACE_GETREGS, tcp->pid, (char*)&regs, 0)<0)
665 if (ptrace(PTRACE_SETREGS, tcp->pid, (char*)&regs, 0)<0)
669 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_V0), new)<0)
673 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), new)<0)
686 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R1), new)<0)
688 } else if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R15), new)<0)
692 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GR20), new)<0)
696 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*(REG_REG0+3)), new)<0)
702 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_SYSCALL),
712 if (ptrace (PTRACE_SET_SYSCALL, tcp->pid, 0, new) != 0)
738 ptrace(PTRACE_POKEDATA, tcp->pid, (char *) ap, tcp->u_arg[argnum]);
745 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*argnum), tcp->u_arg[argnum]);
751 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(8*(long)argnum), tcp->u_arg[argnum]);
760 ptrace(PTRACE_POKEUSER, tcp->pid,
770 ptrace(PTRACE_POKEUSER, tcp->pid,
778 ptrace(PTRACE_POKEDATA, tcp->pid,
787 ptrace(PTRACE_POKEUSER, tcp->pid,
855 if (ptrace(PTRACE_ATTACH, pid, (char *) 1, 0) < 0) {
885 if (ptrace(PTRACE_SYSCALL, pid, (char *) 1, 0) < 0) {
1006 if (ptrace(PTRACE_ATTACH, pid, (char *) 1, 0) < 0) {
1022 if (ptrace(PTRACE_ATTACH, pid, (char *)1, 0) < 0) {
1033 if (ptrace(PTRACE_ATTACH, pid, (char *) 1, 0) >= 0)