Home
last modified time | relevance | path

Searched refs:GET_CALLER_PC (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp16 #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 DFuzzerTracePC.cpp477 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 DFuzzerBuiltins.h19 #define GET_CALLER_PC() __builtin_return_address(0) macro
H A DFuzzerBuiltinsMsvc.h24 #define GET_CALLER_PC() _ReturnAddress() macro
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp124 __ubsan_report_error(kind, GET_CALLER_PC()); \
129 uintptr_t caller = GET_CALLER_PC(); \
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_stack.h43 stack.trace_buffer[1] = GET_CALLER_PC(); \
/freebsd/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats_client.cpp71 s->addr = GET_CALLER_PC(); in __sanitizer_stat_report()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_stack.h43 stack.trace_buffer[1] = GET_CALLER_PC(); \
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp653 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 Dtsan_interceptors.h53 ScopedInterceptor si(thr, #func, GET_CALLER_PC()); \
H A Dtsan_interceptors_posix.cpp462 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 Dtsan_interface_atomic.cpp529 return Op::Atomic(thr, GET_CALLER_PC(), convert_morder(mo), args...); in AtomicImpl()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h406 # define GET_CALLER_PC() \ macro
418 # define GET_CALLER_PC() ((__sanitizer::uptr)_ReturnAddress()) macro
H A Dsanitizer_stacktrace.cpp57 return GET_CALLER_PC(); in GetCurrentPc()
H A Dsanitizer_stacktrace.h180 uptr pc = GET_CALLER_PC();
H A Dsanitizer_coverage_fuchsia.cpp221 __sancov::pc_guard_controller.TracePcGuard(guard, GET_CALLER_PC() - 1); in SANITIZER_INTERFACE_WEAK_DEF()
H A Dsanitizer_coverage_libcdep_new.cpp228 guard, StackTrace::GetPreviousInstructionPc(GET_CALLER_PC())); in SANITIZER_INTERFACE_WEAK_DEF()
H A Dsanitizer_mutex.h129 LockImpl(GET_CALLER_PC()); in Lock()
H A Dsanitizer_common_interceptors.inc509 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 Ddfsan_custom.cpp327 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()