Home
last modified time | relevance | path

Searched refs:PTRACE_PEEKUSER (Results 1 – 25 of 33) sorted by relevance

12

/external/ltrace/sysdeps/linux-gnu/s390/
Dtrace.c37 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
38 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
54 psw = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWMASK, 0); in get_arch_dep()
87 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR2, 0); in syscall_p()
117 pc = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0); in syscall_p()
133 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid, in syscall_p()
138 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid, in syscall_p()
153 tmp = ptrace(PTRACE_PEEKUSER, proc->pid, in syscall_p()
163 scno = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR1, 0); in syscall_p()
Dregs.c34 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
35 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
52 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0) & PSW_MASK; in get_instruction_pointer()
78 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR15, 0) & PSW_MASK; in get_stack_pointer()
90 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR14, 0) & PSW_MASK; in get_return_addr()
/external/ltrace/sysdeps/linux-gnu/alpha/
Dtrace.c34 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
35 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
60 ptrace(PTRACE_PEEKUSER, proc->pid, 0 /* REG_R0 */ , 0); in syscall_p()
78 return ptrace(PTRACE_PEEKUSER, proc->pid, 0 /* REG_R0 */ , 0); in gimme_arg()
83 return ptrace(PTRACE_PEEKUSER, proc->pid, in gimme_arg()
90 return ptrace(PTRACE_PEEKUSER, proc->pid, in gimme_arg()
Dregs.c31 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
32 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 64 /* REG_PC */ , 0); in get_instruction_pointer()
54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 30 /* REG_FP */ , 0); in get_stack_pointer()
60 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 26 /* RA */ , 0); in get_return_addr()
/external/ltrace/sysdeps/linux-gnu/mips/
Dregs.c34 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
35 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
55 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_pc, 0); in get_instruction_pointer()
80 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_sp, 0); in get_stack_pointer()
96 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_lr, 0); in get_return_addr()
Dtrace.c41 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
42 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
194 rx = ptrace(PTRACE_PEEKUSER,proc->pid, rn, 0); in mips_next_pcs()
331 return ptrace(PTRACE_PEEKUSER,proc->pid,off_v0,0); in gimme_arg()
334 unsigned a3=ptrace(PTRACE_PEEKUSER, proc->pid,off_a3,0); in gimme_arg()
335 unsigned v0=ptrace(PTRACE_PEEKUSER, proc->pid,off_v0,0); in gimme_arg()
345 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_fpr0+12+arg_num*2,0); in gimme_arg()
350 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_a0+arg_num,0); in gimme_arg()
355 addr=ptrace(PTRACE_PEEKUSER,proc->pid,off_sp,0); in gimme_arg()
367 addr=ptrace(PTRACE_PEEKUSER,proc->pid,off_sp,0); in gimme_arg()
/external/ltrace/sysdeps/linux-gnu/cris/
Dregs.c32 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
33 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_PPC, 0); in get_instruction_pointer()
52 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0); in get_stack_pointer()
57 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_SRP, 0); in get_return_addr()
Dtrace.c35 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
36 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
61 (int)ptrace(PTRACE_PEEKUSER, proc->pid, in syscall_p()
80 return ptrace(PTRACE_PEEKUSER, pid, PT_R10 * 4, 0); in gimme_arg()
87 return ptrace(PTRACE_PEEKUSER, pid, pt_arg[arg_num] * 4, 0); in gimme_arg()
/external/ltrace/sysdeps/linux-gnu/ppc/
Dregs.c35 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
36 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
46 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_NIP, 0); in get_instruction_pointer()
59 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_R1, 0); in get_stack_pointer()
65 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_LNK, 0); in get_return_addr()
Dtrace.c43 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
44 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
74 (int)ptrace(PTRACE_PEEKUSER, proc->pid, in syscall_p()
/external/ltrace/sysdeps/linux-gnu/ia64/
Dregs.c39 unsigned long ip = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0); in get_instruction_pointer()
41 (ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0) >> 41) & 3; in get_instruction_pointer()
52 unsigned long psr = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0); in set_instruction_pointer()
66 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_R12, 0); in get_stack_pointer()
75 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_B0, 0); in get_return_addr()
Dtrace.c77 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0); in syscall_p()
82 ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0); in syscall_p()
86 ptrace(PTRACE_PEEKUSER, proc->pid, PT_R15, 0); in syscall_p()
/external/ltrace/sysdeps/linux-gnu/m68k/
Dregs.c31 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
32 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_PC, 0); in get_instruction_pointer()
54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0); in get_stack_pointer()
Dtrace.c34 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
35 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
56 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_ORIG_D0, 0); in syscall_p()
/external/ltrace/sysdeps/linux-gnu/x86/
Dregs.c34 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
35 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
61 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, XIP, 0); in get_instruction_pointer()
78 long sp = ptrace(PTRACE_PEEKUSER, proc->pid, XSP, 0); in get_stack_pointer()
Dtrace.c37 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
38 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
86 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, ORIG_XAX, 0); in syscall_p()
/external/libunwind/src/ptrace/
D_UPT_access_reg.c65 nat_bits = ptrace (PTRACE_PEEKUSER, pid, PT_NAT_BITS, 0); in _UPT_access_reg()
105 psr = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IPSR, 0); 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()
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()
253 *val = ptrace (PTRACE_PEEKUSER, pid, (void*) (uintptr_t) _UPT_reg_offset[reg], 0); in _UPT_access_reg()
D_UPT_access_fpreg.c64 wp[i] = ptrace (PTRACE_PEEKUSER, pid, in _UPT_access_fpreg()
/external/ltrace/sysdeps/linux-gnu/arm/
Dregs.c34 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
35 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
46 long l = ptrace(PTRACE_PEEKUSER, proc->pid, (void *)(reg * 4L), 0); in arm_get_register()
56 return ptrace(PTRACE_PEEKUSER, proc->pid, in arm_set_register()
/external/strace/
Dprocess.c68 if (tcp->u_arg[0] == PTRACE_PEEKUSER in SYS_FUNC()
95 case PTRACE_PEEKUSER: in SYS_FUNC()
126 case PTRACE_PEEKUSER: in SYS_FUNC()
Dptrace.h167 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper.cc233 PTRACE_PEEKUSER, tid, in GetThreadInfoByIndex()
245 sys_ptrace(PTRACE_PEEKUSER, tid, in GetThreadInfoByIndex()
247 sys_ptrace(PTRACE_PEEKUSER, tid, in GetThreadInfoByIndex()
250 sys_ptrace(PTRACE_PEEKUSER, tid, in GetThreadInfoByIndex()
/external/strace/xlat/
Dptrace_cmds.h20 #if defined(PTRACE_PEEKUSER) || (defined(HAVE_DECL_PTRACE_PEEKUSER) && HAVE_DECL_PTRACE_PEEKUSER)
21 XLAT(PTRACE_PEEKUSER),
Dptrace_cmds.in4 PTRACE_PEEKUSER
/external/elfutils/backends/
Dppc_initreg.c88 user_regs.l[regno] = ptrace (PTRACE_PEEKUSER, tid, in ppc_set_initial_registers_tid()

12