Home
last modified time | relevance | path

Searched refs:kcov (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/kernel/
Dkcov.c47 struct kcov { struct
82 struct kcov *kcov; member
97 struct kcov *saved_kcov;
118 static struct kcov_remote *kcov_remote_add(struct kcov *kcov, u64 handle) in kcov_remote_add() argument
128 remote->kcov = kcov; in kcov_remote_add()
345 static void kcov_start(struct task_struct *t, struct kcov *kcov, in kcov_start() argument
350 t->kcov = kcov; in kcov_start()
364 t->kcov = NULL; in kcov_stop()
382 static void kcov_reset(struct kcov *kcov) in kcov_reset() argument
384 kcov->t = NULL; in kcov_reset()
[all …]
DMakefile90 obj-$(CONFIG_KCOV) += kcov.o
/Linux-v6.1/scripts/
DMakefile.kcov2 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
3 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
4 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
6 export CFLAGS_KCOV := $(kcov-flags-y)
/Linux-v6.1/Documentation/dev-tools/
Dkcov.rst1 kcov: code coverage for fuzzing
4 kcov exposes kernel code coverage information in a form suitable for coverage-
6 exported via the "kcov" debugfs file. Coverage collection is enabled on a task
9 Note that kcov does not aim to collect as much coverage as possible. It aims
15 kcov is also able to collect comparison operands from the instrumented code
39 program using kcov:
71 fd = open("/sys/kernel/debug/kcov", O_RDWR);
124 it needs to open /sys/kernel/debug/kcov in each thread separately.
127 That is, a parent process opens /sys/kernel/debug/kcov, enables trace mode,
160 fd = open("/sys/kernel/debug/kcov", O_RDWR);
[all …]
Dindex.rst24 kcov
Dtesting-overview.rst79 Documentation/dev-tools/kcov.rst is a feature which can be built in to the
/Linux-v6.1/Documentation/features/debug/kcov/
Darch-support.txt2 # Feature name: kcov
4 # description: arch supports kcov for coverage-guided fuzzing
/Linux-v6.1/Documentation/translations/zh_CN/dev-tools/
Dindex.rst33 - kcov
Dtesting-overview.rst78 Documentation/dev-tools/kcov.rst 是能够构建在内核之中,用于在每个任务
/Linux-v6.1/include/linux/
Dsched.h1420 struct kcov *kcov; member
/Linux-v6.1/
DMakefile1086 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
DMAINTAINERS11045 F: Documentation/dev-tools/kcov.rst
11046 F: include/linux/kcov.h
11047 F: include/uapi/linux/kcov.h
11048 F: kernel/kcov.c
11049 F: scripts/Makefile.kcov
/Linux-v6.1/lib/
DKconfig.debug2008 For more details, see Documentation/dev-tools/kcov.rst.