llvm-project/compiler-rt/lib
Ilya Leoshkevich 6897111231 [MSan] Add COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED
Summary:
MSan not implementing COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED looks
like an omission - this macro makes it possible for those intercepted
functions, which libc needs very early, to work before interceptors are
initialized (i.e. before REAL() is usable).

While currently there are no observable practical problems in this
area, changes in libc or in MSan runtime may provoke them. Therefore,
change MSan to work like ASan and TSan already do - use internal
functions in certain interceptors when initialization is not complete.

Reviewers: eugenis, vitalybuka

Reviewed By: eugenis

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D76969
2020-04-03 17:18:53 +02:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [ASan] Fix issue where system log buffer was not cleared after reporting an issue. 2020-03-26 10:56:17 -07:00
builtins [builtins] Build for arm64e for Darwin 2020-03-11 22:01:44 -07:00
cfi Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
crt [cmake] Strip quotes in compiler-rt/lib/crt; error if checks fail 2020-03-09 15:52:39 -07:00
dfsan [compiler-rt] Remove some cpplint filters 2019-09-12 02:20:36 +00:00
fuzzer [compiler-rt] Add ConsumeRandomLengthString() version without arguments. 2020-03-23 16:32:37 -07:00
gwp_asan [GWP-ASan] Use functions in backtrace test, not line numbers. 2020-03-26 10:10:24 -07:00
hwasan hwasan_symbolize: allow 0x in the address field 2020-02-03 18:23:48 -08:00
interception Fix check-interception link error in compiler-rt debug mode 2019-10-10 23:30:54 +00:00
lsan [lsan] Support LeakSanitizer runtime on Fuchsia 2020-01-28 11:34:53 -08:00
msan [MSan] Add COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED 2020-04-03 17:18:53 +02:00
profile Fix simultaneous .gcda creation 2020-04-01 10:29:50 +09:00
safestack compiler-rt: Rename .cc file in lib/{interception/tests,safestack} to .cpp 2019-08-01 13:56:52 +00:00
sanitizer_common [compiler-rt] Fall back to internal_uname() when called early 2020-03-28 03:14:19 +01:00
scudo scudo: Create a public include directory. NFCI. 2020-03-23 18:23:29 -07:00
stats compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
tsan tsan: don't check libc dependency on FreeBSD 2020-04-02 12:46:28 +02:00
ubsan [ubsan] Add support for -fsanitize=nullability-* suppressions 2020-02-28 14:30:40 -08:00
ubsan_minimal compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
xray [XRay] Record the XRay data size as a property of the VMO 2020-03-19 19:01:05 -07:00
CMakeLists.txt Reland "[compiler-rt] Simple crtbegin.o and crtend.o implementation" 2019-04-30 18:13:22 +00:00