Searched refs:memPtr (Results 1 – 1 of 1) sorted by relevance
44 void* memPtr = mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in sysMapFD() local45 if (memPtr == MAP_FAILED) { in sysMapFD()50 pMap->addr = static_cast<unsigned char*>(memPtr); in sysMapFD()52 pMap->ranges.push_back({ memPtr, static_cast<size_t>(sb.st_size) }); in sysMapFD()