llvm-project/compiler-rt/test/msan
Vitaly Buka d9bc851fb3 [tsan]: Fix GNU version of strerror_r interceptor
GNU version of strerror_r returns a result pointer that doesn't match the input
buffer. The result pointer is in fact a pointer to some internal storage.
TSAN was recording a write to this location, which was incorrect.

Fixed https://github.com/google/sanitizers/issues/696

llvm-svn: 304858
2017-06-07 01:53:38 +00:00
..
Linux [tsan]: Fix GNU version of strerror_r interceptor 2017-06-07 01:53:38 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
scandir_test_root
CMakeLists.txt [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests 2016-11-29 19:25:53 +00:00
alloca.cc [msan] Test for alloca handling. 2017-02-24 00:13:28 +00:00
allocator_mapping.cc [mips] XFAIL mips64el tests that fail on clang-cmake-mipsel 2016-08-15 15:14:08 +00:00
allocator_returns_null.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
backtrace.cc Fix typo (ordered comparison between pointer and 0). 2016-10-21 21:37:18 +00:00
c-strdup.c [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
chained_origin.cc [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
chained_origin_empty_stack.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
chained_origin_limits.cc [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
chained_origin_memcpy.cc [compiler-rt][mips] Fix a test for mips. 2017-05-09 17:58:33 +00:00
chained_origin_with_signals.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
check_mem_is_initialized.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
coverage-levels.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
ctermid.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
cxa_atexit.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
death-callback.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
default_blacklist.cc
dlerror.cc [mips][msan] Fix all the XPASSes following r278793 and r278795 2016-08-18 10:50:46 +00:00
dlopen_executable.cc [msan] Don't unpoison phdrs on dlopen(NULL, 0) 2015-11-19 00:55:45 +00:00
dso-origin.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
dtls_test.c Update the link of issue 2016-02-29 08:22:55 +00:00
dtor-base-access.cc Removed xfail, since test is passing in line with expanded dtor sanitizing functionality 2015-08-13 20:54:05 +00:00
dtor-bit-fields.cc Test triangle inheritance member poisoning. 2015-09-03 23:06:13 +00:00
dtor-derived-class.cc Test triangle inheritance member poisoning. 2015-09-03 23:06:13 +00:00
dtor-member.cc added test file 2015-07-17 23:28:02 +00:00
dtor-multiple-inheritance-nontrivial-class-members.cc Failing test highlighting no poisoning when destructor not declared. 2015-09-08 22:41:50 +00:00
dtor-multiple-inheritance.cc Explicit reference to bug highlighted by 2015-09-16 00:41:28 +00:00
dtor-trivial-class-members.cc Test triangle inheritance member poisoning. 2015-09-03 23:06:13 +00:00
dtor-trivial.cpp Explicit reference to bug highlighted by 2015-09-16 00:41:28 +00:00
dtor-vtable-multiple-inheritance.cc Explicit reference to bug highlighted by 2015-09-16 00:41:28 +00:00
dtor-vtable.cc Explicit reference to bug highlighted by 2015-09-16 00:41:28 +00:00
errno.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
fork.cc Replace "|&" with "2>&1 |" to support bash pre-4 2016-12-06 22:02:21 +00:00
fread_fwrite.cc [sanitizer] Move fread and fwrite interceptors to sanitizer_common 2017-03-30 07:25:33 +00:00
ftime.cc [Msan] XFAIL the ftime.cc test on FreeBSD 2015-04-24 07:54:38 +00:00
getaddrinfo-positive.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
getaddrinfo.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
getc_unlocked.c [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
getline.cc [Msan] Fix the getline.cc test to pass on FreeBSD 2015-04-28 10:23:52 +00:00
getloadavg.cc [msan] Intercept getloadavg. 2017-03-16 01:06:22 +00:00
getutent.cc [msan] Intercept getutent and friends. 2016-12-15 22:00:14 +00:00
heap-origin.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
icmp_slt_allones.cc [msan] Regression test for PR24561. 2015-08-25 22:20:15 +00:00
iconv.cc Replace "|&" with "2>&1 |" to support bash pre-4 2016-12-06 22:02:21 +00:00
if_indextoname.cc [Msan] Fix the if_indextoname.cc test to pass on FreeBSD 2015-05-11 14:46:16 +00:00
ifaddrs.cc [Msan] Fix the ifaddrs.cc test to build and pass on FreeBSD 2015-05-06 09:24:02 +00:00
initgroups.cc [Msan] Fix the initgroups.cc test to build on FreeBSD 2015-05-06 09:26:35 +00:00
inline.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
insertvalue_origin.cc [compiler-rt] [msan] Remove stable-runtime requirement for insertvalue_origin.cc 2016-01-12 15:16:34 +00:00
ioctl.cc [msan] Replace AF_INET with AF_UNIX to avoid IPv4 vs IPv6 issues. 2017-04-10 17:58:03 +00:00
ioctl_custom.cc [msan] Replace AF_INET with AF_UNIX to avoid IPv4 vs IPv6 issues. 2017-04-10 17:58:03 +00:00
lit.cfg [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
memcmp_test.cc [MSAN] Fix memcmp_test on MIPS 2016-02-24 13:48:14 +00:00
mktime.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
mmap.cc msan: Enable 48-bit VMA support on aarch64 2016-08-25 17:05:56 +00:00
mmap_below_shadow.cc [MSan] Enable MSAN for aarch64 2015-09-16 15:12:25 +00:00
msan_check_mem_is_initialized.cc [compiler-rt] Remove redundant --check-prefix=CHECK from test 2016-10-23 00:55:12 +00:00
msan_copy_shadow.cc [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
msan_dump_shadow.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
msan_print_shadow.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
msan_print_shadow2.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
msan_print_shadow3.cc [MSan] Endianness should not matter while printing a byte 2016-02-26 06:44:10 +00:00
mul_by_const.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
no_sanitize_memory.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
no_sanitize_memory_prop.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
origin-store-long.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
param_tls_limit.cc [Compiler-rt][MSan] fix param_tls_limit test for platforms where big arguments are sliced in smaller ones 2016-03-01 05:53:30 +00:00
poison_in_free.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
pr32842.c [msan] add a regression test for PR32842 2017-05-11 11:12:26 +00:00
print_stats.cc Use -fsanitize-recover instead of -mllvm -msan-keep-going: tests. 2016-11-07 21:02:56 +00:00
pthread_getattr_np_deadlock.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
pthread_setcancelstate.cc [msan] Intercept pthread_getcancel*. 2015-10-19 23:00:13 +00:00
rand_r.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
readdir64.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
realloc-large-origin.cc [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
realloc-origin.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
recover-dso.cc Use -fsanitize-recover instead of -mllvm -msan-keep-going: tests. 2016-11-07 21:02:56 +00:00
recover.cc Use -fsanitize-recover instead of -mllvm -msan-keep-going: tests. 2016-11-07 21:02:56 +00:00
report-demangling.cc [Msan] Fix the report-demangling.cc test to pass on FreeBSD 2015-05-08 12:10:46 +00:00
scandir.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
scandir_null.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
select.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
select_float_origin.cc [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
select_origin.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
sem_getvalue.cc [sanitizer] Move sem_* to common interceptors. 2015-08-27 18:51:18 +00:00
setlocale.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
signal_stress_test.cc [compiler-rt] [msan] Variadic support for AArch64 2015-12-14 14:15:32 +00:00
sigwait.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
sigwaitinfo.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
stack-origin.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
stack-origin2.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
strerror_r-non-gnu.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
strlen_of_shadow.cc [MSAN][MIPS] Changed memory mapping to support pie executable. 2016-08-16 12:49:54 +00:00
strndup.cc [asan] Add strndup/__strndup interceptors. 2017-06-01 09:37:22 +00:00
strxfrm.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
sync_lock_set_and_test.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
test.h [MSan] Enable MSAN for aarch64 2015-09-16 15:12:25 +00:00
textdomain.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
times.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
tls_reuse.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
tsearch.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
tzset.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
unaligned_read_origin.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
unpoison_string.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
use-after-dtor.cc testing for tail call optimization repression when sanitizing use-after-dtor 2015-07-30 18:46:18 +00:00
use-after-free.cc [MSan] Remove explicit -m64 from RUN lines. 2015-03-02 19:34:27 +00:00
vector_cvt.cc [tests] Remove "supported-target" in favor of "target-arch" lit features. 2016-02-23 01:58:56 +00:00
vector_select.cc Enable this test for PPC64. 2015-07-05 08:11:36 +00:00
wcsncpy.cc Renumber test line number expectations after r302783. 2017-05-11 14:04:23 +00:00