llvm-project/clang/test
Alexandros Lamprineas 1bd5ea968e [ARM] Mitigate the cve-2021-35465 security vulnurability.
Recently a vulnerability issue is found in the implementation of VLLDM
instruction in the Arm Cortex-M33, Cortex-M35P and Cortex-M55. If the
VLLDM instruction is abandoned due to an exception when it is partially
completed, it is possible for subsequent non-secure handler to access
and modify the partial restored register values. This vulnerability is
identified as CVE-2021-35465.

The mitigation sequence varies between v8-m and v8.1-m as follows:

v8-m.main
---------
mrs        r5, control
tst        r5, #8       /* CONTROL_S.SFPA */
it         ne
.inst.w    0xeeb00a40   /* vmovne s0, s0 */
1:
vlldm      sp           /* Lazy restore of d0-d16 and FPSCR. */

v8.1-m.main
-----------
vscclrm    {vpr}        /* Clear VPR. */
vlldm      sp           /* Lazy restore of d0-d16 and FPSCR. */

More details on
developer.arm.com/support/arm-security-updates/vlldm-instruction-security-vulnerability

Differential Revision: https://reviews.llvm.org/D109157
2021-09-16 12:56:43 +01:00
..
APINotes
ARCMT Improve type printing of const arrays to normalize array-of-const and const-array 2021-09-13 19:17:05 -07:00
AST Improve type printing of size-dependent const arrays to normalize array-of-const and const-array 2021-09-15 13:46:37 -07:00
ASTMerge
Analysis [Analyzer] ConversionChecker: track back the cast expression 2021-09-16 11:42:54 +02:00
CXX PR51874: Fix diagnostics for defaulted, implicitly deleted 'operator!='. 2021-09-15 15:43:02 -07:00
ClangScanDeps [ClangScanDeps][test] Add -fmodules-cache-path=DIR/cache to make diagnostics.c hermetic 2021-09-13 13:17:55 -07:00
CodeCompletion [CodeCompletion] Provide placeholders for known attribute arguments 2021-08-19 14:03:41 +02:00
CodeGen [PGO] Change ThinLTO test for targets with loop unrolling disabled 2021-09-16 11:13:16 +01:00
CodeGenCUDA [CUDA] Fix static device variables with -fgpu-rdc 2021-08-25 09:31:22 +02:00
CodeGenCXX [IR] Reduce max supported integer from 2^24-1 to 2^23. 2021-09-14 07:52:10 -07:00
CodeGenCoroutines Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
CodeGenHIP
CodeGenObjC Put code that avoids heapifying local blocks behind a flag 2021-09-14 14:06:05 -04:00
CodeGenObjCXX Put code that avoids heapifying local blocks behind a flag 2021-09-14 14:06:05 -04:00
CodeGenOpenCL [OpenCL] Supports optional 64-bit floating point types in C++ for OpenCL 2021 2021-09-03 10:58:05 +01:00
CodeGenOpenCLCXX [C++4OpenCL] Introduces __remove_address_space utility 2021-08-06 10:40:22 +01:00
CodeGenSYCL Ensure field-annotations on pointers properly match the AS of the field. 2021-09-01 06:12:24 -07:00
Coverage Add a target triple to fix failures on MS build bots. 2021-06-30 17:27:26 -07:00
CoverageMapping Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
Driver [ARM] Mitigate the cve-2021-35465 security vulnurability. 2021-09-16 12:56:43 +01:00
FixIt Implement P1949 2021-08-18 07:33:14 -04:00
Format Remove redundant test that was causing intermittent build bot failures. 2021-06-15 12:46:03 -07:00
Frontend [Clang] add support for error+warning fn attrs 2021-08-25 10:34:18 -07:00
Headers Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
Import
Index Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
Integration
InterfaceStubs [ifs][elfabi] Merge llvm-ifs/elfabi tools 2021-07-19 11:23:19 -07:00
Interpreter Reland "[clang-repl] Allow passing in code as positional arguments." 2021-07-10 17:54:00 +00:00
Layout [AIX] Check for typedef properly when getting preferred type align 2021-09-08 16:21:52 -04:00
Lexer Implement delimited escape sequences. 2021-09-15 09:54:49 -04:00
LibClang libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
Misc [RISCV] Add SiFive cores E and S series 2021-09-08 23:59:04 -07:00
Modules [modules] Fix miscompilation when using two RecordDecl definitions with the same name. 2021-08-30 17:51:38 -07:00
OpenMP Revert "[clang] Check unsupported types in expressions" 2021-09-13 15:34:21 +03:00
PCH Put code that avoids heapifying local blocks behind a flag 2021-09-14 14:06:05 -04:00
Parser Implement delimited escape sequences. 2021-09-15 09:54:49 -04:00
ParserSYCL
Preprocessor Implement delimited escape sequences. 2021-09-15 09:54:49 -04:00
Profile Update: clang/test/Profile/gcc-flag-compatibility.c to have -flto on AIX 2021-08-09 14:57:38 +00:00
Refactor
Rewriter
Sema Implement delimited escape sequences. 2021-09-15 09:54:49 -04:00
SemaCUDA [HIP] Warn capture this pointer in device lambda 2021-09-08 13:45:26 -04:00
SemaCXX [IR] Reduce max supported integer from 2^24-1 to 2^23. 2021-09-14 07:52:10 -07:00
SemaObjC [Sema][ObjC] Allow conversions between pointers to ObjC pointers and 2021-08-25 10:22:29 -07:00
SemaObjCXX [clang] C++98 implicit moves are back with a vengeance 2021-07-13 19:16:49 +02:00
SemaOpenCL [OpenCL] Supports optional program scope global variables in C++ for OpenCL 2021 2021-09-16 12:48:01 +01:00
SemaOpenCLCXX [OpenCL] Initialize temporaries in the private address space 2021-09-13 12:56:04 +01:00
SemaSYCL Revert "[clang] Check unsupported types in expressions" 2021-09-13 15:34:21 +03:00
SemaTemplate [clang] Enable the special enable_if_t diagnostics for libc++'s __enable_if_t as well. 2021-09-11 13:44:51 -05:00
TableGen
Templight
Tooling [clang][tooling] Accept Clang invocations with multiple jobs 2021-07-27 10:47:55 +02:00
Unit
VFS [Modules] Do not remove failed modules after the control block phase 2021-08-17 16:46:51 -07:00
clang-rename
utils/update_cc_test_checks [llvm-lit] unbreak clang-only builds by not assuming llvm-lit in build dir 2021-08-31 18:57:47 +03:00
.clang-format
CMakeLists.txt Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-09-03 13:18:09 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-09-03 13:18:09 +00:00
lit.site.cfg.py.in libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
make_test_dirs.pl