HomeSort by: relevance | last modified time | path
    Searched refs:REAL (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_interceptors.cc 54 ASAN_READ_STRING_OF_LEN((ctx), (s), REAL(strlen)(s), (n))
58 if (REAL(strnlen)) {
59 return REAL(strnlen)(s, maxlen);
104 return REAL(func)(__VA_ARGS__); \
106 return REAL(func)(__VA_ARGS__); \
129 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name)
213 REAL(pthread_attr_getdetachstate)(attr, &detached);
226 result = REAL(pthread_create)(thread, attr, asan_thread_start, &param);
282 = REAL(swapcontext);
285 int res = REAL(swapcontext)(oucp, ucp)
    [all...]
asan_win.cc 82 CHECK(REAL(SetUnhandledExceptionFilter));
84 return REAL(SetUnhandledExceptionFilter)(ExceptionFilter);
92 CHECK(REAL(RtlRaiseException));
97 REAL(RtlRaiseException)(ExceptionRecord);
101 CHECK(REAL(RaiseException));
103 REAL(RaiseException)(a, b, c, d);
109 CHECK(REAL(__C_specific_handler));
111 return REAL(__C_specific_handler)(a, b, c, d);
117 CHECK(REAL(_except_handler3));
119 return REAL(_except_handler3)(a, b, c, d)
    [all...]
asan_poisoning.h 58 REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg);
65 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg);
68 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg);
71 REAL(memset)((void *)page_end, 0, shadow_end - page_end);
asan_mac.cc 236 return REAL(dispatch_x_f)(dq, (void*)asan_ctxt, \
253 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt,
267 REAL(dispatch_group_async_f)(group, dq, (void*)asan_ctxt,
296 REAL(dispatch_async)(dq, asan_block);
303 REAL(dispatch_group_async)(dg, dq, asan_block);
310 REAL(dispatch_after)(when, queue, asan_block);
316 REAL(dispatch_source_set_cancel_handler)(ds, work);
321 REAL(dispatch_source_set_cancel_handler)(ds, asan_block);
328 REAL(dispatch_source_set_event_handler)(ds, asan_block);
asan_interceptors.h 119 if ((!INTERCEPT_FUNCTION(name) || !REAL(name))) \
124 if ((!INTERCEPT_FUNCTION_VER(name, ver) || !REAL(name))) \
asan_interceptors_memintrinsics.h 86 return REAL(memcpy)(to, from, size); \
96 return REAL(memcpy)(to, from, size); \
104 return REAL(memset)(block, c, size); \
110 return REAL(memset)(block, c, size); \
asan_poisoning.cc 40 CHECK(REAL(memset));
141 REAL(memset)(beg.chunk, kAsanUserPoisonedMemoryMagic, end.chunk - beg.chunk);
172 REAL(memset)(beg.chunk, 0, end.chunk - beg.chunk);
322 REAL(memset)((void *)addr, 0, size);
326 REAL(memset)((void *)addr, 0xf1, size);
330 REAL(memset)((void *)addr, 0xf2, size);
334 REAL(memset)((void *)addr, 0xf3, size);
338 REAL(memset)((void *)addr, 0xf5, size);
342 REAL(memset)((void *)addr, 0xf8, size);
asan_rtems.cc 38 REAL(memset)((void *)shadow_start, 0, shadow_end - shadow_start);
39 REAL(memset)((void *)gap_start, kAsanShadowGap, gap_end - gap_start);
asan_stats.cc 29 CHECK(REAL(memset));
30 REAL(memset)(this, 0, sizeof(AsanStats));
asan_win_dll_thunk.cc 99 return REAL(_except_handler4)(a, b, c, d);
asan_malloc_linux.cc 59 REAL(memset)(prev_mem, 0, last_dlsym_alloc_size_in_words * kWordSize);
143 // Hack: dlsym calls malloc before REAL(malloc) is retrieved from dlsym.
152 // Hack: dlsym calls calloc before REAL(calloc) is retrieved from dlsym.
207 REAL(memset)(&res, 0, sizeof(res));
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
dd_interceptors.cc 46 return REAL(pthread_mutex_destroy)(m);
52 int res = REAL(pthread_mutex_lock)(m);
59 int res = REAL(pthread_mutex_trylock)(m);
68 return REAL(pthread_mutex_unlock)(m);
73 int res = REAL(pthread_spin_destroy)(m);
81 int res = REAL(pthread_spin_lock)(m);
88 int res = REAL(pthread_spin_trylock)(m);
97 return REAL(pthread_spin_unlock)(m);
103 return REAL(pthread_rwlock_destroy)(m);
109 int res = REAL(pthread_rwlock_rdlock)(m)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/interception/tests/
interception_linux_test.cc 58 // Calling the REAL function should not affect the counter.
60 EXPECT_NE(0, REAL(isdigit)('1'));
61 EXPECT_EQ(0, REAL(isdigit)('a'));
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_interceptors.cc 137 SIZE_T res = REAL(fread_unlocked)(ptr, size, nmemb, file);
158 void *res = REAL(memccpy)(dest, src, c, n);
260 REAL(memset)(sret, 0, sizeof(*sret));
279 // FIXME: implement, but don't call REAL(malloc_stats)!
289 SIZE_T n = REAL(strlen)(src);
291 char *res = REAL(strcpy)(dest, src); // NOLINT
299 SIZE_T copy_size = REAL(strnlen)(src, n);
302 char *res = REAL(strncpy)(dest, src, n); // NOLINT
312 SIZE_T n = REAL(strlen)(src);
314 char *res = REAL(stpcpy)(dest, src); // NOLIN
    [all...]
msan_poisoning.cc 92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s),
103 REAL(memmove)((void *)MEM_TO_SHADOW((uptr)dst),
112 REAL(memcpy)((void *)MEM_TO_SHADOW((uptr)dst),
118 REAL(memcpy)(dst, src, size);
128 REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg);
134 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg);
137 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg);
140 REAL(memset)((void *)page_end, 0, shadow_end - page_end);
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_mac.cc 115 return REAL(dispatch_x_f)(dq, (void *)lsan_ctxt, \
126 return REAL(dispatch_after_f)(when, dq, (void *)lsan_ctxt,
133 REAL(dispatch_group_async_f)
160 REAL(dispatch_async)(dq, lsan_block);
166 REAL(dispatch_group_async)(dg, dq, lsan_block);
172 REAL(dispatch_after)(when, queue, lsan_block);
178 REAL(dispatch_source_set_cancel_handler)(ds, work);
182 REAL(dispatch_source_set_cancel_handler)(ds, lsan_block);
188 REAL(dispatch_source_set_event_handler)(ds, lsan_block);
lsan_interceptors.cc 66 // Hack: dlsym calls calloc before REAL(calloc) is retrieved from dlsym.
325 REAL(_lwp_exit)();
336 REAL(thr_exit)(state);
394 res = REAL(pthread_create)(th, attr, __lsan_thread_start_func, &p);
412 int res = REAL(pthread_join)(th, ret);
420 REAL(_exit)(status);
  /src/sys/external/bsd/compiler_rt/dist/lib/interception/
interception_win.h 68 (::__interception::uptr *)&REAL(func))
73 (::__interception::uptr *)&REAL(func))
81 (::__interception::uptr *)&REAL(func))
interception.h 46 // You can access original function by calling REAL(foo)(bar, baz).
47 // By default, REAL(foo) will be visible only inside your interceptor, and if
73 // with same names in our library and then obtain the real function pointers
164 # define REAL(x) __unsanitized_##x
167 # define REAL(x) __real_ ## x
169 extern "C" ret_type REAL(func)(__VA_ARGS__);
172 # define REAL(x) __interception::PTR_TO_REAL(x)
180 # define ASSIGN_REAL(dst, src) REAL(dst) = REAL(src)
182 # define REAL(x)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_interceptors_mac.cc 149 REAL(OSAtomicEnqueue)(list, item, offset);
154 void *item = REAL(OSAtomicDequeue)(list, offset);
166 REAL(OSAtomicFifoEnqueue)(list, item, offset);
172 void *item = REAL(OSAtomicFifoDequeue)(list, offset);
182 return REAL(OSSpinLockLock)(lock);
185 REAL(OSSpinLockLock)(lock);
192 return REAL(OSSpinLockTry)(lock);
195 bool result = REAL(OSSpinLockTry)(lock);
204 return REAL(OSSpinLockUnlock)(lock);
208 REAL(OSSpinLockUnlock)(lock)
    [all...]
tsan_interceptors.h 36 if (REAL(func) == 0) { \
41 return REAL(func)(__VA_ARGS__); \
tsan_libdispatch_mac.cc 180 REAL(name##_f)(q, new_context, dispatch_callback_wrap); \
192 REAL(name##_f)(q, &new_context, dispatch_callback_wrap); \
206 REAL(name)(q, new_context, dispatch_callback_wrap); \
218 REAL(name)(q, &new_context, dispatch_callback_wrap); \
246 REAL(dispatch_after_f)(when, queue, new_context, dispatch_callback_wrap);
269 // both a macro and a real function, we want to intercept the function, so we
308 return REAL(dispatch_semaphore_signal)(dsema);
314 long_t result = REAL(dispatch_semaphore_wait)(dsema, timeout);
322 long_t result = REAL(dispatch_group_wait)(group, timeout);
331 REAL(dispatch_group_leave)(group)
    [all...]
tsan_interceptors.cc 76 // The size is determined by looking at sizeof of real ucontext_t on linux.
322 #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name))
440 res = REAL(__cxa_atexit)((void (*)(void *a))at_exit_wrapper, 0, 0);
446 res = REAL(__cxa_atexit)(cxa_at_exit_wrapper, ctx, dso);
473 int res = REAL(on_exit)(on_exit_wrapper, ctx);
643 // Note: if we call REAL(longjmp) in the context of ScopedInterceptor,
650 REAL(longjmp_symname)(env, val);
658 REAL(siglongjmp_symname)(env, val);
667 REAL(_longjmp)(env, val);
745 return REAL(strcpy)(dst, src); // NOLIN
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_posix.h 82 return REAL(pthread_create)(th, attr, callback, param); \
85 return REAL(pthread_join(th, ret)); \
  /src/usr.bin/xlint/lint1/
op.h 122 REAL,

Completed in 64 milliseconds

1 2