Home
last modified time | relevance | path

Searched refs:tmpAddr (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp59 uintptr_t tmpAddr = addr; in Read() local
61 if (val == nullptr || __builtin_add_overflow(tmpAddr, size, &maxSize)) { in Read()
68 size_t alignBytes = tmpAddr & (static_cast<size_t>(alignBytes_) - 1); in Read()
70 uintptr_t alignedAddr = tmpAddr & (~(static_cast<uintptr_t>(alignBytes_)) - 1); in Read()
81 tmpAddr += copyBytes; in Read()
88 if (!ReadMem(tmpAddr, &tmpVal) || memcpy_s(val, sizeof(uintptr_t), &tmpVal, sizeof(uintptr_t)) != 0) { in Read()
92 tmpAddr += sizeof(uintptr_t); in Read()
97 if (!ReadMem(tmpAddr, &tmpVal) || memcpy_s(val, leftOver, &tmpVal, leftOver) != 0) { in Read()
100 tmpAddr += leftOver; in Read()
104 addr = tmpAddr; in Read()
[all...]
H A Ddfx_accessors.cpp193 uintptr_t tmpAddr = ((i == 0) ? addr : addr + FOUR_BYTES); in AccessMem() local
196 tmpVal = (unsigned long) ptrace(PTRACE_PEEKDATA, ctx->pid, tmpAddr, nullptr); in AccessMem()
/base/security/code_signature/interfaces/innerkits/jit_code_sign/src/
H A Dpac_sign_ctx.cpp70 int tmpAddr = 0; in InitSalt() local
73 reinterpret_cast<uintptr_t>(&tmpAddr)); in InitSalt()

Completed in 2 milliseconds