[PATCH] D37367: [msan] Check sigset_t and sigaction arguments.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 18:26:59 PDT 2017
eugenis created this revision.
Herald added a subscriber: kubamracek.
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.
https://reviews.llvm.org/D37367
Files:
compiler-rt/lib/msan/msan_interceptors.cc
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/test/msan/Linux/poll.cc
compiler-rt/test/msan/sigaction.cc
compiler-rt/test/msan/sigwait.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37367.113498.patch
Type: text/x-patch
Size: 8354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/782ccc49/attachment.bin>
More information about the llvm-commits
mailing list