Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Dkcov.c46 struct kcov { struct
81 struct kcov *kcov; member
95 struct kcov *saved_kcov;
114 static struct kcov_remote *kcov_remote_add(struct kcov *kcov, u64 handle) in kcov_remote_add() argument
124 remote->kcov = kcov; in kcov_remote_add()
325 static void kcov_start(struct task_struct *t, struct kcov *kcov, in kcov_start() argument
330 t->kcov = kcov; in kcov_start()
344 t->kcov = NULL; in kcov_stop()
362 static void kcov_reset(struct kcov *kcov) in kcov_reset() argument
364 kcov->t = NULL; in kcov_reset()
[all …]
DMakefile92 obj-$(CONFIG_KCOV) += kcov.o
/Linux-v5.15/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-v5.15/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:
70 fd = open("/sys/kernel/debug/kcov", O_RDWR);
123 it needs to open /sys/kernel/debug/kcov in each thread separately.
126 That is, a parent process opens /sys/kernel/debug/kcov, enables trace mode,
159 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-v5.15/Documentation/features/debug/kcov/
Darch-support.txt2 # Feature name: kcov
4 # description: arch supports kcov for coverage-guided fuzzing
/Linux-v5.15/Documentation/translations/zh_CN/dev-tools/
Dindex.rst32 - kcov
Dtesting-overview.rst78 Documentation/dev-tools/kcov.rst 是能够构建在内核之中,用于在每个任务
/Linux-v5.15/include/linux/
Dsched.h1394 struct kcov *kcov; member
/Linux-v5.15/
DMakefile1039 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
DMAINTAINERS10107 F: Documentation/dev-tools/kcov.rst
10108 F: include/linux/kcov.h
10109 F: include/uapi/linux/kcov.h
10110 F: kernel/kcov.c
10111 F: scripts/Makefile.kcov
/Linux-v5.15/lib/
DKconfig.debug1990 For more details, see Documentation/dev-tools/kcov.rst.