/external/ltrace/sysdeps/linux-gnu/cris/ |
trace.c | 28 #include <sys/ptrace.h> 29 #include <asm/ptrace.h> 56 (int)ptrace(PTRACE_PEEKTEXT, proc->pid, pc - sizeof(long), 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); 89 return ptrace(PTRACE_PEEKDATA, pid,
|
/external/ltrace/sysdeps/linux-gnu/metag/ |
regs.c | 24 #include <sys/ptrace.h> 26 #include <asm/ptrace.h> 39 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov)) 53 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov)) 60 ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, (long)&iov); 71 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov)) 85 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
|
/external/libunwind/src/ptrace/ |
_UPT_internal.h | 37 #include <sys/ptrace.h> 44 #include <libunwind-ptrace.h>
|
_UPT_access_reg.c | 59 /* The Linux ptrace represents the statc NaT bits as a single word. */ 65 nat_bits = ptrace (PTRACE_PEEKUSER, pid, PT_NAT_BITS, 0); 80 ptrace (PTRACE_POKEUSER, pid, PT_NAT_BITS, nat_bits); 105 psr = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IPSR, 0); 117 ptrace (PTRACE_POKEUSER, pid, PT_CR_IIP, ip); 118 ptrace (PTRACE_POKEUSER, pid, PT_CR_IPSR, psr); 129 ip = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IIP, 0); 150 /* Account for the fact that ptrace() expects bsp to point 153 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0); 166 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp) [all...] |
_UPT_access_mem.c | 48 ptrace (PTRACE_POKEDATA, pid, (void*) (uintptr_t) addr, (void*) (uintptr_t) *val); 64 reg1 = ptrace (PTRACE_PEEKDATA, pid, (void*) (uintptr_t) addr, 0); 67 reg2 = ptrace (PTRACE_PEEKDATA, pid, (void*) (uintptr_t) (addr + sizeof(long)), 0); 73 *val = ptrace (PTRACE_PEEKDATA, pid, (void*) addr, 0); 100 if (ptrace(PT_IO, pid, (caddr_t)&iod, 0) == -1)
|
_UPT_access_fpreg.c | 50 ptrace (PTRACE_POKEUSER, pid, (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), 64 wp[i] = ptrace (PTRACE_PEEKUSER, pid, 85 if (ptrace(PT_GETFPREGS, pid, (caddr_t)&fpreg, 0) == -1) 95 if (ptrace(PT_SETFPREGS, pid, (caddr_t)&fpreg, 0) == -1)
|
/external/ltrace/sysdeps/linux-gnu/s390/ |
regs.c | 28 #include <sys/ptrace.h> 29 #include <asm/ptrace.h> 52 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0) & PSW_MASK; 72 ptrace(PTRACE_POKEUSER, proc->pid, PT_PSWADDR, addr); 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;
|
trace.c | 24 #include <asm/ptrace.h> 25 #include <sys/ptrace.h> 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); 118 opcode = ptrace(PTRACE_PEEKTEXT, proc->pid, 133 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid, 138 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid, 141 scno = ptrace(PTRACE_PEEKTEXT, proc->pid, svc_addr, 0); 153 tmp = ptrace(PTRACE_PEEKUSER, proc->pid [all...] |
/external/strace/ |
ptrace.h | 37 # define ptrace xptrace macro 38 # include <sys/ptrace.h> 39 # undef ptrace macro 40 extern long ptrace(int, int, char *, long); 42 # include <sys/ptrace.h> 55 #include <linux/ptrace.h>
|
/external/elfutils/backends/ |
sparc_initreg.c | 36 # include <asm/ptrace.h> 37 # include <sys/ptrace.h> 60 if (ptrace (PTRACE_GETREGS, tid, ®s, 0) == -1) 94 locals_outs[i] = ptrace (PTRACE_PEEKDATA, tid, 107 Dwarf_Word tuple = ptrace (PTRACE_PEEKDATA, tid,
|
arm_initreg.c | 36 # include <sys/ptrace.h> 42 # include <sys/ptrace.h> 62 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) 78 if (ptrace (PTRACE_GETREGSET, tid, NT_PRSTATUS, &iovec) != 0)
|
/external/ltrace/sysdeps/linux-gnu/m68k/ |
trace.c | 28 #include <sys/ptrace.h> 29 #include <asm/ptrace.h> 56 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_ORIG_D0, 0);
|
/external/ltrace/sysdeps/linux-gnu/ia64/ |
trace.c | 30 #include <sys/ptrace.h> 40 /* What we think of as a bundle, ptrace thinks of it as two unsigned 77 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); 98 bundle.code[0] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0); 99 bundle.code[1] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip + 8, 0);
|
plt.c | 27 #include <sys/ptrace.h> 81 unsigned long l = ptrace(PTRACE_PEEKTEXT, proc->pid, addr, 0);
|
/bionic/libc/bionic/ |
ptrace.cpp | 30 #include <sys/ptrace.h> 34 long ptrace(int req, ...) { function
|
/bionic/libc/include/sys/ |
ptrace.h | 33 #include <linux/ptrace.h> 61 long ptrace(int, ...);
|
/external/ltrace/sysdeps/linux-gnu/mips/ |
trace.c | 30 #include <sys/ptrace.h> 31 #include <asm/ptrace.h> 80 It seems that the ptrace call trips twice on a system call, once 97 int insn = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 4, 0); 98 int num = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 8, 0); 154 inst = ptrace(PTRACE_PEEKTEXT, proc->pid, pc, 0); 194 rx = ptrace(PTRACE_PEEKUSER,proc->pid, rn, 0); 290 ptrace(PTRACE_SYSCALL, proc->pid, 0, 0); 331 return ptrace(PTRACE_PEEKUSER,proc->pid,off_v0,0); 334 unsigned a3=ptrace(PTRACE_PEEKUSER, proc->pid,off_a3,0) [all...] |
/external/strace/linux/crisv10/ |
arch_sigreturn.c | 6 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (long)regs) < 0) {
|
/external/strace/linux/sparc64/ |
get_scno.c | 8 trap = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)sparc_regs.tpc, 0);
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
regs.c | 21 #include <sys/ptrace.h> 22 #include <asm/ptrace.h> 40 return ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, &iovec) < 0 50 return ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, &iovec) < 0 61 return ptrace(PTRACE_GETREGSET, proc->pid, NT_FPREGSET, &iovec) < 0
|
/external/ltrace/sysdeps/linux-gnu/x86/ |
regs.c | 25 #include <sys/ptrace.h> 61 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, XIP, 0); 72 ptrace(PTRACE_POKEUSER, proc->pid, XIP, addr); 78 long sp = ptrace(PTRACE_PEEKUSER, proc->pid, XSP, 0); 96 long a = ptrace(PTRACE_PEEKTEXT, proc->pid, sp, 0);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
ptrace.cc | 10 #include <sys/ptrace.h> 18 # include <asm/ptrace.h> 55 # include <asm/ptrace.h> 69 ptrace(PTRACE_TRACEME, 0, NULL, NULL); 93 res = ptrace((enum __ptrace_request)__PTRACE_REQUEST, pid, __PTRACE_ARGS); 95 // CHECK: {{.*ptrace.cc:}}[[@LINE-2]] 105 res = ptrace((enum __ptrace_request)PTRACE_GETREGSET, pid, (void*)NT_FPREGSET, 110 res = ptrace((enum __ptrace_request)__PTRACE_FPREQUEST, pid, __PTRACE_FPARGS); 116 res = ptrace(PTRACE_GETFPXREGS, pid, NULL, &fpxregs); 121 ptrace(PTRACE_CONT, pid, NULL, NULL) [all...] |
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
elf.h | 21 #include <asm/ptrace.h>
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/asm/ |
elf.h | 21 #include <asm/ptrace.h>
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/asm/ |
elf.h | 21 #include <asm/ptrace.h>
|