Lines Matching refs:addr
111 unw_word_t name_ptr; // addr. of table name (e.g., library name)
117 all the rti addr is offset of the elf file
118 begin - page offset = elf file base addr in vaddr user space
283 int CallStack::AccessMem([[maybe_unused]] unw_addr_space_t as, unw_word_t addr,
290 if (addr + sizeof(unw_word_t) < addr) {
291 HLOGE("address overfolw at 0x%" UNW_WORD_PFLAG " increase 0x%zu", addr, sizeof(unw_word_t));
295 if (addr < unwindInfoPtr->callStack.stackPoint_ or
296 addr + sizeof(unw_word_t) >= unwindInfoPtr->callStack.stackEnd_) {
297 if (ReadVirtualThreadMemory(*unwindInfoPtr, addr, valuePoint)) {
298 HLOGM("access_mem addr get val 0x%" UNW_WORD_PFLAG ", from mmap", *valuePoint);
300 HLOGW("access_mem addr failed, from mmap, STACK RANGE 0x%" PRIx64 "- 0x%" PRIx64 "(0x%" PRIx64 ")",
306 size_t stackOffset = addr - unwindInfoPtr->callStack.stackPoint_;
308 HLOGM("access_mem addr %p val %" UNW_WORD_PFLAG ", from stack offset %zu",
309 reinterpret_cast<void *>(addr), *valuePoint, stackOffset);
372 int CallStack::getProcName([[maybe_unused]] unw_addr_space_t as, [[maybe_unused]] unw_word_t addr,
770 int CallStack::AccessMem2(uintptr_t addr, uintptr_t *val, void *arg)
776 CHECK_TRUE(unwindInfoPtr == nullptr || (addr + sizeof(uintptr_t) < addr), -1, 1,
778 addr, sizeof(uintptr_t));
780 if (addr < unwindInfoPtr->callStack.stackPoint_ or
781 addr + sizeof(uintptr_t) >= unwindInfoPtr->callStack.stackEnd_) {
782 if (ReadVirtualThreadMemory(*unwindInfoPtr, addr, val)) {
783 HLOGM("access_mem addr get val 0x%" UNW_WORD_PFLAG ", from mmap", *val);
786 (uint64_t)addr,
792 size_t stackOffset = addr - unwindInfoPtr->callStack.stackPoint_;
794 HLOGM("access_mem addr %p val %" UNW_WORD_PFLAG ", from stack offset %zu",
795 reinterpret_cast<void *>(addr), *val, stackOffset);