JustinStitt wrote:

@kees @vitalybuka 3ef8d3c implements `-fsanitize=pattern-exclusion=`.

It supports the following values:
`all` - turn all supported pattern exclusions ON
`none` - turn them all off (has precedence over others, I will add a warning 
soon if users try to use this with "all" or any of the other ones
`add-overflow-test` - excludes the pattern `if (a + b < a)` from sanitizers
`negated-unsigned-const` - excludes the pattern `-5UL` (this needs renaming 
because it doesn't only work on const)
`post-decr-while` - excludes the pattern `while (i--)` where `i` is unsigned.

I made an effort to rename everything in the source too, not just the 
user-facing stuff. The tests are updated too.

https://github.com/llvm/llvm-project/pull/100272
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to