Linux Kernel Debugging Tools
Official docs outline
11 sections- Dev tools index
Index of kernel testing and debugging tools.
- KASAN
Kernel Address Sanitizer for memory errors.
- KCSAN
Kernel Concurrency Sanitizer detecting data races with watchpoints and compile-time instrumentation.
- KMSAN
Kernel Memory Sanitizer detecting uses of uninitialized memory with shadow and origin tracking.
- UBSAN
Undefined behavior sanitizer in the kernel.
- KUnit
In-kernel unit testing framework.
- kselftest
In-tree kernel selftests run with make kselftest, including TAP output and test targets.
- kmemleak
Kernel memory leak detector that scans for unreferenced objects via debugfs.
- KCOV
Coverage collection for fuzzing.
- KGDB
Kernel debugging with GDB over serial using kgdboc and kgdbwait.
- Kdump
Crash dump capture using kexec, crashkernel reservation and vmcore analysis.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.