[PATCH] D76811: [X86] Refactor X86IndirectThunks.cpp to Accomodate Mitigations other than Retpoline [2/3]

Scott Constable via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 16:49:20 PDT 2020


sconstab created this revision.
sconstab added reviewers: craig.topper, andrew.w.kaylor, zbrid, chandlerc.
Herald added a subscriber: hiraditya.
sconstab added a parent revision: D76810: [X86] Generalize the naming of "Retpoline Thunks" and related code to "Indirect Thunks" [1/3].
sconstab added a child revision: D76812: [X86] Add Indirect Thunk Support to X86 to mitigate Load Value Injection (LVI) [3/3].

Introduce a ThunkInserter CRTP base class from which new thunk types can inherit, e.g., thunks to mitigate https://software.intel.com/security-software-guidance/software-guidance/load-value-injection.


https://reviews.llvm.org/D76811

Files:
  llvm/lib/Target/X86/X86IndirectThunks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76811.252697.patch
Type: text/x-patch
Size: 13094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200325/474e82d5/attachment-0001.bin>


More information about the llvm-commits mailing list