[PATCH] D76158: Add inline assembly load hardening mitigation for Load Value Injection (LVI) on X86 [6/6]
Scott Constable via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 26 10:37:20 PDT 2020
sconstab updated this revision to Diff 260173.
sconstab added a comment.
Herald added a project: LLVM.
Addressed comments from @craig.topper.
The coverage of the LVI mitigations for LLVM should match the coverage of the mitigations implemented for binutils. Both should adhere to the guidance outlined in this document: https://software.intel.com/security-software-guidance/insights/deep-dive-load-value-injection.
Mitigations have only been recommended for SGX enclave code. Since SGX enclaves do not support far procedure calls and branches (and therefore far returns), these features do not need to be covered by either mitigation tool.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76158/new/
https://reviews.llvm.org/D76158
Files:
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/CodeGen/X86/lvi-hardening-inline-asm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76158.260173.patch
Type: text/x-patch
Size: 13603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200426/abafb06c/attachment.bin>
More information about the llvm-commits
mailing list