hanchenye-llvm-project/compiler-rt/test/msan
Evgeniy Stepanov 8b80b328d1 [msan] Check sigset_t and sigaction arguments.
Summary:
Check sigset_t arguments in ppoll, sig*wait*, sigprocmask
interceptors, and the entire "struct sigaction" in sigaction. This
can be done because sigemptyset/sigfullset are intercepted and
signal masks should be correctly marked as initialized.

Reviewers: vitalybuka

Subscribers: kubamracek, llvm-commits

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

llvm-svn: 312576
2017-09-05 21:08:56 +00:00
..
Linux [msan] Check sigset_t and sigaction arguments. 2017-09-05 21:08:56 +00:00
Unit
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 [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
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
ftime.cc
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 Replace "|&" with "2>&1 |" to support bash pre-4 2016-12-06 22:02:21 +00:00
if_indextoname.cc
ifaddrs.cc
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 [MSAN][MIPS] Fix fork.cc test on MIPS 2016-12-08 06:30:58 +00:00
lit.site.cfg.in
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
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_setcancelstate.cc
pvalloc.cc [msan] Switch the pvalloc overflow test to a lit test 2017-08-04 07:32:10 +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
sync_lock_set_and_test.cc
test.h
textdomain.cc
times.cc
tls_reuse.cc
tsearch.cc
tzset.cc
unaligned_read_origin.cc
unpoison_string.cc
use-after-dtor.cc
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