MCPcopy Create free account
hub / github.com/FastLED/FastLED / real_malloc

Function real_malloc

tests/profile/json_memory_profile.cpp:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149#else
150void* real_malloc(size_t size) {
151 static auto fn = (void* (*)(size_t))dlsym(RTLD_NEXT, "malloc");
152 return fn(size);
153}
154
155void* real_calloc(size_t n, size_t size) {
156 static auto fn = (void* (*)(size_t, size_t))dlsym(RTLD_NEXT, "calloc");

Callers 1

mallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected