[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
Thu Apr 9 18:44:12 PDT 2020


sconstab updated this revision to Diff 256471.
sconstab added a comment.

There is now a more complete set of documentation for instructions that must be manually mitigated:

https://software.intel.com/security-software-guidance/insights/deep-dive-load-value-injection#specialinstructions

- The asm parser now emits a warning containing the above link whenever it encounters an instruction that cannot be automatically mitigated.
- Now emitting a warning if a REP/REPNE prefix is encountered without an accompanying instruction on the same line.


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.256471.patch
Type: text/x-patch
Size: 12916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200410/7f8546d9/attachment.bin>


More information about the llvm-commits mailing list