/external/valgrind/main/coregrind/ |
D | m_debugger.c | 69 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, ®s); in ptrace_setregs() 107 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, ®s); in ptrace_setregs() 112 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R0 * 4), (void*)vex->guest_GPR0); in ptrace_setregs() 113 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R1 * 4), (void*)vex->guest_GPR1); in ptrace_setregs() 114 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R2 * 4), (void*)vex->guest_GPR2); in ptrace_setregs() 115 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R3 * 4), (void*)vex->guest_GPR3); in ptrace_setregs() 116 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R4 * 4), (void*)vex->guest_GPR4); in ptrace_setregs() 117 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R5 * 4), (void*)vex->guest_GPR5); in ptrace_setregs() 118 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R6 * 4), (void*)vex->guest_GPR6); in ptrace_setregs() 119 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R7 * 4), (void*)vex->guest_GPR7); in ptrace_setregs() [all …]
|
D | pub_core_libcproc.h | 80 extern Int VG_(ptrace)( Int request, Int pid, void *addr, void *data );
|
D | m_libcproc.c | 567 Int VG_(ptrace) ( Int request, Int pid, void *addr, void *data ) in VG_() argument
|
D | m_vkiscnums.c | 771 XXX(ptrace) in VG_()
|
/external/strace/ |
D | util.c | 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); 663 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0); 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, 798 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *)addr, 0); 816 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *)addr, 0); 860 if (ptrace(cmd, pid, (char *)addr, n, laddr) < 0) { 889 u.val = ptrace(peek, pid, (char *) addr, 0); [all …]
|
D | syscall.c | 843 opcode = ptrace(PTRACE_PEEKTEXT, pid, (char *)(pc-sizeof(long)), 0); 884 scno = ptrace(PTRACE_PEEKTEXT, pid, svc_addr, 0); 954 call = ptrace(PTRACE_PEEKTEXT,pid,(char *)rip,0); 1009 if (ptrace(PTRACE_GETREGS, pid, NULL, (void *)®s) == -1) 1037 scno = ptrace(PTRACE_PEEKTEXT, pid, (void *)(regs.ARM_pc - 4), NULL); 1131 if (ptrace(PTRACE_GETREGS,pid,(char *)®s,0) < 0) 1138 trap = ptrace(PTRACE_PEEKTEXT,pid,(char *)regs.r_pc,0); 1704 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0) 1709 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(EAX * 4), eax) < 0) 1714 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(RAX * 8), rax) < 0) [all …]
|
D | process.c | 638 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(ORIG_EAX * 4), new) < 0) 643 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(ORIG_RAX * 8), new) < 0) 647 if (ptrace(PTRACE_POKEUSER, tcp->pid, 653 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GPR2), new)<0) 657 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_ORIG_D0), new)<0) 662 if (ptrace(PTRACE_GETREGS, tcp->pid, (char*)®s, 0)<0) 665 if (ptrace(PTRACE_SETREGS, tcp->pid, (char*)®s, 0)<0) 669 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_V0), new)<0) 673 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), new)<0) 686 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_R1), new)<0) [all …]
|
D | strace.c | 438 if (ptrace(PTRACE_ATTACH, tid, 480 if (ptrace(PTRACE_ATTACH, tcp->pid, (char *) 1, 0) < 0) { 578 if (ptrace(PTRACE_TRACEME, 0, (char *) 1, 0) < 0) { 1198 if (ptrace(PTRACE_SYSCALL, tcp->pid, (char *) 1, 0) < 0) { 1235 if ((error = ptrace(PTRACE_DETACH, tcp->pid, (char *) 1, sig)) == 0) { 1285 if ((error = ptrace(PTRACE_DETACH, 1293 if ((error = ptrace(PTRACE_CONT, tcp->pid, (char *) 1, 1309 if ((error = ptrace(PTRACE_DETACH, tcp->pid, (char *) 1, sig)) < 0) 1973 ptrace(PTRACE_KILL, leader->pid, 0, 0); 1985 else if (ptrace(PTRACE_CONT, tcp->pid, (char *) 1, sig) < 0) { [all …]
|
D | defs.h | 127 #define ptrace xptrace macro 129 #undef ptrace 137 extern long ptrace(int, int, char *, long); 139 extern int ptrace(int, int, char *, int, ...); 142 extern int ptrace();
|
D | 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
|
D | configure.ac | 195 …ihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/… 215 [#include <sys/ptrace.h>])
|
D | arm-eabi.patch | 20 + if (ptrace (PTRACE_SET_SYSCALL, tcp->pid, 0, new) != 0)
|
D | ChangeLog | 740 * util.c: Conditionalize ptrace defines on LINUXSPARC 753 * signal.c: Conditionalize ptrace defines on SPARC and 760 * syscall.c: Conditionalize ptrace defines on SPARC and 773 * process.c: Conditionalize ptrace defines on SPARC and 965 and `struct ia64_fpreg' in <sys/ptrace.h>. 967 <sys/ptrace.h> and <linux/ptrace.h> for defining those types. 1516 * process.c: Reorder includes to put sys/reg.h before linux/ptrace.h, 1605 * process.c: Use <linux/ptrace.h> regardless of <sys/reg.h>. 1914 not defined, since <asm/ptrace.h> defines it only #ifdef __KERNEL__. 2657 * util.c: Don't include <linux/ptrace.h> for glibc 2.1 and up. [all …]
|
D | config.h.in | 74 /* Define to 1 if you have the <linux/ptrace.h> header file. */ 259 /* Define to 1 if you have the <sys/ptrace.h> header file. */
|
D | signal.c | 1233 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)®s) == -1) 1400 if(ptrace(PTRACE_GETREGS, tcp->pid, (char *)®s, 0) < 0) {
|
D | config.log | 3154 configure:6794: checking sys/ptrace.h usability 3163 configure:6839: checking sys/ptrace.h presence 3167 configure:6910: checking for sys/ptrace.h 3184 configure:6794: checking linux/ptrace.h usability 3193 configure:6839: checking linux/ptrace.h presence 3197 configure:6910: checking for linux/ptrace.h 4929 | #include <sys/ptrace.h> 5015 | #include <sys/ptrace.h>
|
/external/kernel-headers/original/linux/ |
D | ptrace.h | 104 if (unlikely(child->ptrace)) in ptrace_link() 109 if (unlikely(child->ptrace)) in ptrace_unlink()
|
D | sched.h | 772 unsigned long ptrace; member
|
/external/kernel-headers/original/asm-x86/ |
D | signal.h | 250 if (current->ptrace & PT_DTRACE) { \ 251 current->ptrace &= ~PT_DTRACE; \
|
/external/oprofile/module/ |
D | compat24.h | 32 #define PTRACE_OFF(t) ((t)->ptrace &= ~PT_DTRACE)
|
D | compat22.h | 134 #define PTRACE_OFF(t) ((t)->ptrace &= ~PT_DTRACE)
|
/external/valgrind/main/ |
D | darwin9-drd.supp | 146 drd:darwin-ptrace 148 fun:ptrace
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | priv_syswrap-darwin.h | 85 DECL_TEMPLATE(darwin, ptrace); // 26
|
/external/valgrind/main/docs/internals/ |
D | 3_2_BUGSTATUS.txt | 158 r6630 pending n-i-bz add additional ptrace reason codes 249 r6630 pending ?? ptrace extra reason codes
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 266 Syscall param ptrace(request) contains uninitialised byte(s) 269 Syscall param ptrace(pid) contains uninitialised byte(s) 272 Syscall param ptrace(addr) contains uninitialised byte(s) 275 Syscall param ptrace(data) contains uninitialised byte(s) 278 Syscall param ptrace(getregs) points to unaddressable byte(s)
|