[PATCH] D50837: [x86/SLH] Teach SLH to harden against the "ret2spec" attack by implementing the proposed mitigation technique described in the original design document.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 16 03:25:57 PDT 2018


chandlerc updated this revision to Diff 160988.
chandlerc added a comment.

Include a minor update to the documentation to make it clear that this
component is now implemented, and only jumptables remain unhandled (but can be
handled with retpolines).


Repository:
  rL LLVM

https://reviews.llvm.org/D50837

Files:
  llvm/docs/SpeculativeLoadHardening.md
  llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
  llvm/test/CodeGen/X86/speculative-load-hardening-call-and-ret.ll
  llvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
  llvm/test/CodeGen/X86/speculative-load-hardening.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50837.160988.patch
Type: text/x-patch
Size: 46899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180816/5e65cb53/attachment.bin>


More information about the llvm-commits mailing list