MCPcopy Create free account
hub / github.com/R-Fuzz/symsan / GetMmapGranularity

Function GetMmapGranularity

runtime/interception/interception_win.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static uptr GetMmapGranularity() {
163 SYSTEM_INFO si;
164 GetSystemInfo(&si);
165 return si.dwAllocationGranularity;
166}
167
168UNUSED static uptr RoundUpTo(uptr size, uptr boundary) {
169 return (size + boundary - 1) & ~(boundary - 1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected