[PATCH] D134831: [Clang][Sema] Add -Wcast-function-type-strict

Sami Tolvanen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 28 14:34:54 PDT 2022


samitolvanen added reviewers: pcc, nickdesaulniers, kees.
samitolvanen added a comment.

Any thoughts about adding a stricter version of -Wcast-function-type to make it easier to catch potential CFI issues? I also considered also gating this behind `-fsanitize=cfi-icall/kcfi`, but having a separate warning flag would be more consistent.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134831



More information about the cfe-commits mailing list