Searched refs:ptrace (Results 1 – 14 of 14) sorted by relevance
/bionic/tests/ |
D | sys_ptrace_test.cpp | 69 long result = ptrace(PTRACE_GETHBPREGS, child, 0, &capabilities); in check_hw_feature_supported() 93 long result = ptrace(PTRACE_GETREGSET, child, in check_hw_feature_supported() 121 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -1, &address)) << strerror(errno); in set_watchpoint() 122 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -2, &control)) << strerror(errno); in set_watchpoint() 133 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, child, NT_ARM_HW_WATCH, &iov)) << strerror(errno); in set_watchpoint() 136 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) << strerror(e… in set_watchpoint() 138 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); in set_watchpoint() 149 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errn… in set_watchpoint() 170 if (ptrace(PTRACE_TRACEME, 0, nullptr, nullptr) == -1) { in run_watchpoint_test() 193 ASSERT_EQ(0, ptrace(PTRACE_CONT, child, nullptr, nullptr)) << strerror(errno); in run_watchpoint_test() [all …]
|
/bionic/libc/bionic/ |
D | sys_thread_properties.cpp | 83 if (ptrace(PTRACE_GETREGSET, tid, NT_ARM_TLS, &pt_iov) == 0) { in __get_bionic_tcb_for_thread() 87 if (ptrace(PTRACE_GET_THREAD_AREA, tid, nullptr, &tp_reg) != 0) { in __get_bionic_tcb_for_thread() 94 if (ptrace(PTRACE_GETREGSET, tid, NT_PRSTATUS, &pt_iov) == 0) { in __get_bionic_tcb_for_thread() 97 if (ptrace(PTRACE_GET_THREAD_AREA, tid, u_info.entry_number, &u_info) == 0) { in __get_bionic_tcb_for_thread() 104 if (ptrace(PTRACE_GETREGSET, tid, NT_PRSTATUS, &pt_iov) == 0) { in __get_bionic_tcb_for_thread() 111 uintptr_t fs_base = ptrace(PTRACE_PEEKUSER, tid, offsetof(user_regs_struct, fs_base), nullptr); in __get_bionic_tcb_for_thread()
|
D | ptrace.cpp | 34 long ptrace(int req, ...) { in ptrace() function
|
/bionic/libc/include/sys/ |
D | ptrace.h | 62 long ptrace(int __op, ...);
|
/bionic/tests/libs/ |
D | tls_properties_helper.cpp | 105 assert(0 == ptrace(PTRACE_ATTACH, parent_pid)); in test_iterate_another_thread_tls()
|
/bionic/libc/kernel/uapi/linux/ |
D | cn_proc.h | 71 } ptrace; member
|
/bionic/libc/ |
D | SYSCALLS.TXT | 69 int __ptrace:ptrace(int request, int pid, void* addr, void* data) all
|
D | libc.map.txt | 830 ptrace;
|
D | Android.bp | 921 "bionic/ptrace.cpp",
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_095.S | 120 CALL(ptrace)
|
D | liblinker_reloc_bench_135.S | 502 CALL(ptrace)
|
D | liblinker_reloc_bench_164.S | 4010 CALL(ptrace)
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 830 ptrace;
|
/bionic/docs/ |
D | elf-tls.md | 440 There are ptrace interfaces for reading the thread pointer for each of arm32, arm64, x86, and x86-64
|