Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reformat_libyuv.c: Suppress -fsanitize=function
Similar to how we suppress `cfi-icall`, the same behavior is also seen with clang 18's undefined behavior sanitizer when built with `-fsanitize=function`. Suppress that as well in functions that call libyuv functions via a function pointer. For an easily reproducible test case of this clang false positive, see: https://github.com/vigneshvg/cpp_c_potential_cfi_bug (this example now also includes the details about `-fsanitize=function`).
- Loading branch information