gccaddress-sanitizersanitizerthread-sanitizerleak-sanitizer

what are the valid sanitizer suppression strings for gcc?


When using sanitizers with gcc one can provide a list of exceptions/suppressions to deal with false positives and such.

the suppression file format is poorly documented.

Each suppression is of the form

name_of_check:path_or_name

What are the valid values for name_of_check?


Solution

  • I resorted to grabbing the values from the source code. These are based on gcc 10.1: