Searched refs:ptrace (Results 1 - 25 of 161) sorted by relevance

1234567

/external/libunwind/tests/
H A Drun-ptrace-misc2 ./test-ptrace -c -t ./test-ptrace-misc
H A Drun-ia64-test-dyn12 ./test-ptrace -t ./ia64-test-dyn1
H A Drun-ptrace-mapper2 ./test-ptrace -c -n -t ./mapper $*
/external/ltrace/sysdeps/linux-gnu/aarch64/
H A Dptrace.h21 #include <sys/ptrace.h>
22 #include <asm/ptrace.h>
/external/ltrace/sysdeps/linux-gnu/alpha/
H A Dptrace.h21 #include <sys/ptrace.h>
H A Dregs.c25 #include <sys/ptrace.h>
26 #include <asm/ptrace.h>
42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 64 /* REG_PC */ , 0);
48 ptrace(PTRACE_POKEUSER, proc->pid, 64 /* REG_PC */ , addr);
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.c27 #include <sys/ptrace.h>
28 #include <asm/ptrace.h>
55 long x = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0);
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,
86 return ptrace(PTRACE_PEEKTEXT, proc->pid,
90 return ptrace(PTRACE_PEEKUSER, proc->pid,
/external/ltrace/sysdeps/linux-gnu/cris/
H A Dptrace.h21 #include <sys/ptrace.h>
H A Dregs.c26 #include <sys/ptrace.h>
27 #include <asm/ptrace.h>
42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_PPC, 0);
47 ptrace(PTRACE_POKEUSER, proc->pid, 4 * PT_PPC, addr);
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.c28 #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/ia64/
H A Dptrace.h21 #include <sys/ptrace.h>
H A Dregs.c26 #include <sys/ptrace.h>
39 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);
59 ptrace(PTRACE_POKEUSER, proc->pid, PT_CR_IIP, (long)newip);
60 ptrace(PTRACE_POKEUSER, proc->pid, PT_CR_IPSR, psr);
66 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_R12, 0);
75 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_B0, 0);
/external/ltrace/sysdeps/linux-gnu/m68k/
H A Dptrace.h21 #include <sys/ptrace.h>
H A Dregs.c25 #include <sys/ptrace.h>
26 #include <asm/ptrace.h>
42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_PC, 0);
48 ptrace(PTRACE_POKEUSER, proc->pid, 4 * PT_PC, addr);
54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0);
60 return (void *)ptrace(PTRACE_PEEKTEXT, proc->pid, stack_pointer, 0);
/external/ltrace/sysdeps/linux-gnu/metag/
H A Dptrace.h21 #include <sys/ptrace.h>
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dptrace.h21 #include <sys/ptrace.h>
H A Dregs.c27 #include <sys/ptrace.h>
28 #include <asm/ptrace.h>
55 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_pc, 0);
64 \todo Our mips kernel ptrace doesn't support PTRACE_SINGLESTEP, so
70 ptrace(PTRACE_POKEUSER, proc->pid, off_pc, addr);
80 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_sp, 0);
96 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_lr, 0);
/external/ltrace/sysdeps/linux-gnu/ppc/
H A Dptrace.h21 #include <sys/ptrace.h>
H A Dregs.c27 #include <sys/ptrace.h>
28 #include <asm/ptrace.h>
46 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_NIP, 0);
52 if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 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);
/external/ltrace/sysdeps/linux-gnu/s390/
H A Dptrace.h21 #include <sys/ptrace.h>
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dptrace.h21 #include <sys/ptrace.h>
22 #include <asm/ptrace.h>
/external/ltrace/sysdeps/linux-gnu/x86/
H A Dptrace.h20 #include <sys/ptrace.h>
/external/libunwind/src/ptrace/
H A D_UPT_resume.c36 return ptrace (PTRACE_CONT, ui->pid, 0, 0);
38 return ptrace(PT_CONTINUE, ui->pid, (caddr_t)1, 0);
/external/ltrace/sysdeps/linux-gnu/sparc/
H A Dptrace.h25 #include <sys/ptrace.h>
34 #include <asm/ptrace.h>
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dptrace.cc6 #include <sys/ptrace.h>
14 #include <asm/ptrace.h>
18 // GLIBC 2.20+ sys/user does not include asm/ptrace.h
19 #include <asm/ptrace.h>
26 ptrace(PTRACE_TRACEME, 0, NULL, NULL);
34 res = ptrace(PTRACE_GETREGS, pid, NULL, &regs);
40 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs);
48 res = ptrace((enum __ptrace_request)PTRACE_GETREGS, pid, NULL, &regs);
62 res = ptrace((enum __ptrace_request)PTRACE_GETFPREGS, pid, NULL, &fpregs);
68 res = ptrace((enu
[all...]

Completed in 177 milliseconds

1234567