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

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 21 10:43:24 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:

I understand. I am actually asking to add explicit statement. E.g. `The dafault is none`.
or none (default)


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


More information about the cfe-commits mailing list