Kernel Sanitizers

KCOV is the Kernel Coverage Sanitizer. It will report to userland the coverage data of a thread as it executes in the kernel.

To enable it in the kernel you need the following options in your kernel config:

options COVERAGE
options KCOV

COVERAGE will enable the use of the sanitizer in the kernel. KCOV will enable the userland interface and /dev/kcov.

TODO

TODO

  • kernelsanitizers.txt
  • Last modified: 2026/10/12 10:55
  • (external edit)