Code coverage for fuzzing
modulename: kcov.ko
configname: CONFIG_KCOV
Linux Kernel Configuration
└─>Kernel hacking
└─>Kernel Testing and Coverage
└─>Code coverage for fuzzing
In linux kernel since version 3.10 (release Date: 2013-06-30)
KCOV exposes kernel code coverage information in a form suitable
for coverage-guided fuzzing (randomized testing).
If RANDOMIZE_BASE is enabled, PC values will not be stable across
different machines and across reboots. If you need stable PC values,
disable RANDOMIZE_BASE.
For more details, see
for coverage-guided fuzzing (randomized testing).
If RANDOMIZE_BASE is enabled, PC values will not be stable across
different machines and across reboots. If you need stable PC values,
disable RANDOMIZE_BASE.
For more details, see
source code:
depends
CONFIG_ARCH_HAS_KCOVCONFIG_CC_HAS_SANCOV_TRACE_PC or CONFIG_GCC_PLUGINS
CONFIG_CLANG_VERSION=CONFIG_130000 or CONFIG_GCC_VERSIONCONFIG_120000 or CONFIG_HAVE_NOINSTR_HACK or NOT CONFIG_ARCH_WANTS_NO_INSTR