hanchenye-llvm-project/compiler-rt/test/msan
Matt Morehouse f113deaa3c [MSan] Enable use-after-dtor instrumentation by default.
Summary:
Enable the compile-time flag -fsanitize-memory-use-after-dtor by
default. Note that the run-time option MSAN_OPTIONS=poison_in_dtor=1
still needs to be enabled for destructors to be poisoned.

Reviewers: eugenis, vitalybuka, kcc

Reviewed By: eugenis, vitalybuka

Subscribers: cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D37860

llvm-svn: 322221
2018-01-10 20:27:48 +00:00
..
Linux [msan] Intercept sendmmsg, recvmmsg. 2018-01-03 23:32:15 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
scandir_test_root
CMakeLists.txt [msan] LIT: Add lld testing config 2017-12-12 19:17:52 +00:00
__strxfrm_l.cc [msan] Intercept __strxfrm_l. 2017-10-25 21:40:17 +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 [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +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
dso-origin.cc
dtls_test.c
dtor-base-access.cc
dtor-bit-fields.cc
dtor-derived-class.cc
dtor-member.cc [MSan] Enable use-after-dtor instrumentation by default. 2018-01-10 20:27:48 +00:00
dtor-multiple-inheritance-nontrivial-class-members.cc
dtor-multiple-inheritance.cc
dtor-trivial-class-members.cc
dtor-trivial.cpp
dtor-vtable-multiple-inheritance.cc
dtor-vtable.cc
errno.cc
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
fstat.cc Add MSan interceptor for fstat(2) 2018-01-03 22:28:39 +00:00
ftime.cc Disable test/msan/ftime.cc on NetBSD 2017-12-09 00:36:17 +00:00
getaddrinfo-positive.cc
getaddrinfo.cc
getc_unlocked.c
getline.cc
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
icmp_slt_allones.cc
iconv.cc Fix test/msan/iconv.cc on NetBSD 2017-12-09 00:41:59 +00:00
if_indextoname.cc
ifaddrs.cc Fix test/msan/ifaddrs.cc for NetBSD 2017-12-09 00:36:49 +00:00
initgroups.cc
inline.cc
insertvalue_origin.cc
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 Add NetBSD improvements in sanitizers 2017-10-25 17:09:05 +00:00
lit.site.cfg.in [msan] LIT: Add lld testing config 2017-12-12 19:17:52 +00:00
memcmp_test.cc
mktime.cc
mmap.cc msan: Enable 48-bit VMA support on aarch64 2016-08-25 17:05:56 +00:00
mmap_below_shadow.cc
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_print_shadow.cc
msan_print_shadow2.cc
msan_print_shadow3.cc Update sanitizer tests for C++14 default in Clang 2017-12-09 13:35:52 +00:00
mul_by_const.cc
no_sanitize_memory.cc
no_sanitize_memory_prop.cc
origin-store-long.cc
param_tls_limit.cc
poison_in_free.cc
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
pthread_getname_np.cc [msan] Intercept pthread_getname_np. 2017-12-28 23:06:51 +00:00
pthread_setcancelstate.cc
pvalloc.cc Disable test/msan/pvalloc.cc on NetBSD 2017-12-09 00:37:20 +00:00
rand_r.cc
readdir64.cc
realloc-large-origin.cc [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
realloc-origin.cc
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
scandir.cc
scandir_null.cc
select.cc
select_float_origin.cc
select_origin.cc
sem_getvalue.cc
setlocale.cc
sigaction.cc [msan] Check sigset_t and sigaction arguments. 2017-09-05 21:08:56 +00:00
signal_stress_test.cc
sigwait.cc [msan] Check sigset_t and sigaction arguments. 2017-09-05 21:08:56 +00:00
sigwaitinfo.cc
stack-origin.cc
stack-origin2.cc
strerror_r-non-gnu.c
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] Intercept __strxfrm_l. 2017-10-25 21:40:17 +00:00
sync_lock_set_and_test.cc
test.h
textdomain.cc Revert change in test/msan/textdomain.cc for NetBSD 2017-12-09 02:38:58 +00:00
times.cc
tls_reuse.cc
tsearch.cc Disable test/msan/tsearch.cc on NetBSD 2017-12-09 00:37:58 +00:00
tzset.cc
unaligned_read_origin.cc
unpoison_string.cc
use-after-dtor.cc [MSan] Enable use-after-dtor instrumentation by default. 2018-01-10 20:27:48 +00:00
use-after-free.cc
vector_cvt.cc
vector_select.cc
wcsncpy.cc Renumber test line number expectations after r302783. 2017-05-11 14:04:23 +00:00