Home
last modified time | relevance | path

Searched refs:realMalloc (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-39665/
Dpoc.cpp32 static void *(*realMalloc)(size_t) = nullptr; variable
35 if (!realMalloc) { in malloc()
36 realMalloc = (void *(*)(size_t))dlsym(RTLD_NEXT, "malloc"); in malloc()
37 if (!realMalloc) { in malloc()
47 return realMalloc(size); in malloc()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2182/
Dpoc.cpp90 void* (*realMalloc)(size_t) = nullptr; variable
93 realMalloc = (void *(*)(size_t))dlsym(RTLD_NEXT, "malloc"); in mtraceInit()
98 if (realMalloc == nullptr) { in malloc()
102 return realMalloc(size); in malloc()
110 return realMalloc(size); in malloc()