Extra Credit

Sanitizers (ASan, TSan, UBSan)

Official docs outline

10 sections
  1. AddressSanitizer

    Heap, stack and global overflows.

  2. ThreadSanitizer

    Data race detection with -fsanitize=thread.

  3. MemorySanitizer

    Uninitialized reads via -fsanitize=memory.

  4. UndefinedBehaviorSanitizer

    Integer overflow, null deref and alignment checks.

  5. LeakSanitizer

    Leak detection integrated with ASan.

  6. HWASan

    Hardware-assisted AddressSanitizer using tagged pointers.

  7. SanitizerCoverage

    Coverage instrumentation for fuzzing.

  8. Control flow integrity

    Forward-edge CFI and -fsanitize=cfi.

  9. SafeStack

    Separating the unsafe stack from the safe stack.

  10. Sanitizers wiki

    Algorithms and flags for the sanitizer family.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 11