Home
last modified time | relevance | path

Searched refs:__sanitizer (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_new_delete.cpp24 enum class align_val_t: __sanitizer::uptr {};
62 void *operator new(__sanitizer::uptr size);
63 void *operator new(__sanitizer::uptr size) { in operator new()
68 void *operator new[](__sanitizer::uptr size);
69 void *operator new[](__sanitizer::uptr size) { in operator new[]()
74 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
75 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
80 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
81 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
86 void *operator new(__sanitizer::uptr size, std::align_val_t align);
[all …]
Dtsan_dispatch_defs.h35 typedef __sanitizer::u64 dispatch_time_t;
69 typedef __sanitizer::s64 off_t;
70 typedef __sanitizer::u16 mode_t;
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_internal_defs.h131 namespace __sanitizer {
264 namespace __sanitizer {
291 __sanitizer::u64 v1 = (__sanitizer::u64)(c1); \
292 __sanitizer::u64 v2 = (__sanitizer::u64)(c2); \
294 __sanitizer::CheckFailed(__FILE__, __LINE__, \
371 (__sanitizer::uptr) __builtin_extract_return_addr(__builtin_return_address(0))
373 #define GET_CALLER_PC() (__sanitizer::uptr) __builtin_return_address(0)
375 #define GET_CURRENT_FRAME() (__sanitizer::uptr) __builtin_frame_address(0)
384 #define GET_CALLER_PC() (__sanitizer::uptr) _ReturnAddress()
387 (((__sanitizer::uptr)_AddressOfReturnAddress()) + sizeof(__sanitizer::uptr))
[all …]
Dsanitizer_win_dll_thunk.h17 namespace __sanitizer {
32 return __sanitizer::dllThunkIntercept(main_function, (__sanitizer::uptr) \
43 return __sanitizer::dllThunkInterceptWhenPossible(main_function, \
44 default_function, (__sanitizer::uptr)dll_function); \
94 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
102 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
110 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
118 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
126 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
134 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
[all …]
Dsanitizer_interface_internal.h38 __sanitizer::sptr coverage_fd;
54 const __sanitizer::uptr *pcs, const __sanitizer::uptr len);
57 SANITIZER_INTERFACE_ATTRIBUTE void __sanitizer_cov(__sanitizer::u32 *guard);
78 __sanitizer::uptr pc, char *module_path,
79 __sanitizer::uptr module_path_len, __sanitizer::uptr *pc_offset);
110 void __sanitizer_cov_trace_pc_guard(__sanitizer::u32*);
112 void __sanitizer_cov_trace_pc_guard_init(__sanitizer::u32*,
113 __sanitizer::u32*);
Dsanitizer_syscalls_netbsd.inc134 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
142 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
165 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
168 PRE_READ(path, __sanitizer::internal_strlen(link) + 1);
176 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
179 POST_READ(path, __sanitizer::internal_strlen(link) + 1);
186 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
193 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
201 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
208 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
[all …]
Dsanitizer_win_weak_interception.h15 namespace __sanitizer {
26 return __sanitizer::interceptWhenPossible((__sanitizer::uptr) Name, #Name);\
Dsanitizer_common_syscalls.inc385 PRE_READ(name, __sanitizer::internal_strlen((const char *)name) + 1);
670 PRE_READ(uargs, __sanitizer::internal_strlen((const char *)uargs) + 1);
678 __sanitizer::internal_strlen((const char *)name_user) + 1);
783 __sanitizer::internal_strlen((const char *)dev_name) + 1);
786 __sanitizer::internal_strlen((const char *)dir_name) + 1);
788 POST_WRITE(type, __sanitizer::internal_strlen((const char *)type) + 1);
797 POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
806 POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
812 PRE_READ(path, __sanitizer::internal_strlen((const char *)path) + 1);
824 __sanitizer::internal_strlen((const char *)filename) + 1);
[all …]
Dsanitizer_mac.h20 namespace __sanitizer {
68 static char __crashreporter_info_buff__[__sanitizer::kErrorMessageBufferSize] =
75 namespace __sanitizer {
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/
Doptions_parser.cpp24 void registerGwpAsanFlags(__sanitizer::FlagParser *parser, Options *o) { in registerGwpAsanFlags()
50 __sanitizer::SetCommonFlagsDefaults(); in initOptions()
55 __sanitizer::FlagParser Parser; in initOptions()
65 Parser.ParseString(__sanitizer::GetEnv("GWP_ASAN_OPTIONS")); in initOptions()
67 __sanitizer::InitializeCommonFlags(); in initOptions()
68 if (__sanitizer::Verbosity()) in initOptions()
69 __sanitizer::ReportUnrecognizedFlags(); in initOptions()
76 __sanitizer::Printf("GWP-ASan ERROR: MaxSimultaneousAllocations must be > " in initOptions()
82 __sanitizer::Printf( in initOptions()
Dbacktrace_sanitizer_common.cpp21 void __sanitizer::BufferedStackTrace::UnwindImpl(uptr pc, uptr bp, in UnwindImpl()
43 __sanitizer::BufferedStackTrace Trace; in BacktraceCommon()
45 if (Size > __sanitizer::kStackTraceMax) in BacktraceCommon()
46 Size = __sanitizer::kStackTraceMax; in BacktraceCommon()
48 Trace.Unwind((__sanitizer::uptr)__builtin_return_address(0), in BacktraceCommon()
49 (__sanitizer::uptr)__builtin_frame_address(0), Context, in BacktraceCommon()
66 __sanitizer::StackTrace StackTrace; in PrintBacktrace()
67 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace()
89 __sanitizer::SetCommonFlagsDefaults(); in getBacktraceFunction()
90 __sanitizer::InitializeCommonFlags(); in getBacktraceFunction()
/external/gwp_asan/gwp_asan/optional/
Dbacktrace_sanitizer_common.cpp21 void __sanitizer::BufferedStackTrace::UnwindImpl(uptr pc, uptr bp, in UnwindImpl()
43 __sanitizer::BufferedStackTrace Trace; in BacktraceCommon()
45 if (Size > __sanitizer::kStackTraceMax) in BacktraceCommon()
46 Size = __sanitizer::kStackTraceMax; in BacktraceCommon()
48 Trace.Unwind((__sanitizer::uptr)__builtin_return_address(0), in BacktraceCommon()
49 (__sanitizer::uptr)__builtin_frame_address(0), Context, in BacktraceCommon()
66 __sanitizer::StackTrace StackTrace; in PrintBacktrace()
67 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace()
90 __sanitizer::SetCommonFlagsDefaults(); in getBacktraceFunction()
91 __sanitizer::InitializeCommonFlags(); in getBacktraceFunction()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_new_delete.cc39 void *operator new(__sanitizer::uptr size);
40 void *operator new(__sanitizer::uptr size) { in operator new()
45 void *operator new[](__sanitizer::uptr size);
46 void *operator new[](__sanitizer::uptr size) { in operator new[]()
51 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
52 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
57 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
58 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi95 …<!-- __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long lon…
97 <!-- __sanitizer::OnPrint(char const*) -->
4339 <!-- __sanitizer::LargeMmapAllocator<__sanitizer::CrashOnMapUnmap>* const -->
4341 <!-- __sanitizer::LowLevelAllocator* -->
4343 <!-- __sanitizer::LowLevelAllocator* const -->
4345 <!-- const __sanitizer::CrashOnMapUnmap -->
4347 <!-- const __sanitizer::CrashOnMapUnmap* -->
4349 <!-- const __sanitizer::CrashOnMapUnmap* const -->
4351 <!-- void (typedef __sanitizer::uptr, typedef __sanitizer::uptr)* -->
4353 <!-- namespace __sanitizer -->
[all …]
/external/llvm-project/compiler-rt/lib/ubsan_minimal/
Dubsan_minimal_handlers.cpp18 static __sanitizer::atomic_uintptr_t caller_pcs[kMaxCallerPcs];
21 static __sanitizer::atomic_uint32_t caller_pcs_sz;
27 unsigned sz = __sanitizer::atomic_load_relaxed(&caller_pcs_sz); in report_this_error()
34 p = __sanitizer::atomic_load_relaxed(&caller_pcs[i]); in report_this_error()
41 if (!__sanitizer::atomic_compare_exchange_strong( in report_this_error()
42 &caller_pcs_sz, &sz, sz + 1, __sanitizer::memory_order_seq_cst)) in report_this_error()
49 __sanitizer::atomic_store_relaxed(&caller_pcs[sz], caller); in report_this_error()
65 namespace __sanitizer { namespace
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_interface_internal.h39 using __sanitizer::uptr;
40 using __sanitizer::sptr;
41 using __sanitizer::uu64;
42 using __sanitizer::uu32;
43 using __sanitizer::uu16;
44 using __sanitizer::u64;
45 using __sanitizer::u32;
46 using __sanitizer::u16;
47 using __sanitizer::u8;
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_interface_internal.h37 using __sanitizer::uptr;
38 using __sanitizer::sptr;
39 using __sanitizer::uu64;
40 using __sanitizer::uu32;
41 using __sanitizer::uu16;
42 using __sanitizer::u64;
43 using __sanitizer::u32;
44 using __sanitizer::u16;
45 using __sanitizer::u8;
/external/llvm-project/compiler-rt/lib/asan/
Dasan_fuchsia.cpp42 CHECK_EQ(kHighMemEnd, __sanitizer::ShadowBounds.memory_limit - 1); in InitializeShadowMemory()
43 CHECK_EQ(kHighMemBeg, __sanitizer::ShadowBounds.shadow_limit); in InitializeShadowMemory()
44 CHECK_EQ(kHighShadowBeg, __sanitizer::ShadowBounds.shadow_base); in InitializeShadowMemory()
45 CHECK_EQ(kShadowGapEnd, __sanitizer::ShadowBounds.shadow_base - 1); in InitializeShadowMemory()
124 CHECK_NE(__sanitizer::MainThreadStackBase, 0); in CreateMainThread()
125 CHECK_GT(__sanitizer::MainThreadStackSize, 0); in CreateMainThread()
137 const AsanThread::InitOptions options = {__sanitizer::MainThreadStackBase, in CreateMainThread()
138 __sanitizer::MainThreadStackSize}; in CreateMainThread()
/external/llvm-project/compiler-rt/lib/interception/
Dinterception.h27 typedef __sanitizer::uptr SIZE_T;
28 typedef __sanitizer::sptr SSIZE_T;
29 typedef __sanitizer::sptr PTRDIFF_T;
30 typedef __sanitizer::s64 INTMAX_T;
31 typedef __sanitizer::u64 UINTMAX_T;
32 typedef __sanitizer::OFF_T OFF_T;
33 typedef __sanitizer::OFF64_T OFF64_T;
96 const __sanitizer::uptr replacement;
97 const __sanitizer::uptr original;
/external/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
Dsanitizer_wrappers.cpp22 namespace __sanitizer { namespace
107 if (__sanitizer::internal_iserror(res, &rverrno)) { \
120 res = __sanitizer::internal_open(filename, flags, mode); in open()
122 res = __sanitizer::internal_open(filename, flags); in open()
128 unsigned long res = __sanitizer::internal_close(fd); in close()
133 unsigned long res = __sanitizer::internal_##func(arg, buf); \
153 size_t strlen(const char *s) { return __sanitizer::internal_strlen(s); } in strlen()
157 unsigned long res = __sanitizer::internal_mmap( in mmap()
Dsanitizer_symbolize.cpp26 namespace __sanitizer { namespace
56 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_code()
73 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_data()
83 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_demangle()
/external/compiler-rt/lib/interception/
Dinterception.h27 typedef __sanitizer::uptr SIZE_T;
28 typedef __sanitizer::sptr SSIZE_T;
29 typedef __sanitizer::sptr PTRDIFF_T;
30 typedef __sanitizer::s64 INTMAX_T;
31 typedef __sanitizer::OFF_T OFF_T;
32 typedef __sanitizer::OFF64_T OFF64_T;
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc386 PRE_READ(name, __sanitizer::internal_strlen((const char *)name) + 1);
671 PRE_READ(uargs, __sanitizer::internal_strlen((const char *)uargs) + 1);
679 __sanitizer::internal_strlen((const char *)name_user) + 1);
784 __sanitizer::internal_strlen((const char *)dev_name) + 1);
787 __sanitizer::internal_strlen((const char *)dir_name) + 1);
789 POST_WRITE(type, __sanitizer::internal_strlen((const char *)type) + 1);
798 POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
807 POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
813 PRE_READ(path, __sanitizer::internal_strlen((const char *)path) + 1);
825 __sanitizer::internal_strlen((const char *)filename) + 1);
[all …]
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_interface_internal.h24 using __sanitizer::u32;
25 using __sanitizer::u64;
26 using __sanitizer::uptr;
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc41 using __sanitizer::memory_order;
42 using __sanitizer::atomic_load;
43 using __sanitizer::atomic_store;
44 using __sanitizer::atomic_uintptr_t;
692 __msan_unpoison(buf, __sanitizer::struct_stat_sz); in INTERCEPTOR()
705 __msan_unpoison(buf, __sanitizer::struct_stat64_sz); in INTERCEPTOR()
717 if (!res) __msan_unpoison(buf, __sanitizer::struct_stat_sz); in INTERCEPTOR()
726 if (!res) __msan_unpoison(buf, __sanitizer::struct_stat_sz); in INTERCEPTOR()
737 if (!res) __msan_unpoison(buf, __sanitizer::struct_stat64_sz); in INTERCEPTOR()
798 __msan_unpoison(rlim, __sanitizer::struct_rlimit_sz); in INTERCEPTOR()
[all …]

12345678910>>...17