Home
last modified time | relevance | path

Searched refs:DlsymAlloc (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_malloc_linux.cpp33 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 Dnsan_malloc_linux.cpp25 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 Dasan_malloc_linux.cpp33 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 Dhwasan_allocation_functions.cpp24 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 Ddfsan_interceptors.cpp32 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 Drtsan_interceptors.cpp58 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 Dlsan_interceptors.cpp47 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 Dsanitizer_malloc_mac.inc196 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 Dmsan_interceptors.cpp81 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 …]