Searched refs:PTRACE_GETREGS (Results 1 - 25 of 28) sorted by relevance

12

/external/ltrace/sysdeps/linux-gnu/sparc/
H A Dptrace.h21 #undef PTRACE_GETREGS macro
H A Dtrace.c40 a->valid = (ptrace(PTRACE_GETREGS, proc->pid, &a->regs, 0) >= 0);
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dptrace.h45 #define PTRACE_GETREGS 12 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dptrace-abi.h61 #define PTRACE_GETREGS 12 macro
/external/strace/xlat/
H A Dptrace_cmds.h40 #if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS)
41 XLAT(PTRACE_GETREGS),
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dptrace.cc30 res = ptrace(PTRACE_GETREGS, pid, NULL, pregs);
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dptrace.cc23 res = ptrace(PTRACE_GETREGS, pid, NULL, &regs);
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dptrace.h15 #define PTRACE_GETREGS 12 macro
/external/ltrace/sysdeps/linux-gnu/ppc/
H A Dfetch.c79 /* When ltrace is 64-bit, we might use PTRACE_GETREGS to
91 if (ptrace(PTRACE_GETREGS, proc->pid, 0,
98 if (ptrace(PTRACE_GETREGS, proc->pid, 0,
/external/strace/
H A Dsyscall.c58 # undef PTRACE_GETREGS macro
59 # define PTRACE_GETREGS PTRACE_GETREGS64 macro
694 * PTRACE_GETREGS fills them too, so struct pt_regs would overflow.
977 * PTRACE_GETREGS was added to the PowerPC kernel in v2.6.23,
1052 /* PTRACE_GETREGS only */
1054 get_regs_error = ptrace(PTRACE_GETREGS, pid, NULL, &avr32_regs);
1056 get_regs_error = ptrace(PTRACE_GETREGS, pid, NULL, &tile_regs);
1058 get_regs_error = ptrace(PTRACE_GETREGS, pid, (char *)&sparc_regs, 0);
1063 get_regs_error = ptrace(PTRACE_GETREGS, pid, NULL, (long) &ppc_regs);
1070 /* try PTRACE_GETREGSET first, fallback to PTRACE_GETREGS */
[all...]
H A Dutil.c1253 # undef PTRACE_GETREGS macro
1254 # define PTRACE_GETREGS PTRACE_GETREGS64 macro
1262 (ptrace(PTRACE_GETREGS, (tcp)->pid, (char *) (state), 0))
H A Dsignal.c888 if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0) {
889 perror_msg("sigreturn: PTRACE_GETREGS");
901 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (long)regs) < 0) {
902 perror_msg("sigreturn: PTRACE_GETREGS");
H A Dprocess.c71 # undef PTRACE_GETREGS macro
72 # define PTRACE_GETREGS PTRACE_GETREGS64 macro
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dfetch.c79 if (ptrace(PTRACE_GETREGS, proc->pid, NULL, &context->regs) == -1)
H A Dtrace.c56 a->valid = (ptrace(PTRACE_GETREGS, proc->pid, 0, &a->regs) >= 0);
/external/ltrace/sysdeps/linux-gnu/m68k/
H A Dfetch.c49 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->regs) < 0)
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_linux_libcdep.cc53 // PTRACE_GETREGS can then be used to obtain their register state. The callback
445 if (internal_iserror(internal_ptrace(PTRACE_GETREGS, tid, NULL, &regs),
H A Dsanitizer_platform_limits_posix.cc287 int ptrace_getregs = PTRACE_GETREGS;
/external/libunwind/src/ptrace/
H A D_UPT_access_reg.c309 if (ptrace(PTRACE_GETREGS, pid, 0, (void*)&regs) == -1)
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dfetch.c70 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->regs) < 0)
/external/chromium_org/sandbox/linux/bpf_dsl/
H A Dbpf_dsl_more_unittest.cc2018 #ifndef PTRACE_GETREGS
2019 #define PTRACE_GETREGS 12 macro
2034 // PTRACE_GETREGS.
2138 BPF_ASSERT_NE(-1, ptrace(PTRACE_GETREGS, pid, NULL, &regs));
/external/ltrace/sysdeps/linux-gnu/x86/
H A Dfetch.c573 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->iregs) < 0)
/external/valgrind/main/coregrind/
H A Dvgdb-invoker-ptrace.c52 // Rather we use PTRACE_GETREGS or PTRACE_PEEKUSER.
523 // Note that some linux versions are defining PTRACE_GETREGS but using
526 // -1 : PTRACE_GETREGS is defined
528 // 0 : PTRACE_GETREGS runtime check has failed.
529 // 1 : PTRACE_GETREGS defined and runtime check ok.
582 // Fall over to the PTRACE_GETREGS or PTRACE_PEEKUSER case.
595 DEBUG(1, "getregs PTRACE_GETREGS\n");
596 res = ptrace (PTRACE_GETREGS, pid, NULL, regs);
599 // First call to PTRACE_GETREGS succesful =>
601 DEBUG(1, "detected a working PTRACE_GETREGS\
[all...]
/external/valgrind/main/memcheck/tests/x86-linux/
H A Dscalar.c152 SY(__NR_ptrace, x0+PTRACE_GETREGS, x0, x0, x0); FAIL;
/external/valgrind/main/memcheck/tests/darwin/
H A Dscalar.c743 SY(__NR_ptrace, x0+PTRACE_GETREGS, x0, x0, x0); FAIL;

Completed in 1494 milliseconds

12