Home
last modified time | relevance | path

Searched refs:ptrace (Results 1 – 14 of 14) sorted by relevance

/bionic/tests/
Dsys_ptrace_test.cpp69 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/
Dsys_thread_properties.cpp83 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()
Dptrace.cpp34 long ptrace(int req, ...) { in ptrace() function
/bionic/libc/include/sys/
Dptrace.h62 long ptrace(int __op, ...);
/bionic/tests/libs/
Dtls_properties_helper.cpp105 assert(0 == ptrace(PTRACE_ATTACH, parent_pid)); in test_iterate_another_thread_tls()
/bionic/libc/kernel/uapi/linux/
Dcn_proc.h71 } ptrace; member
/bionic/libc/
DSYSCALLS.TXT69 int __ptrace:ptrace(int request, int pid, void* addr, void* data) all
Dlibc.map.txt830 ptrace;
DAndroid.bp921 "bionic/ptrace.cpp",
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_095.S120 CALL(ptrace)
Dliblinker_reloc_bench_135.S502 CALL(ptrace)
Dliblinker_reloc_bench_164.S4010 CALL(ptrace)
/bionic/tools/versioner/platforms/
Dlibc.map.txt830 ptrace;
/bionic/docs/
Delf-tls.md440 There are ptrace interfaces for reading the thread pointer for each of arm32, arm64, x86, and x86-64