Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp295 static MallocFreeHook MFHooks[kMaxMallocFreeHooks]; variable
299 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks()
307 auto hook = MFHooks[i].free_hook; in RunFreeHooks()
317 if (MFHooks[i].malloc_hook == nullptr) { in InstallMallocFreeHooks()
318 MFHooks[i].malloc_hook = malloc_hook; in InstallMallocFreeHooks()
319 MFHooks[i].free_hook = free_hook; in InstallMallocFreeHooks()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc426 static MallocFreeHook MFHooks[kMaxMallocFreeHooks]; variable
430 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks()
438 auto hook = MFHooks[i].free_hook; in RunFreeHooks()
448 if (MFHooks[i].malloc_hook == nullptr) { in InstallMallocFreeHooks()
449 MFHooks[i].malloc_hook = malloc_hook; in InstallMallocFreeHooks()
450 MFHooks[i].free_hook = free_hook; in InstallMallocFreeHooks()