[PATCH] D80964: [X86] Add an Unoptimized Load Value Injection (LVI) Load Hardening Pass

Scott Constable via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 16 18:06:03 PDT 2020


sconstab added a comment.

@zbrid From a practical perspective I think you are correct. SESES mitigates a superset of gadgets that this pass mitigates, and therefore for code reuse/maintainability reasons it would make sense to replace this pass with SESES.

>From a security perspective, I think that this could become problematic. It would mean that at `-O0` I would get more security than I would at `-O[1-3]`. IMO optimization levels should not work like that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80964/new/

https://reviews.llvm.org/D80964





More information about the llvm-commits mailing list