| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | kcov.c | 46 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 D | Makefile | 89 obj-$(CONFIG_KCOV) += kcov.o
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | Makefile.kcov | 2 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 D | Makefile.kcov | 2 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 D | Makefile.kcov | 2 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 D | Makefile.kcov | 3 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 D | Makefile.kcov | 3 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 D | kcov.rst | 1 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 D | index.rst | 19 kcov
|
| /OK3568_Linux_fs/kernel/Documentation/features/debug/kcov/ |
| H A D | arch-support.txt | 2 # Feature name: kcov 4 # description: arch supports kcov for coverage-guided fuzzing
|
| /OK3568_Linux_fs/kernel/tools/objtool/ |
| H A D | elf.h | 63 u8 kcov : 1; member
|
| H A D | check.c | 1048 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 D | sched.h | 1304 struct kcov *kcov; member
|
| /OK3568_Linux_fs/yocto/poky/documentation/migration-guides/ |
| H A D | release-notes-3.4.2.rst | 57 - linux-yocto/5.10/cfg: add kcov feature fragment
|
| H A D | release-notes-4.0.rst | 175 - 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.cmd | 1 …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.cmd | 1 …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 D | Makefile | 1047 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
|
| H A D | Makefile-bak | 1048 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
|
| H A D | MAINTAINERS | 9502 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 D | Kconfig.debug | 1943 For more details, see Documentation/dev-tools/kcov.rst.
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/files/ |
| H A D | buildhistory_filelist1.txt | 3593 -rw-r--r-- root root 1099 ./usr/include/linux/kcov.h
|
| H A D | buildhistory_filelist2.txt | 3594 -rw-r--r-- root root 1099 ./usr/include/linux/kcov.h
|