NetBSD/share
kamil 0fe7e51662 Add KCOV - kernel code coverage tracing device
The KCOV driver implements collection of code coverage inside the kernel.
It can be enabled on a per process basis from userland, allowing the kernel
program counter to be collected during syscalls triggered by the same
process.

The device is oriented towards kernel fuzzers, in particular syzkaller.

Currently the only supported coverage type is -fsanitize-coverage=trace-pc.

The KCOV driver was initially developed in Linux. A driver based on the
same concept was then implemented in FreeBSD and OpenBSD.

Documentation is borrowed from OpenBSD and ATF tests from FreeBSD.

This patch has been prepared by Siddharth Muralee, improved by <maxv>
and polished by myself before importing into the mainline tree.

All ATF tests pass.
2019-02-23 03:10:05 +00:00
..
dict Add missing word: cactus. PR 53432. 2018-07-15 06:40:39 +00:00
doc comment out the IFF_TRAILERS stuff that is no longer relevant and add 2019-02-05 19:53:13 +00:00
examples Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently, 2018-12-19 13:57:44 +00:00
i18n Add more aliases for Hebrew and Arabic ISO-8859-... encodings. 2018-06-08 12:07:41 +00:00
legal Split case folding table into separate source file and add full 2016-02-06 10:40:58 +00:00
locale Add characters in "Emoji & Pictographs" from Unicode 10.0.0: 2018-06-03 07:54:51 +00:00
man Add KCOV - kernel code coverage tracing device 2019-02-23 03:10:05 +00:00
me
misc Sometimes negative acknowledgement also shows up as NAK 2019-02-21 01:20:45 +00:00
mk Add KCOV - kernel code coverage tracing device 2019-02-23 03:10:05 +00:00
nls
tabset
terminfo Remove kLFT and kRIT from putty. 2017-02-23 13:22:53 +00:00
tmac Update README. Noted by kre. 2017-07-04 09:32:20 +00:00
wscons Add AltGr modifier for brazilian abnt2 keymap. 2018-05-29 19:45:31 +00:00
xml
Makefile use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
Makefile.inc