Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp291 void (*malloc_hook)(const void *, uptr); member
299 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks()
313 static int InstallMallocFreeHooks(void (*malloc_hook)(const void *, uptr), in InstallMallocFreeHooks()
315 if (!malloc_hook || !free_hook) return 0; in InstallMallocFreeHooks()
317 if (MFHooks[i].malloc_hook == nullptr) { in InstallMallocFreeHooks()
318 MFHooks[i].malloc_hook = malloc_hook; in InstallMallocFreeHooks()
343 int __sanitizer_install_malloc_and_free_hooks(void (*malloc_hook)(const void *, in __sanitizer_install_malloc_and_free_hooks()
346 return InstallMallocFreeHooks(malloc_hook, free_hook); in __sanitizer_install_malloc_and_free_hooks()
Dsanitizer_allocator_interface.h32 void (*malloc_hook)(const void *, uptr),
/external/abseil-cpp/absl/base/internal/
Dlow_level_alloc.h71 static void *Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook);
73 ABSL_ATTRIBUTE_SECTION(malloc_hook);
80 static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.h71 static void *Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook);
73 ABSL_ATTRIBUTE_SECTION(malloc_hook);
80 static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook);
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dlow_level_alloc.h71 static void *Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook);
73 ABSL_ATTRIBUTE_SECTION(malloc_hook);
80 static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook);
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dlow_level_alloc.h71 static void *Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook);
73 ABSL_ATTRIBUTE_SECTION(malloc_hook);
80 static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook);
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.h71 static void *Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook);
73 ABSL_ATTRIBUTE_SECTION(malloc_hook);
80 static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook);
/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-project/compiler-rt/include/sanitizer/
Dallocator_interface.h75 void (*malloc_hook)(const volatile void *, size_t),
/external/llvm/lib/Fuzzer/
DFuzzerExtFunctions.def35 (void (*malloc_hook)(const volatile void *, size_t),
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerExtFunctions.def33 (void (*malloc_hook)(const volatile void *, size_t),
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerExtFunctions.def33 (void (*malloc_hook)(const volatile void *, size_t),
/external/libabigail/tests/data/test-read-dwarf/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi5963 … size-in-bits='576' is-struct='yes' visibility='default' filepath='src/malloc_hook-inl.h' line='59…
5965 …me='priv_end' type-id='type-id-922' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
5968 …e='priv_data' type-id='type-id-923' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
5971 … size-in-bits='576' is-struct='yes' visibility='default' filepath='src/malloc_hook-inl.h' line='59…
5973 …me='priv_end' type-id='type-id-922' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
5976 …e='priv_data' type-id='type-id-923' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
8575 …<abi-instr address-size='64' path='src/malloc_hook.cc' comp-dir-path='/tmp/legendre/spack-stage/sp…
8644 … size-in-bits='576' is-struct='yes' visibility='default' filepath='src/malloc_hook-inl.h' line='59…
8646 …me='priv_end' type-id='type-id-922' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
8649 …e='priv_data' type-id='type-id-923' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
[all …]
/external/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi9786 … size-in-bits='576' is-struct='yes' visibility='default' filepath='src/malloc_hook-inl.h' line='59…
9789 …me='priv_end' type-id='type-id-922' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
9793 …e='priv_data' type-id='type-id-923' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
9797 … size-in-bits='576' is-struct='yes' visibility='default' filepath='src/malloc_hook-inl.h' line='59…
9800 …me='priv_end' type-id='type-id-922' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
9804 …e='priv_data' type-id='type-id-923' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
14027 …<abi-instr address-size='64' path='src/malloc_hook.cc' comp-dir-path='/tmp/legendre/spack-stage/sp…
14161 … size-in-bits='576' is-struct='yes' visibility='default' filepath='src/malloc_hook-inl.h' line='59…
14164 …me='priv_end' type-id='type-id-922' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
14168 …e='priv_data' type-id='type-id-923' visibility='default' filepath='src/malloc_hook-inl.h' line='10…
[all …]
/external/libopus/tests/
Dtest_opus_api.c74 void *malloc_hook(__attribute__((unused)) size_t size, in malloc_hook() function
1784 __malloc_hook=malloc_hook; in test_malloc_fail()