Overview of available sanitizers
masterThe Sanitizers project includes several tools for detecting different types of software errors. Note that the core code for these sanitizers is now maintained within the LLVM repository.
User-space Sanitizers
- AddressSanitizer (ASan): Detects addressability issues.
- LeakSanitizer (LSan): Detects memory leaks.
- ThreadSanitizer (TSan): Detects data races and deadlocks (available for C++ and Go).
- MemorySanitizer (MSan): Detects use of uninitialized memory.
- HWASAN (Hardware-assisted AddressSanitizer): A variant of AddressSanitizer designed to consume significantly less memory.
- UBSan (UndefinedBehaviorSanitizer): Detects undefined behavior.