Lines Matching defs:ptr
452 uint64_t ptr = noteAddr;
458 ptr = noteAddr + offset;
459 if (memcpy_s(&nhdr, sizeof(nhdr), reinterpret_cast<void*>(ptr), sizeof(nhdr)) != 0) {
469 ptr = noteAddr + offset;
470 if (memcpy_s(&(name[0]), nhdr.n_namesz, reinterpret_cast<void*>(ptr), nhdr.n_namesz) != 0) {
488 ptr = noteAddr + offset;
489 if (memcpy_s(&buildIdRaw[0], nhdr.n_descsz, reinterpret_cast<void*>(ptr), nhdr.n_descsz) != 0) {
686 uintptr_t ptr = (uintptr_t)(&(hdr->ehFrame));
688 (uint64_t)hdr, (uint64_t)ptr);
695 MAYBE_UNUSED uintptr_t ehFrameStart = memory->ReadEncodedValue(ptr, hdr->ehFramePtrEnc);
696 uintptr_t fdeCount = memory->ReadEncodedValue(ptr, hdr->fdeCountEnc);
715 uti->tableData = ptr;
734 uintptr_t ptr = (uintptr_t)(&(hdr->ehFrame));
736 (uint64_t)hdr, (uint64_t)ptr);
742 auto ptrOffset = ptr - reinterpret_cast<uintptr_t>(GetMmapPtr());
747 ptr = reinterpret_cast<uintptr_t>(GetMmapPtr()) + ptrOffset;
765 uti->tableData = shdrBase + ptr - (uintptr_t)hdr;
992 bool DfxElf::IsValidElf(const void* ptr, size_t size)
994 if (ptr == nullptr) {
998 if (memcmp(ptr, ELFMAG, size) != 0) {
1005 size_t DfxElf::GetElfSize(const void* ptr)
1007 if (!IsValidElf(ptr, SELFMAG)) {
1011 const uint8_t* data = static_cast<const uint8_t*>(ptr);