Home
last modified time | relevance | path

Searched refs:caller_pc (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_external.cpp63 void ExternalAccess(void *addr, uptr caller_pc, void *tag, AccessType typ) { in ExternalAccess() argument
66 if (caller_pc) FuncEntry(thr, caller_pc); in ExternalAccess()
69 if (!caller_pc || !libignore()->IsIgnored(caller_pc, &in_ignored_lib)) in ExternalAccess()
72 if (caller_pc) FuncExit(thr); in ExternalAccess()
114 void __tsan_external_read(void *addr, void *caller_pc, void *tag) { in __tsan_external_read() argument
115 ExternalAccess(addr, STRIP_PAC_PC(caller_pc), tag, kAccessRead); in __tsan_external_read()
119 void __tsan_external_write(void *addr, void *caller_pc, void *tag) { in __tsan_external_write() argument
120 ExternalAccess(addr, STRIP_PAC_PC(caller_pc), tag, kAccessWrite); in __tsan_external_write()
H A Dtsan_interface_ann.cpp50 const uptr caller_pc = (uptr)__builtin_return_address(0); \
51 ScopedAnnotation sa(thr, __func__, caller_pc); \
H A Dtsan_interface.h88 void __tsan_external_read(void *addr, void *caller_pc, void *tag);
90 void __tsan_external_write(void *addr, void *caller_pc, void *tag);
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_external.cpp63 void ExternalAccess(void *addr, uptr caller_pc, void *tag, AccessType typ) { in ExternalAccess() argument
66 if (caller_pc) FuncEntry(thr, caller_pc); in ExternalAccess()
69 if (!caller_pc || !libignore()->IsIgnored(caller_pc, &in_ignored_lib)) in ExternalAccess()
72 if (caller_pc) FuncExit(thr); in ExternalAccess()
114 void __tsan_external_read(void *addr, void *caller_pc, void *tag) { in __tsan_external_read() argument
115 ExternalAccess(addr, STRIP_PAC_PC(caller_pc), tag, kAccessRead); in __tsan_external_read()
119 void __tsan_external_write(void *addr, void *caller_pc, void *tag) { in __tsan_external_write() argument
120 ExternalAccess(addr, STRIP_PAC_PC(caller_pc), tag, kAccessWrite); in __tsan_external_write()
H A Dtsan_interface_ann.cpp50 const uptr caller_pc = (uptr)__builtin_return_address(0); \
51 ScopedAnnotation sa(thr, __func__, caller_pc); \
H A Dtsan_interface.h88 void __tsan_external_read(void *addr, void *caller_pc, void *tag);
90 void __tsan_external_write(void *addr, void *caller_pc, void *tag);
/llvm-project-15.0.7/compiler-rt/include/sanitizer/
H A Dtsan_interface.h142 void __tsan_external_read(void *addr, void *caller_pc, void *tag);
143 void __tsan_external_write(void *addr, void *caller_pc, void *tag);
H A Ddfsan_interface.h100 void dfsan_weak_hook_memcmp(void *caller_pc, const void *s1, const void *s2,
103 void dfsan_weak_hook_strncmp(void *caller_pc, const char *s1, const char *s2,
/llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/
H A Dexternal-lib.cpp27 void (*callback_read)(void *addr, void *caller_pc, void *tag);
28 void (*callback_write)(void *addr, void *caller_pc, void *tag);
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp348 void TracePC::AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2, in AddValueForMemcmp() argument
373 size_t PC = reinterpret_cast<size_t>(caller_pc); in AddValueForMemcmp()
620 void __sanitizer_weak_hook_memcmp(void *caller_pc, const void *s1, in __sanitizer_weak_hook_memcmp() argument
625 fuzzer::TPC.AddValueForMemcmp(caller_pc, s1, s2, n, /*StopAtZero*/false); in __sanitizer_weak_hook_memcmp()
629 void __sanitizer_weak_hook_strncmp(void *caller_pc, const char *s1, in __sanitizer_weak_hook_strncmp() argument
638 fuzzer::TPC.AddValueForMemcmp(caller_pc, s1, s2, n, /*StopAtZero*/true); in __sanitizer_weak_hook_strncmp()
642 void __sanitizer_weak_hook_strcmp(void *caller_pc, const char *s1, in __sanitizer_weak_hook_strcmp() argument
648 fuzzer::TPC.AddValueForMemcmp(caller_pc, s1, s2, N, /*StopAtZero*/true); in __sanitizer_weak_hook_strcmp()
H A DFuzzerTracePC.h102 void AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2,
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_common.cpp184 uptr caller_pc = GetCallerPC(stack); in SuppressInvalid() local
187 return !caller_pc || in SuppressInvalid()
188 (suppress_module && suppress_module->containsAddress(caller_pc)); in SuppressInvalid()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp254 DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_memcmp, uptr caller_pc, in DECLARE_WEAK_INTERCEPTOR_HOOK() argument
259 DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_origin_memcmp, uptr caller_pc, in DECLARE_WEAK_INTERCEPTOR_HOOK()
314 DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_strcmp, uptr caller_pc, in DECLARE_WEAK_INTERCEPTOR_HOOK() argument
318 DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_origin_strcmp, uptr caller_pc, in DECLARE_WEAK_INTERCEPTOR_HOOK()
384 DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_strncmp, uptr caller_pc, in DECLARE_WEAK_INTERCEPTOR_HOOK() argument
389 DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_origin_strncmp, uptr caller_pc, in DECLARE_WEAK_INTERCEPTOR_HOOK()
/llvm-project-15.0.7/clang/docs/
H A DDataFlowSanitizerDesign.rst117 void dfsan_weak_hook_memcmp(void *caller_pc, const void *s1, const void *s2,
120 void dfsan_weak_hook_strncmp(void *caller_pc, const char *s1, const char *s2,
/llvm-project-15.0.7/llvm/docs/
H A DLibFuzzer.rst521 * The callback computes `(caller_pc&4095) | (popcnt(Arg1 ^ Arg2) << 12)` and uses this value to set…