/system/extras/tests/bionic/libc/common/ |
test_clone.c | 10 #include <sys/ptrace.h> 19 ptrace (PTRACE_TRACEME, 0, 0, 0); 21 perror ("ptrace");
|
/external/kernel-headers/original/linux/ |
ptrace.h | 3 /* ptrace.h */ 4 /* structs and defines to help the user use the ptrace system call. */ 49 #include <asm/ptrace.h> 53 * Ptrace flags 55 * The owner ship rules for task->ptrace which holds the ptrace 56 * flags is simple. When a task is running it owns it's task->ptrace 57 * flags. When the a task is stopped the ptracer owns task->ptrace. 104 if (unlikely(child->ptrace)) 109 if (unlikely(child->ptrace)) [all...] |
/system/core/debuggerd/ |
utility.c | 18 #include <sys/ptrace.h> 26 /* Get a word from pid using ptrace. The result is the return value. */ 29 return ptrace(PTRACE_PEEKTEXT, pid, src, NULL); 33 /* Handy routine to read aggregated data from pid using ptrace. The read 41 *(int *)(dst+i) = ptrace(PTRACE_PEEKTEXT, pid, src+i, NULL); 48 val = ptrace(PTRACE_PEEKTEXT, pid, src+i, NULL);
|
utility.h | 39 /* Get a word from pid using ptrace. The result is the return value. */ 42 /* Handy routine to read aggregated data from pid using ptrace. The read
|
debuggerd.c | 29 #include <sys/ptrace.h> 139 if(ptrace(PTRACE_GETREGS, pid, 0, &r)) return; 159 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL); 183 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL); 221 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL); 242 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL); 255 if(ptrace(PTRACE_GETREGS, pid, 0, &r)) { 273 if(ptrace(PTRACE_GETREGS, pid, 0, &r)) { 293 if(ptrace(PTRACE_GETVFPREGS, pid, 0, &vfp_regs)) { 326 if(ptrace(PTRACE_GETSIGINFO, pid, 0, &si)) [all...] |
/bionic/libc/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/ndk/build/platforms/android-3/arch-arm/usr/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/ndk/build/platforms/android-4/arch-arm/usr/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/ndk/build/platforms/android-5/arch-arm/usr/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/ndk/build/platforms/android-5/arch-x86/usr/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/ndk/build/platforms/android-8/arch-arm/usr/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/ndk/build/platforms/android-8/arch-x86/usr/include/sys/ |
ptrace.h | 34 #include <linux/ptrace.h> 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/external/strace/ |
util.c | 56 #include <linux/ptrace.h> 75 #include <linux/ptrace.h> 138 static _hack_syscall5(int,_ptrace,int,__request,int,__pid,int,__addr,int,__data,int,__addr2,ptrace) 647 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0); 654 perror("ptrace: umoven"); 663 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0); 670 perror("ptrace: umoven"); 693 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0); 703 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0); 717 if (ptrace(PTRACE_READDATA, pid [all...] |
PORTING | 10 ptrace system call and the PIOCSENTRY/PIOCSEXIT ioctl for the /proc 16 Therefore the first step is to try `man 2 ptrace' and `man 4 proc' to 28 If you have arrived here, your OS should have ptrace or proc or you 31 boredom. If the mechanism is neither ptrace nor proc then examine how
|
/bionic/libc/bionic/ |
ptrace.c | 29 #include <sys/ptrace.h>
33 long ptrace(int request, pid_t pid, void * addr, void * data)
function
|
/ndk/build/platforms/android-5/arch-x86/usr/lib/ |
libthread_db.so | |
/ndk/build/platforms/android-8/arch-x86/usr/lib/ |
libthread_db.so | |
/bionic/libthread_db/ |
libthread_db.c | 6 #include <sys/ptrace.h> 74 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL); 79 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
|
/bionic/libc/kernel/arch-arm/asm/ |
elf.h | 15 #include <asm/ptrace.h>
|
user.h | 16 #include <asm/ptrace.h>
|
/bionic/libc/kernel/arch-x86/asm/ |
elf.h | 15 #include <asm/ptrace.h>
|
ptrace.h | 16 #include <asm/ptrace-abi.h>
|
/bionic/libc/kernel/common/linux/ |
ptrace.h | 53 #include <asm/ptrace.h>
|
/external/kernel-headers/original/asm-x86/ |
ptrace-abi.h | 60 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
|
/ndk/build/platforms/android-3/arch-arm/usr/include/asm/ |
elf.h | 15 #include <asm/ptrace.h>
|