Home
last modified time | relevance | path

Searched refs:malloc_hook (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc422 void (*malloc_hook)(const void *, uptr); member
430 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks()
444 static int InstallMallocFreeHooks(void (*malloc_hook)(const void *, uptr), in InstallMallocFreeHooks()
446 if (!malloc_hook || !free_hook) return 0; in InstallMallocFreeHooks()
448 if (MFHooks[i].malloc_hook == nullptr) { in InstallMallocFreeHooks()
449 MFHooks[i].malloc_hook = malloc_hook; in InstallMallocFreeHooks()
481 int __sanitizer_install_malloc_and_free_hooks(void (*malloc_hook)(const void *, in __sanitizer_install_malloc_and_free_hooks()
484 return InstallMallocFreeHooks(malloc_hook, free_hook); in __sanitizer_install_malloc_and_free_hooks()
Dsanitizer_allocator_interface.h33 void (*malloc_hook)(const void *, uptr),
/external/compiler-rt/include/sanitizer/
Dallocator_interface.h76 void (*malloc_hook)(const volatile void *, size_t),
/external/llvm/lib/Fuzzer/
DFuzzerExtFunctions.def35 (void (*malloc_hook)(const volatile void *, size_t),
/external/libchrome/base/allocator/
Dallocator.gyp151 '<(tcmalloc_dir)/src/gperftools/malloc_hook.h',
170 '<(tcmalloc_dir)/src/malloc_hook-inl.h',
171 '<(tcmalloc_dir)/src/malloc_hook.cc',
246 '<(tcmalloc_dir)/src/gperftools/malloc_hook.h',
DBUILD.gn169 "$tcmalloc_dir/src/malloc_hook-inl.h",
170 "$tcmalloc_dir/src/malloc_hook.cc",
/external/libopus/tests/
Dtest_opus_api.c74 void *malloc_hook(__attribute__((unused)) size_t size, in malloc_hook() function
1777 __malloc_hook=malloc_hook; in test_malloc_fail()