Skip to content

google/sanitizers

Folders and files

NameName
Last commit message
Last commit date
Aug 21, 2021
Aug 23, 2024
Nov 2, 2024
Apr 22, 2024
Jun 6, 2024
Feb 12, 2021
Sep 14, 2022
Nov 8, 2019
Dec 29, 2024

Repository files navigation

sanitizers

This project is the home for Sanitizers: AddressSanitizer, MemorySanitizer, ThreadSanitizer, LeakSanitizer, and more The actual code resides in the LLVM repository. Here we keep extended documentation, bugfixes and some helper code.

The documentation for our tools:

  • AddressSanitizer (detects addressability issues) and LeakSanitizer (detects memory leaks)
  • ThreadSanitizer (detects data races and deadlocks) for C++ and Go
  • MemorySanitizer (detects use of uninitialized memory)
  • HWASAN, or Hardware-assisted AddressSanitizer, a newer variant of AddressSanitizer that consumes much less memory
  • UBSan, or UndefinedBehaviorSanitizer

Some of the sanitizers are also available for different OS Kernels: