Lines Matching refs:addr
33 static bool PtraceRead(pid_t tid, uint64_t addr, word_t* out_value) { in PtraceRead() argument
37 *out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr); in PtraceRead()
64 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { in Read() argument
70 FillInMap(addr, &map); in Read()
75 bytes = MIN(map.end - addr, bytes); in Read()
78 size_t align_bytes = addr & (sizeof(word_t) - 1); in Read()
80 if (!PtraceRead(Tid(), addr & ~(sizeof(word_t) - 1), &data_word)) { in Read()
85 addr += copy_bytes; in Read()
93 if (!PtraceRead(Tid(), addr, &data_word)) { in Read()
98 addr += sizeof(word_t); in Read()
104 if (!PtraceRead(Tid(), addr, &data_word)) { in Read()