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

Function DecreaseTotalMmap

runtime/sanitizer_common/sanitizer_common.cpp:196–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void DecreaseTotalMmap(uptr size) {
197 if (!common_flags()->mmap_limit_mb) return;
198 atomic_fetch_sub(&g_total_mmaped, size, memory_order_relaxed);
199}
200
201bool TemplateMatch(const char *templ, const char *str) {
202 if ((!str) || str[0] == 0)

Callers 5

ReserveShadowMemoryRangeFunction · 0.85
UnmapOrDieFunction · 0.85
UnmapOrDieFunction · 0.85
UnmapOrDieVmarFunction · 0.85
UnmapMethod · 0.85

Calls 2

common_flagsFunction · 0.85
atomic_fetch_subFunction · 0.70

Tested by

no test coverage detected