| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerInterceptors.cpp | 16 #define GET_CALLER_PC() __builtin_return_address(0) macro 155 __sanitizer_weak_hook_memcmp(GET_CALLER_PC(), s1, s2, n, result); in DEFINE_REAL() 163 __sanitizer_weak_hook_memcmp(GET_CALLER_PC(), s1, s2, n, result); in memcmp() 171 __sanitizer_weak_hook_strncmp(GET_CALLER_PC(), s1, s2, n, result); in strncmp() 179 __sanitizer_weak_hook_strcmp(GET_CALLER_PC(), s1, s2, result); in strcmp() 186 __sanitizer_weak_hook_strncasecmp(GET_CALLER_PC(), s1, s2, n, result); in strncasecmp() 193 __sanitizer_weak_hook_strcasecmp(GET_CALLER_PC(), s1, s2, result); in strcasecmp() 201 __sanitizer_weak_hook_strstr(GET_CALLER_PC(), s1, s2, result); in strstr() 208 __sanitizer_weak_hook_strcasestr(GET_CALLER_PC(), s1, s2, result); in strcasestr() 216 __sanitizer_weak_hook_memmem(GET_CALLER_PC(), s1, len1, s2, len2, result); in memmem()
|
| H A D | FuzzerTracePC.cpp | 477 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_pc_indir() 485 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_cmp8() 496 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_const_cmp8() 504 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_cmp4() 512 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_const_cmp4() 520 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_cmp2() 528 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_const_cmp2() 536 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_cmp1() 544 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_const_cmp1() 563 uintptr_t PC = reinterpret_cast<uintptr_t>(GET_CALLER_PC()); in __sanitizer_cov_trace_switch() [all …]
|
| H A D | FuzzerBuiltins.h | 19 #define GET_CALLER_PC() __builtin_return_address(0) macro
|
| H A D | FuzzerBuiltinsMsvc.h | 24 #define GET_CALLER_PC() _ReturnAddress() macro
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/ |
| H A D | ubsan_minimal_handlers.cpp | 124 __ubsan_report_error(kind, GET_CALLER_PC()); \ 129 uintptr_t caller = GET_CALLER_PC(); \
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_stack.h | 43 stack.trace_buffer[1] = GET_CALLER_PC(); \
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/stats/ |
| H A D | stats_client.cpp | 71 s->addr = GET_CALLER_PC(); in __sanitizer_stat_report()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_stack.h | 43 stack.trace_buffer[1] = GET_CALLER_PC(); \
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan.cpp | 653 GET_CALLER_PC()); in __msan_set_alloca_origin() 661 GET_CALLER_PC()); in __msan_set_alloca_origin4() 666 SetAllocaOrigin(a, size, id_ptr, descr, GET_CALLER_PC()); in __msan_set_alloca_origin_with_descr() 670 SetAllocaOrigin(a, size, id_ptr, nullptr, GET_CALLER_PC()); in __msan_set_alloca_origin_no_descr()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors.h | 53 ScopedInterceptor si(thr, #func, GET_CALLER_PC()); \
|
| H A D | tsan_interceptors_posix.cpp | 462 return setup_at_exit_wrapper(thr, GET_CALLER_PC(), (void (*)())f, 0, 0); in TSAN_INTERCEPTOR() 470 return setup_at_exit_wrapper(thr, GET_CALLER_PC(), (void (*)())f, arg, dso); in TSAN_INTERCEPTOR() 525 ctx->pc = GET_CALLER_PC(); in TSAN_INTERCEPTOR() 2798 syscall_access_range(GET_CALLER_PC(), (uptr)(p), (uptr)(s), false) 2801 syscall_access_range(GET_CALLER_PC(), (uptr)(p), (uptr)(s), true) 2816 syscall_acquire(GET_CALLER_PC(), (uptr)(addr)) 2819 syscall_release(GET_CALLER_PC(), (uptr)(addr)) 2821 #define COMMON_SYSCALL_FD_CLOSE(fd) syscall_fd_close(GET_CALLER_PC(), fd) 2823 #define COMMON_SYSCALL_FD_ACQUIRE(fd) syscall_fd_acquire(GET_CALLER_PC(), fd) 2825 #define COMMON_SYSCALL_FD_RELEASE(fd) syscall_fd_release(GET_CALLER_PC(), fd) [all …]
|
| H A D | tsan_interface_atomic.cpp | 529 return Op::Atomic(thr, GET_CALLER_PC(), convert_morder(mo), args...); in AtomicImpl()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_internal_defs.h | 406 # define GET_CALLER_PC() \ macro 418 # define GET_CALLER_PC() ((__sanitizer::uptr)_ReturnAddress()) macro
|
| H A D | sanitizer_stacktrace.cpp | 57 return GET_CALLER_PC(); in GetCurrentPc()
|
| H A D | sanitizer_stacktrace.h | 180 uptr pc = GET_CALLER_PC();
|
| H A D | sanitizer_coverage_fuchsia.cpp | 221 __sancov::pc_guard_controller.TracePcGuard(guard, GET_CALLER_PC() - 1); in SANITIZER_INTERFACE_WEAK_DEF()
|
| H A D | sanitizer_coverage_libcdep_new.cpp | 228 guard, StackTrace::GetPreviousInstructionPc(GET_CALLER_PC())); in SANITIZER_INTERFACE_WEAK_DEF()
|
| H A D | sanitizer_mutex.h | 129 LockImpl(GET_CALLER_PC()); in Lock()
|
| H A D | sanitizer_common_interceptors.inc | 509 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strcmp, GET_CALLER_PC(), s1, 539 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strncmp, GET_CALLER_PC(), s1, 574 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strcasecmp, GET_CALLER_PC(), 602 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strncasecmp, GET_CALLER_PC(), 637 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strstr, GET_CALLER_PC(), s1, 658 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strcasestr, GET_CALLER_PC(), 728 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_memmem, GET_CALLER_PC(), 864 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_memcmp, GET_CALLER_PC(), 870 CALL_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_memcmp, GET_CALLER_PC(), a1,
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_custom.cpp | 327 CALL_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_memcmp, GET_CALLER_PC(), s1, s2, n, in DECLARE_WEAK_INTERCEPTOR_HOOK() 337 CALL_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_origin_memcmp, GET_CALLER_PC(), s1, in __dfso_memcmp() 384 CALL_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_strcmp, GET_CALLER_PC(), s1, s2, in DECLARE_WEAK_INTERCEPTOR_HOOK() 396 CALL_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_origin_strcmp, GET_CALLER_PC(), s1, in __dfso_strcmp() 462 CALL_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_strncmp, GET_CALLER_PC(), s1, s2, in DECLARE_WEAK_INTERCEPTOR_HOOK() 481 CALL_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_origin_strncmp, GET_CALLER_PC(), in __dfso_strncmp()
|