Kernel Sanitizers

KCOV

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.

KASAN

TODO

KMSAN

TODO

KTSAN

TODO


CategoryNeedsContent

KernelSanitizers (last edited 2022-02-02T22:02:32+0000 by KubilayKocak)