Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/
H A 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 …]
H A DMakefile89 obj-$(CONFIG_KCOV) += kcov.o
/OK3568_Linux_fs/kernel/scripts/
H A 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)
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-5.10/scripts/
H A 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)
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-5.10/scripts/
H A 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)
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.19/scripts/
H A DMakefile.kcov3 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
4 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
5 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
7 export CFLAGS_KCOV := $(kcov-flags-y)
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.19/scripts/
H A DMakefile.kcov3 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
4 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
5 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
7 export CFLAGS_KCOV := $(kcov-flags-y)
/OK3568_Linux_fs/kernel/Documentation/dev-tools/
H A 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 …]
H A Dindex.rst19 kcov
/OK3568_Linux_fs/kernel/Documentation/features/debug/kcov/
H A Darch-support.txt2 # Feature name: kcov
4 # description: arch supports kcov for coverage-guided fuzzing
/OK3568_Linux_fs/kernel/tools/objtool/
H A Delf.h63 u8 kcov : 1; member
H A Dcheck.c1048 if (insn->sec->noinstr && sym->kcov) { in annotate_call_site()
2046 func->kcov = true; in classify_symbols()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h1304 struct kcov *kcov; member
/OK3568_Linux_fs/yocto/poky/documentation/migration-guides/
H A Drelease-notes-3.4.2.rst57 - linux-yocto/5.10/cfg: add kcov feature fragment
H A Drelease-notes-4.0.rst175 - linux-yocto: cfg: add kcov feature fragment
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A D..install.cmd1 …ket.h sockios.h if_bridge.h virtio_9p.h qnxtypes.h btf.h time.h psp-sev.h kcov.h cec-funcs.h ipv6_…
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A D..install.cmd1 …ket.h sockios.h if_bridge.h virtio_9p.h qnxtypes.h btf.h time.h psp-sev.h kcov.h cec-funcs.h ipv6_…
/OK3568_Linux_fs/kernel/
H A DMakefile1047 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
H A DMakefile-bak1048 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
H A DMAINTAINERS9502 F: Documentation/dev-tools/kcov.rst
9503 F: include/linux/kcov.h
9504 F: include/uapi/linux/kcov.h
9505 F: kernel/kcov.c
9506 F: scripts/Makefile.kcov
/OK3568_Linux_fs/kernel/lib/
H A DKconfig.debug1943 For more details, see Documentation/dev-tools/kcov.rst.
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist1.txt3593 -rw-r--r-- root root 1099 ./usr/include/linux/kcov.h
H A Dbuildhistory_filelist2.txt3594 -rw-r--r-- root root 1099 ./usr/include/linux/kcov.h