Lines Matching refs:ptrace
843 opcode = ptrace(PTRACE_PEEKTEXT, pid, (char *)(pc-sizeof(long)), 0);
884 scno = ptrace(PTRACE_PEEKTEXT, pid, svc_addr, 0);
954 call = ptrace(PTRACE_PEEKTEXT,pid,(char *)rip,0);
1009 if (ptrace(PTRACE_GETREGS, pid, NULL, (void *)®s) == -1)
1037 scno = ptrace(PTRACE_PEEKTEXT, pid, (void *)(regs.ARM_pc - 4), NULL);
1131 if (ptrace(PTRACE_GETREGS,pid,(char *)®s,0) < 0)
1138 trap = ptrace(PTRACE_PEEKTEXT,pid,(char *)regs.r_pc,0);
1704 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0)
1709 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(EAX * 4), eax) < 0)
1714 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(RAX * 8), rax) < 0)
1720 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R8), r8) < 0)
1732 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R8), r8) < 0 ||
1733 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R10), r10) < 0)
1746 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), a3) < 0 ||
1747 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_V0), r2) < 0)
1761 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(sizeof(unsigned long)*PT_CCR), flags) < 0 ||
1762 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(sizeof(unsigned long)*PT_R3), result) < 0)
1767 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_D0), d0) < 0)
1772 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*0), regs.ARM_r0) < 0)
1784 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), a3) < 0 ||
1785 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_R0), r0) < 0)
1789 if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)®s, 0) < 0)
1799 if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)®s, 0) < 0)
1803 if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)®s, 0) < 0)
1813 if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)®s, 0) < 0)
1818 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GR28), r28) < 0)
1823 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*REG_REG0), r0) < 0)
1828 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)REG_GENERAL(9), r9) < 0)
1846 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)uoff(u_error),
1848 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)uoff(u_rval1), rval) < 0)
2561 if (ptrace(PTRACE_GETREGS,tcp->pid,(char *)®s,0) < 0)