llvm-project/compiler-rt/lib/msan
Dmitry Vyukov 395f737c33 msan: check that ucontext_t is initialized on signal return
A signal handler can alter ucontext_t to affect execution after
the signal returns. Check that the contents are initialized.
Restoring unitialized values in registers can't be good.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D116209
2022-01-05 13:20:50 +01:00
..
tests [msan] Break optimization in memccpy tests 2021-12-22 14:45:20 +01:00
.clang-format Revert "sanitizers: increase .clang-format columns to 100" 2021-07-28 09:40:21 +02:00
CMakeLists.txt msan: clean up and enable format string checking 2021-08-13 13:45:02 +02:00
msan.cpp [NFC][msan] Split ThreadStart and Init 2021-11-08 18:58:33 -08:00
msan.h [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
msan.syms.extra
msan_allocator.cpp [sanitizer] Support IsRssLimitExceeded in all sanitizers 2021-12-03 12:45:44 -08:00
msan_allocator.h [msan] Remove dead function/fields 2021-04-29 23:08:39 +00:00
msan_chained_origin_depot.cpp [NFC][sanitizer] Return StackDepotStats by value 2021-09-28 15:42:21 -07:00
msan_chained_origin_depot.h [NFC][sanitizer] Return StackDepotStats by value 2021-09-28 15:42:21 -07:00
msan_flags.h
msan_flags.inc
msan_ignorelist.txt [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
msan_interceptors.cpp msan: check that ucontext_t is initialized on signal return 2022-01-05 13:20:50 +01:00
msan_interface_internal.h [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
msan_linux.cpp [msan] Fix ppc64 format warning 2021-08-14 18:43:24 -07:00
msan_new_delete.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
msan_origin.h [msan] Fix comment of __msan::Origin::isHeapOrigin 2020-06-14 23:58:49 -07:00
msan_poisoning.cpp [msan] Don't track origns in signal handlers 2021-08-05 13:53:20 -07:00
msan_poisoning.h
msan_report.cpp [msan] Print both shadow and user address 2021-10-07 17:56:46 -07:00
msan_report.h
msan_thread.cpp Partially revert "[NFC][msan] Split ThreadStart and Init" 2021-11-08 19:16:55 -08:00
msan_thread.h [msan] Block signals in MsanThread::Init 2021-11-09 18:23:55 -08:00