Home
last modified time | relevance | path

Searched refs:PTRACE_GETREGS (Results 1 – 25 of 41) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace06.c94 #ifdef PTRACE_GETREGS
96 PTRACE_GETREGS,.data = 0}, {
97 PTRACE_GETREGS,.data = 1}, {
98 PTRACE_GETREGS,.data = 2}, {
99 PTRACE_GETREGS,.data = 3}, {
100 PTRACE_GETREGS,.data = -1}, {
101 PTRACE_GETREGS,.data = -2}, {
102 PTRACE_GETREGS,.data = -3}, {
103 PTRACE_GETREGS,.data = -4},
Dspawn_ptrace_child.h34 if (request == PTRACE_GETREGS || request == PTRACE_SETREGS) { \
112 #ifdef PTRACE_GETREGS
Dsimple_tracer.c127 ret = vptrace(PTRACE_GETREGS, pid, NULL, &pt_regs); in main()
Dptrace04.c60 ret = ptrace(PTRACE_GETREGS, pid, NULL, &_pt_regs); in compare_registers()
/external/linux-kselftest/tools/testing/selftests/x86/
Dptrace_syscall.c205 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
236 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
268 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
326 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
348 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
386 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dptrace.cc34 res = ptrace(PTRACE_GETREGS, pid, NULL, &regs); in main()
48 res = ptrace((enum __ptrace_request)PTRACE_GETREGS, pid, NULL, &regs); in main()
/external/strace/linux/crisv10/
Darch_sigreturn.c6 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, regs) < 0) { in arch_sigreturn()
/external/strace/linux/x86_64/
Dgetregs_old.c37 long r = ptrace(PTRACE_GETREGS, pid, NULL, &x86_64_regs); in getregs_old()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dptrace-abi.h67 #define PTRACE_GETREGS 12 macro
/external/kernel-headers/original/uapi/asm-mips/asm/
Dptrace.h50 #define PTRACE_GETREGS 12 macro
/external/elfutils/backends/
Darm_initreg.c62 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in arm_set_initial_registers_tid()
Dx86_64_initreg.c51 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in x86_64_set_initial_registers_tid()
Di386_initreg.c51 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in i386_set_initial_registers_tid()
Dsparc_initreg.c60 if (ptrace (PTRACE_GETREGS, tid, &regs, 0) == -1) in EBLHOOK()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper.cc85 if (sys_ptrace(PTRACE_GETREGS, pid, NULL, &regs) == -1 || in SuspendThread()
205 if (sys_ptrace(PTRACE_GETREGS, tid, NULL, &info->regs) == -1) { in GetThreadInfoByIndex()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dptrace.h15 #define PTRACE_GETREGS 12 macro
/external/strace/xlat/
Dptrace_cmds.in14 PTRACE_GETREGS
Dptrace_cmds.h50 #if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS)
51 XLAT(PTRACE_GETREGS),
/external/elfutils/tests/
Dbacktrace-data.c175 long l = ptrace (PTRACE_GETREGS, child, NULL, &user_regs); in set_initial_registers()
307 long l = ptrace (PTRACE_GETREGS, child, NULL, &user_regs); in main()
/external/strace/
DREADME22 Older versions without a decent PTRACE_GETREGS support will not work.
Dsyscall.c50 # undef PTRACE_GETREGS
51 # define PTRACE_GETREGS PTRACE_GETREGS64 macro
1152 return ptrace(PTRACE_GETREGS, pid, (void *) &ARCH_REGS_FOR_GETREGS, 0); in ptrace_getregs()
1154 return ptrace(PTRACE_GETREGS, pid, NULL, &ARCH_REGS_FOR_GETREGS); in ptrace_getregs()
Dprocess.c160 case PTRACE_GETREGS: in SYS_FUNC()
/external/compiler-rt/test/asan/TestCases/Linux/
Dptrace.cc97 # define __PTRACE_REQUEST PTRACE_GETREGS in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace.h392 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in show_gpr()
417 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in write_gpr()
/external/libunwind/src/ptrace/
D_UPT_access_reg.c309 if (ptrace(PTRACE_GETREGS, pid, 0, (void*)&regs) == -1) in _UPT_access_reg()

12