[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 21 10:25:40 PDT 2024


================
@@ -438,6 +438,36 @@ Moved checkers
 Sanitizers
 ----------
 
+- Added the ``-fsanitize-undefined-ignore-overflow-pattern`` flag which can be
+  used to disable specific overflow-dependent code patterns. The supported
+  patterns are: ``add-overflow-test``, ``negated-unsigned-const``, and
+  ``post-decr-while``. The sanitizer instrumentation can be toggled off for all
----------------
vitalybuka wrote:

it does not state what is the default state of the flag.

https://github.com/llvm/llvm-project/pull/104889


More information about the cfe-commits mailing list