• Home
  • Raw
  • Download

Lines Matching refs:ptrace

786 		opcode = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)(pc-sizeof(long)), 0);  in get_scno()
827 scno = ptrace(PTRACE_PEEKTEXT, tcp->pid, svc_addr, 0); in get_scno()
880 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, &regs) < 0) in get_scno()
942 call = ptrace(PTRACE_PEEKTEXT, pid, (char *)rip, (char *)0); in get_scno()
995 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)&regs) == -1) in get_scno()
1023 scno = ptrace(PTRACE_PEEKTEXT, tcp->pid, (void *)(regs.ARM_pc - 4), NULL); in get_scno()
1077 if (ptrace (PTRACE_GETREGS, tcp->pid, NULL, (long) &regs) < 0) in get_scno()
1155 if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0) in get_scno()
1163 trap = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)regs.tpc, 0); in get_scno()
1166 trap = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)regs.pc, 0); in get_scno()
1816 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0)
1820 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(EAX * 4), eax) < 0)
1824 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(RAX * 8), rax) < 0)
1829 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R8), r8) < 0)
1841 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R8), r8) < 0 ||
1842 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R10), r10) < 0)
1847 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_R0, r0) < 0)
1859 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), a3) < 0 ||
1860 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_V0), r2) < 0)
1873 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(sizeof(unsigned long)*PT_CCR), flags) < 0 ||
1874 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(sizeof(unsigned long)*PT_R3), result) < 0)
1878 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_D0), d0) < 0)
1882 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*0), regs.ARM_r0) < 0)
1886 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)REG_R12, regs.r12) < 0)
1897 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), a3) < 0 ||
1898 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_R0), r0) < 0)
1901 if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0)
1911 if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)&regs, 0) < 0)
1914 if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0)
1924 if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)&regs, 0) < 0)
1928 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GR28), r28) < 0)
1932 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*REG_REG0), r0) < 0)
1936 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)REG_GENERAL(9), r9) < 0)
1942 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)uoff(u_error),
1944 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)uoff(u_rval1), rval) < 0)
2077 if (ptrace (PTRACE_GETREGS, tcp->pid, NULL, (long) &regs) < 0) in syscall_enter()
2761 if (ptrace(PTRACE_GETREGS,tcp->pid,(char *)&regs,0) < 0)