Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp197 INTERCEPT_FUNCTION(aligned_alloc); in initialize_interceptors()
198 INTERCEPT_FUNCTION(calloc); in initialize_interceptors()
199 INTERCEPT_FUNCTION(cfree); in initialize_interceptors()
200 INTERCEPT_FUNCTION(free); in initialize_interceptors()
201 INTERCEPT_FUNCTION(mallinfo); in initialize_interceptors()
202 INTERCEPT_FUNCTION(malloc); in initialize_interceptors()
203 INTERCEPT_FUNCTION(malloc_stats); in initialize_interceptors()
204 INTERCEPT_FUNCTION(malloc_usable_size); in initialize_interceptors()
205 INTERCEPT_FUNCTION(mallopt); in initialize_interceptors()
206 INTERCEPT_FUNCTION(memalign); in initialize_interceptors()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp131 #define MSAN_MAYBE_INTERCEPT_FREAD_UNLOCKED INTERCEPT_FUNCTION(fread_unlocked)
140 #define MSAN_MAYBE_INTERCEPT_MEMPCPY INTERCEPT_FUNCTION(mempcpy)
173 #define MSAN_MAYBE_INTERCEPT_MEMALIGN INTERCEPT_FUNCTION(memalign)
191 #define MSAN_MAYBE_INTERCEPT___LIBC_MEMALIGN INTERCEPT_FUNCTION(__libc_memalign)
206 #define MSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc)
229 # define MSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree)
239 INTERCEPT_FUNCTION(malloc_usable_size)
258 #define MSAN_MAYBE_INTERCEPT_MALLINFO INTERCEPT_FUNCTION(mallinfo)
267 #define MSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
276 #define MSAN_MAYBE_INTERCEPT_MALLOC_STATS INTERCEPT_FUNCTION(malloc_stats)
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp127 #define LSAN_MAYBE_INTERCEPT_MEMALIGN INTERCEPT_FUNCTION(memalign)
140 #define LSAN_MAYBE_INTERCEPT___LIBC_MEMALIGN INTERCEPT_FUNCTION(__libc_memalign)
151 #define LSAN_MAYBE_INTERCEPT_ALIGNED_ALLOC INTERCEPT_FUNCTION(aligned_alloc)
162 INTERCEPT_FUNCTION(malloc_usable_size)
177 #define LSAN_MAYBE_INTERCEPT_MALLINFO INTERCEPT_FUNCTION(mallinfo)
182 #define LSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
194 #define LSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc)
201 #define LSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree)
351 #define LSAN_MAYBE_INTERCEPT__LWP_EXIT INTERCEPT_FUNCTION(_lwp_exit)
362 #define LSAN_MAYBE_INTERCEPT_THR_EXIT INTERCEPT_FUNCTION(thr_exit)
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp296 INTERCEPT_FUNCTION(pthread_mutex_destroy); in InitializeInterceptors()
297 INTERCEPT_FUNCTION(pthread_mutex_lock); in InitializeInterceptors()
298 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
299 INTERCEPT_FUNCTION(pthread_mutex_unlock); in InitializeInterceptors()
301 INTERCEPT_FUNCTION(pthread_spin_destroy); in InitializeInterceptors()
302 INTERCEPT_FUNCTION(pthread_spin_lock); in InitializeInterceptors()
303 INTERCEPT_FUNCTION(pthread_spin_trylock); in InitializeInterceptors()
304 INTERCEPT_FUNCTION(pthread_spin_unlock); in InitializeInterceptors()
306 INTERCEPT_FUNCTION(pthread_rwlock_destroy); in InitializeInterceptors()
307 INTERCEPT_FUNCTION(pthread_rwlock_rdlock); in InitializeInterceptors()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_libdispatch.cpp769 INTERCEPT_FUNCTION(dispatch_async); in InitializeLibdispatchInterceptors()
770 INTERCEPT_FUNCTION(dispatch_async_f); in InitializeLibdispatchInterceptors()
771 INTERCEPT_FUNCTION(dispatch_sync); in InitializeLibdispatchInterceptors()
772 INTERCEPT_FUNCTION(dispatch_sync_f); in InitializeLibdispatchInterceptors()
773 INTERCEPT_FUNCTION(dispatch_barrier_async); in InitializeLibdispatchInterceptors()
774 INTERCEPT_FUNCTION(dispatch_barrier_async_f); in InitializeLibdispatchInterceptors()
775 INTERCEPT_FUNCTION(dispatch_barrier_sync); in InitializeLibdispatchInterceptors()
776 INTERCEPT_FUNCTION(dispatch_barrier_sync_f); in InitializeLibdispatchInterceptors()
777 INTERCEPT_FUNCTION(dispatch_async_and_wait); in InitializeLibdispatchInterceptors()
778 INTERCEPT_FUNCTION(dispatch_async_and_wait_f); in InitializeLibdispatchInterceptors()
[all …]
H A Dtsan_interceptors_posix.cpp327 #define TSAN_INTERCEPT(func) INTERCEPT_FUNCTION(func)
329 # define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
335 INTERCEPT_FUNCTION(_pthread_##func)
341 INTERCEPT_FUNCTION(__libc_##func)
343 INTERCEPT_FUNCTION(__libc_thr_##func)
2449 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
2453 (INTERCEPT_FUNCTION_VER(name, ver) || INTERCEPT_FUNCTION(name))
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp241 INTERCEPT_FUNCTION(__libc_longjmp); in InitializeInterceptors()
242 INTERCEPT_FUNCTION(longjmp); in InitializeInterceptors()
243 INTERCEPT_FUNCTION(siglongjmp); in InitializeInterceptors()
244 INTERCEPT_FUNCTION(vfork); in InitializeInterceptors()
246 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
247 INTERCEPT_FUNCTION(pthread_join); in InitializeInterceptors()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.h45 if (!INTERCEPT_FUNCTION(name)) \
55 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_interceptors.h139 if (!INTERCEPT_FUNCTION(name)) \
150 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
H A Dasan_malloc_win.cpp511 INTERCEPT_FUNCTION(HeapSize); in ReplaceSystemMalloc()
512 INTERCEPT_FUNCTION(HeapFree); in ReplaceSystemMalloc()
513 INTERCEPT_FUNCTION(HeapReAlloc); in ReplaceSystemMalloc()
514 INTERCEPT_FUNCTION(HeapAlloc); in ReplaceSystemMalloc()
H A Dasan_win_dll_thunk.cpp142 INTERCEPT_FUNCTION(_except_handler4); in asan_dll_thunk_init()
H A Dasan_interceptors.cpp705 INTERCEPT_FUNCTION(_Unwind_RaiseException); in InitializeAsanInterceptors()
709 INTERCEPT_FUNCTION(_Unwind_SjLj_RaiseException); in InitializeAsanInterceptors()
/openbsd-src/gnu/llvm/compiler-rt/lib/interception/
H A Dinterception.h278 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) macro
283 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) macro
288 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_WIN(func) macro
/openbsd-src/gnu/llvm/compiler-rt/lib/interception/tests/
H A Dinterception_linux_test.cpp48 EXPECT_TRUE(INTERCEPT_FUNCTION(isdigit)); in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_signals_standalone.cpp37 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
/openbsd-src/gnu/llvm/compiler-rt/lib/cfi/
H A Dcfi.cpp447 INTERCEPT_FUNCTION(dlopen); in EnsureInterceptorsInitialized()
448 INTERCEPT_FUNCTION(dlclose); in EnsureInterceptorsInitialized()
/openbsd-src/gnu/llvm/compiler-rt/lib/safestack/
H A Dsafestack.cpp253 INTERCEPT_FUNCTION(pthread_create); in EnsureInterceptorsInitialized()