Home
last modified time | relevance | path

Searched refs:tmpAddr (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_memory.cpp55 uintptr_t tmpAddr = addr; in Read() local
57 if (val == nullptr || __builtin_add_overflow(tmpAddr, size, &maxSize)) { in Read()
64 size_t alignBytes = tmpAddr & (static_cast<size_t>(alignBytes_) - 1); in Read()
66 uintptr_t alignedAddr = tmpAddr & (~(static_cast<uintptr_t>(alignBytes_)) - 1); in Read()
76 tmpAddr += copyBytes; in Read()
83 …if (!ReadMem(tmpAddr, &tmpVal) || memcpy_s(val, sizeof(uintptr_t), &tmpVal, sizeof(uintptr_t)) != … in Read()
87 tmpAddr += sizeof(uintptr_t); in Read()
92 if (!ReadMem(tmpAddr, &tmpVal) || memcpy_s(val, leftOver, &tmpVal, leftOver) != 0) { in Read()
95 tmpAddr += leftOver; in Read()
99 addr = tmpAddr; in Read()
Ddfx_accessors.cpp114 uintptr_t tmpAddr = ((i == 0) ? addr : addr + FOUR_BYTES); in AccessMem() local
117 tmpVal = (unsigned long) ptrace(PTRACE_PEEKDATA, ctx->pid, tmpAddr, nullptr); in AccessMem()