/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_malloc_linux.cpp | 33 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 38 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() argument 39 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 46 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 47 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 54 if (DlsymAlloc::Use()) in INTERCEPTOR() 55 return DlsymAlloc::Allocate(size); in INTERCEPTOR() 62 if (DlsymAlloc::Use()) in INTERCEPTOR() 63 return DlsymAlloc::Callocate(nmemb, size); in INTERCEPTOR() 70 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan_malloc_linux.cpp | 25 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 38 if (DlsymAlloc::Use()) in INTERCEPTOR() 39 return DlsymAlloc::Callocate(nmemb, size); in INTERCEPTOR() 48 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 49 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 54 if (DlsymAlloc::Use()) in INTERCEPTOR() 55 return DlsymAlloc::Allocate(size); in INTERCEPTOR() 63 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 64 return DlsymAlloc::Realloc(ptr, size); in INTERCEPTOR()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 33 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 50 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() argument 51 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 58 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 59 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 66 if (DlsymAlloc::Use()) in INTERCEPTOR() 67 return DlsymAlloc::Allocate(size); in INTERCEPTOR() 73 if (DlsymAlloc::Use()) in INTERCEPTOR() 74 return DlsymAlloc::Callocate(nmemb, size); in INTERCEPTOR() 80 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocation_functions.cpp | 24 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 87 if (DlsymAlloc::PointerIsMine(ptr)) in __sanitizer_free() 88 return DlsymAlloc::Free(ptr); in __sanitizer_free() 97 if (DlsymAlloc::PointerIsMine(ptr)) in __sanitizer_cfree() 98 return DlsymAlloc::Free(ptr); in __sanitizer_cfree() 125 if (DlsymAlloc::Use()) in __sanitizer_calloc() 126 return DlsymAlloc::Callocate(nmemb, size); in __sanitizer_calloc() 133 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in __sanitizer_realloc() 134 return DlsymAlloc::Realloc(ptr, size); in __sanitizer_realloc() 149 if (DlsymAlloc::Use()) in __sanitizer_malloc() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 32 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 52 if (DlsymAlloc::Use()) in INTERCEPTOR() argument 53 return DlsymAlloc::Callocate(nmemb, size); in INTERCEPTOR() 58 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 59 return DlsymAlloc::Realloc(ptr, size); in INTERCEPTOR() 64 if (DlsymAlloc::Use()) in INTERCEPTOR() 65 return DlsymAlloc::Allocate(size); in INTERCEPTOR() 72 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 73 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 80 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 58 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 266 if (DlsymAlloc::Use()) in INTERCEPTOR() 267 return DlsymAlloc::Callocate(num, size); in INTERCEPTOR() 274 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 275 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 284 if (DlsymAlloc::Use()) in INTERCEPTOR() 285 return DlsymAlloc::Allocate(size); in INTERCEPTOR() 292 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 293 return DlsymAlloc::Realloc(ptr, size); in INTERCEPTOR()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cpp | 47 struct DlsymAlloc : DlSymAllocator<DlsymAlloc> { struct 72 if (DlsymAlloc::Use()) in INTERCEPTOR() argument 73 return DlsymAlloc::Allocate(size); in INTERCEPTOR() 82 if (DlsymAlloc::PointerIsMine(p)) in INTERCEPTOR() 83 return DlsymAlloc::Free(p); in INTERCEPTOR() 89 if (DlsymAlloc::Use()) in INTERCEPTOR() 90 return DlsymAlloc::Callocate(nmemb, size); in INTERCEPTOR() 97 if (DlsymAlloc::Use() || DlsymAlloc in INTERCEPTOR() 48 UseImplDlsymAlloc UseImpl() argument [all...] |
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_malloc_mac.inc | 196 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { 203 if (DlsymAlloc::Use()) 204 return DlsymAlloc::Callocate(nmemb, size); 222 if (DlsymAlloc::PointerIsMine(ptr)) 223 return DlsymAlloc::Free(ptr);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 81 struct DlsymAlloc : public DlSymAllocator<DlsymAlloc> { struct 216 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 217 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 226 if (DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 227 return DlsymAlloc::Free(ptr); in INTERCEPTOR() 1001 if (DlsymAlloc::Use()) in INTERCEPTOR() 1002 return DlsymAlloc::Callocate(nmemb, size); in INTERCEPTOR() 1007 if (DlsymAlloc::Use() || DlsymAlloc::PointerIsMine(ptr)) in INTERCEPTOR() 1008 return DlsymAlloc::Realloc(ptr, size); in INTERCEPTOR() 1019 if (DlsymAlloc::Use()) in INTERCEPTOR() [all …]
|