[PATCH] D148827: -fsanitize=function: support C

Peter Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 10:56:45 PDT 2023


peter.smith added a comment.

I agree with the reasoning. Can you update the documentation in clang/docs/UndefinedBehaviorSanitizer.rst to include C and state the known limitation. After D148573 <https://reviews.llvm.org/D148573> it says:

  -  ``-fsanitize=function``: Indirect call of a function through a
       function pointer of the wrong type (C++ only).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148827



More information about the cfe-commits mailing list