Searched refs:PTRACE_PEEKUSER (Results 1 - 25 of 30) sorted by relevance

12

/external/ltrace/sysdeps/linux-gnu/alpha/
H A 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);
54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 30 /* REG_FP */ , 0);
60 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 26 /* RA */ , 0);
H A 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);
78 return ptrace(PTRACE_PEEKUSER, proc->pid, 0 /* REG_R0 */ , 0);
83 return ptrace(PTRACE_PEEKUSER, proc->pid,
90 return ptrace(PTRACE_PEEKUSER, proc->pid,
/external/ltrace/sysdeps/linux-gnu/cris/
H A 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);
52 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0);
57 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_SRP, 0);
H A Dtrace.c35 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
36 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
61 (int)ptrace(PTRACE_PEEKUSER, proc->pid,
80 return ptrace(PTRACE_PEEKUSER, pid, PT_R10 * 4, 0);
87 return ptrace(PTRACE_PEEKUSER, pid, pt_arg[arg_num] * 4, 0);
/external/ltrace/sysdeps/linux-gnu/mips/
H A 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);
80 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_sp, 0);
96 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_lr, 0);
H A 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);
331 return ptrace(PTRACE_PEEKUSER,proc->pid,off_v0,0);
334 unsigned a3=ptrace(PTRACE_PEEKUSER, proc->pid,off_a3,0);
335 unsigned v0=ptrace(PTRACE_PEEKUSER, proc->pid,off_v0,0);
345 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_fpr0+12+arg_num*2,0);
350 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_a0+arg_num,0);
355 addr=ptrace(PTRACE_PEEKUSER,proc->pid,off_sp,0);
367 addr=ptrace(PTRACE_PEEKUSER,pro
[all...]
/external/ltrace/sysdeps/linux-gnu/m68k/
H A 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);
54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0);
H A 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);
/external/ltrace/sysdeps/linux-gnu/ppc/
H A 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);
59 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_R1, 0);
65 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_LNK, 0);
H A Dtrace.c43 #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
44 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
74 (int)ptrace(PTRACE_PEEKUSER, proc->pid,
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dregs.c39 unsigned long ip = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0);
41 (ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0) >> 41) & 3;
52 unsigned long psr = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0);
66 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_R12, 0);
75 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_B0, 0);
H A Dtrace.c77 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0);
82 ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0);
86 ptrace(PTRACE_PEEKUSER, proc->pid, PT_R15, 0);
/external/ltrace/sysdeps/linux-gnu/s390/
H A 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;
78 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR15, 0) & PSW_MASK;
90 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR14, 0) & PSW_MASK;
H A 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);
87 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR2, 0);
117 pc = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0);
133 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid,
138 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid,
153 tmp = ptrace(PTRACE_PEEKUSER, proc->pid,
163 scno = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR1, 0);
/external/ltrace/sysdeps/linux-gnu/x86/
H A 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);
78 long sp = ptrace(PTRACE_PEEKUSER, proc->pid, XSP, 0);
H A 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);
/external/strace/
H A Dprocess.c68 if (tcp->u_arg[0] == PTRACE_PEEKUSER
97 case PTRACE_PEEKUSER:
128 case PTRACE_PEEKUSER:
H A Dptrace.h129 # define PTRACE_PEEKUSER PTRACE_PEEKUSR macro
/external/ltrace/sysdeps/linux-gnu/arm/
H A 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);
56 return ptrace(PTRACE_PEEKUSER, proc->pid,
/external/libunwind/src/ptrace/
H A D_UPT_access_reg.c65 nat_bits = ptrace (PTRACE_PEEKUSER, pid, PT_NAT_BITS, 0);
105 psr = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IPSR, 0);
129 ip = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IIP, 0);
153 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0);
177 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0);
197 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0);
198 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0);
253 *val = ptrace (PTRACE_PEEKUSER, pid, (void*) (uintptr_t) _UPT_reg_offset[reg], 0);
H A D_UPT_access_fpreg.c64 wp[i] = ptrace (PTRACE_PEEKUSER, pid,
/external/elfutils/src/backends/
H A Dppc_initreg.c88 user_regs.l[regno] = ptrace (PTRACE_PEEKUSER, tid,
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_ptrace_dumper.cc233 PTRACE_PEEKUSER, tid,
245 sys_ptrace(PTRACE_PEEKUSER, tid,
247 sys_ptrace(PTRACE_PEEKUSER, tid,
250 sys_ptrace(PTRACE_PEEKUSER, tid,
/external/strace/xlat/
H A Dptrace_cmds.h13 #if defined(PTRACE_PEEKUSER) || (defined(HAVE_DECL_PTRACE_PEEKUSER) && HAVE_DECL_PTRACE_PEEKUSER)
14 XLAT(PTRACE_PEEKUSER),
/external/compiler-rt/test/msan/Linux/
H A Dsyscalls.cc84 __sanitizer_syscall_post_ptrace(0, PTRACE_PEEKUSER, kFortyTwo, 0xABCD, buf);

Completed in 560 milliseconds

12