• Home
  • Raw
  • Download

Lines Matching refs:ptrace

65       nat_bits = ptrace (PTRACE_PEEKUSER, pid, PT_NAT_BITS, 0);  in _UPT_access_reg()
80 ptrace (PTRACE_POKEUSER, pid, PT_NAT_BITS, nat_bits); in _UPT_access_reg()
105 psr = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IPSR, 0); in _UPT_access_reg()
117 ptrace (PTRACE_POKEUSER, pid, PT_CR_IIP, ip); in _UPT_access_reg()
118 ptrace (PTRACE_POKEUSER, pid, PT_CR_IPSR, psr); in _UPT_access_reg()
129 ip = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IIP, 0); in _UPT_access_reg()
153 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0); in _UPT_access_reg()
166 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp); in _UPT_access_reg()
177 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0); in _UPT_access_reg()
197 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0); in _UPT_access_reg()
198 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0); in _UPT_access_reg()
211 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, 0); in _UPT_access_reg()
220 ptrace (PTRACE_POKEUSER, pid, PT_CFM, *val); in _UPT_access_reg()
245 ptrace (PTRACE_POKEUSER, pid, (void*) (uintptr_t) _UPT_reg_offset[reg], (void*) *val); in _UPT_access_reg()
253 *val = ptrace (PTRACE_PEEKUSER, pid, (void*) (uintptr_t) _UPT_reg_offset[reg], 0); in _UPT_access_reg()
309 if (ptrace(PTRACE_GETREGS, pid, 0, (void*)&regs) == -1) in _UPT_access_reg()
319 if (ptrace(PTRACE_SETREGS, pid, 0, (void*)&regs) == -1) in _UPT_access_reg()
338 if (ptrace(PT_GETREGS, pid, (caddr_t)&regs, 0) == -1) in _UPT_access_reg()
342 if (ptrace(PT_SETREGS, pid, (caddr_t)&regs, 0) == -1) in _UPT_access_reg()
374 if (ptrace(PTRACE_GETREGSET, pid, (void*)NT_PRSTATUS, (void*)&io) == -1) in _UPT_access_reg()
386 if (ptrace(PTRACE_SETREGSET, pid, (void*)NT_PRSTATUS, (void*)&io) == -1) in _UPT_access_reg()