Technology
Sanitizers (KASAN, ASan, UBSan)
Compiler instrumentation that detects memory and concurrency bugs at run time, in the kernel and in userspace.
- Kind
- technique
Recent proposals
All 3- In reviewmm: kasan: skip KASAN for GFP_HIGHUSER
- RFC
- v2
- Accepted
- In reviewKMSAN: Move per-page metadata out of struct page
- RFC
- v3
- Accepted
- In reviewtracing/fprobe: Do not let KASAN check the $stackN read
- RFC
- v1
- Accepted
Implementations
4- compiler-rt and sanitizersSubsystem
Runtime libraries for sanitizers, profiling and builtins.
- GCCProject
GNU Compiler Collection (read-only GitHub mirror; development happens on gcc-patches).
- Linux KASANSubsystem
Kernel address sanitizer.
- LLVMProject
Compiler infrastructure: Clang, LLVM, LLD, LLDB, MLIR, libc++ and compiler-rt.
Used by
1Coverage-guided kernel fuzzer behind syzbot.
Related technologies
1Language, compiler and hardware approaches to eliminating memory-safety bugs.