Searched refs:memPtr (Results 1 – 1 of 1) sorted by relevance
112 void* memPtr = mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in MapFD() local113 if (memPtr == MAP_FAILED) { in MapFD()118 addr = static_cast<unsigned char*>(memPtr); in MapFD()121 ranges_.emplace_back(MappedRange{ memPtr, static_cast<size_t>(sb.st_size) }); in MapFD()