Sanitizers

The following Clang sanitizers are provided with the compiler, for host code only:

Sanitizer OS Support

AddressSanitizer

Linux, Windows

LeakSanitizer

Linux

MemorySanitizer

Linux

ThreadSanitizer

Linux

UndefinedBehaviorSanitizer

Linux, Windows

For detailed information about each sanitizer, refer to the Clang documentation Clang documentation.