[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
Wed Aug 22 02:19:47 PDT 2018


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

Update fixing a tiny bug. The tests actually cover this, but the regex hides
it.


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.161903.patch
Type: text/x-patch
Size: 46899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/49f30094/attachment.bin>


More information about the llvm-commits mailing list