llvm-project/compiler-rt/lib
Dmitry Vyukov 23596fece0 sanitizer_common: don't write into .rodata
setlocale interceptor imitates a write into result,
which may be located in .rodata section.
This is the only interceptor that tries to do this and
I think the intention was to initialize the range for msan.
So do that instead. Writing into .rodata shouldn't happen
(without crashing later on the actual write) and this
traps on my local tsan experiments.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D102161
2021-05-12 07:54:06 +02:00
..
BlocksRuntime
asan [compiler-rt] Handle None value when polling addr2line pipe 2021-05-10 09:46:06 +01:00
builtins [builtins] Fix ABI-incompatibility with GCC for floating-point compare 2021-04-28 12:19:19 +01:00
cfi [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
crt [RISCV][crt] support building without init_array 2020-12-01 17:17:50 +03:00
dfsan [dfsan] Add a DFSan allocator 2021-05-05 00:51:45 +00:00
fuzzer [libFuzzer] Fix stack overflow detection 2021-05-07 08:18:28 -07:00
gwp_asan [Scudo] Use GWP-ASan's aligned allocations and fixup postalloc hooks. 2021-05-10 12:56:18 -07:00
hwasan [hwasan] Fix missing synchronization in AllocThread. 2021-05-05 11:57:18 -07:00
interception [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
lsan [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
memprof sanitizer_common: introduce kInvalidTid/kMainTid 2021-04-30 15:58:05 +02:00
msan [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
orc Re-apply "[ORC-RT] Add unit test infrastructure, extensible_rtti..." 2021-05-11 10:28:33 -07:00
profile [gcov] Delete ancient MSVC workaround 2021-03-12 15:10:12 -08:00
safestack [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
sanitizer_common sanitizer_common: don't write into .rodata 2021-05-12 07:54:06 +02:00
scudo [Scudo] Use GWP-ASan's aligned allocations and fixup postalloc hooks. 2021-05-10 12:56:18 -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 [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
ubsan [Sanitizers] Fix build 2021-04-17 11:15:31 +01:00
ubsan_minimal [compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc 2020-10-12 09:57:12 -07:00
xray [XRay][compiler-rt][x86_64] Fix CFI directives in assembly trampolines 2021-03-06 10:38:27 -08:00
CMakeLists.txt [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. 2021-04-24 16:00:20 -07:00