commit | bece17300ae16be310e1f241e60941645c77fcaa | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Thu Dec 23 09:06:37 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jan 05 04:24:03 2022 -0800 |
tree | 394aed1a96be8474b196dae0a76717da05f8613f | |
parent | 41654f10f268a8581be05b71a603986844daeca0 [diff] |
msan: account for AVX state when unpoison ucontext_t ucontext_t can be larger than its static size if it contains AVX state and YMM/ZMM registers. Currently a signal handler that tries to access that state can produce false positives with random origins on stack. Account for the additional ucontext_t state. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D116208 GitOrigin-RevId: 1298273e8206a8fc28369c1ac8dc71a0c9b3851e