History log of /openbsd-current/share/man/man4/kcov.4
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 30-Dec-2021 anton

minor tweak


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.9 08-Dec-2020 anton

correct pseudo-device in synopsis


Revision tags: OPENBSD_6_8_BASE
# 1.8 01-Aug-2020 anton

Add support for remote coverage to kcov. Remote coverage is collected
from threads other than the one currently having kcov enabled. A thread
with kcov enabled occasionally delegates work to another thread,
collecting coverage from such threads improves the ability of syzkaller
to correlate side effects in the kernel caused by issuing a syscall.

Remote coverage is divided into subsystems. The only supported subsystem
right now collects coverage from scheduled tasks and timeouts on behalf
of a kcov enabled thread. In order to make this work `struct task' and
`struct timeout' must be extended with a new field keeping track of the
process that scheduled the task/timeout. Both aforementioned structures
have therefore increased with the size of a pointer on all
architectures.

The kernel API is documented in a new kcov_remote_register(9) manual.

Remote coverage is also supported by kcov on NetBSD and Linux.

ok mpi@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 20-Jan-2019 anton

Add support for a new kcov trace mode called KCOV_MODE_TRACE_CMP where
comparison instructions and switch statements are being traced. This mode will
be used during fuzzing to generate even more coverage. The same mode is also
supported by FreeBSD and Linux.

Thanks to jmc@ for improving the manual bits.

ok bluhm@ visa@


# 1.6 27-Dec-2018 anton

Make KIOENABLE accept a mode argument, currently limited to KCOV_MODE_TRACE_PC.

Thanks to jmc@ for improving the manual bits.

ok deraadt@ mpi@


Revision tags: OPENBSD_6_4_BASE
# 1.5 30-Sep-2018 anton

use a more common wording the authors section


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@


# 1.9 08-Dec-2020 anton

correct pseudo-device in synopsis


Revision tags: OPENBSD_6_8_BASE
# 1.8 01-Aug-2020 anton

Add support for remote coverage to kcov. Remote coverage is collected
from threads other than the one currently having kcov enabled. A thread
with kcov enabled occasionally delegates work to another thread,
collecting coverage from such threads improves the ability of syzkaller
to correlate side effects in the kernel caused by issuing a syscall.

Remote coverage is divided into subsystems. The only supported subsystem
right now collects coverage from scheduled tasks and timeouts on behalf
of a kcov enabled thread. In order to make this work `struct task' and
`struct timeout' must be extended with a new field keeping track of the
process that scheduled the task/timeout. Both aforementioned structures
have therefore increased with the size of a pointer on all
architectures.

The kernel API is documented in a new kcov_remote_register(9) manual.

Remote coverage is also supported by kcov on NetBSD and Linux.

ok mpi@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 20-Jan-2019 anton

Add support for a new kcov trace mode called KCOV_MODE_TRACE_CMP where
comparison instructions and switch statements are being traced. This mode will
be used during fuzzing to generate even more coverage. The same mode is also
supported by FreeBSD and Linux.

Thanks to jmc@ for improving the manual bits.

ok bluhm@ visa@


# 1.6 27-Dec-2018 anton

Make KIOENABLE accept a mode argument, currently limited to KCOV_MODE_TRACE_PC.

Thanks to jmc@ for improving the manual bits.

ok deraadt@ mpi@


Revision tags: OPENBSD_6_4_BASE
# 1.5 30-Sep-2018 anton

use a more common wording the authors section


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@


# 1.8 01-Aug-2020 anton

Add support for remote coverage to kcov. Remote coverage is collected
from threads other than the one currently having kcov enabled. A thread
with kcov enabled occasionally delegates work to another thread,
collecting coverage from such threads improves the ability of syzkaller
to correlate side effects in the kernel caused by issuing a syscall.

Remote coverage is divided into subsystems. The only supported subsystem
right now collects coverage from scheduled tasks and timeouts on behalf
of a kcov enabled thread. In order to make this work `struct task' and
`struct timeout' must be extended with a new field keeping track of the
process that scheduled the task/timeout. Both aforementioned structures
have therefore increased with the size of a pointer on all
architectures.

The kernel API is documented in a new kcov_remote_register(9) manual.

Remote coverage is also supported by kcov on NetBSD and Linux.

ok mpi@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 20-Jan-2019 anton

Add support for a new kcov trace mode called KCOV_MODE_TRACE_CMP where
comparison instructions and switch statements are being traced. This mode will
be used during fuzzing to generate even more coverage. The same mode is also
supported by FreeBSD and Linux.

Thanks to jmc@ for improving the manual bits.

ok bluhm@ visa@


# 1.6 27-Dec-2018 anton

Make KIOENABLE accept a mode argument, currently limited to KCOV_MODE_TRACE_PC.

Thanks to jmc@ for improving the manual bits.

ok deraadt@ mpi@


Revision tags: OPENBSD_6_4_BASE
# 1.5 30-Sep-2018 anton

use a more common wording the authors section


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@


# 1.7 20-Jan-2019 anton

Add support for a new kcov trace mode called KCOV_MODE_TRACE_CMP where
comparison instructions and switch statements are being traced. This mode will
be used during fuzzing to generate even more coverage. The same mode is also
supported by FreeBSD and Linux.

Thanks to jmc@ for improving the manual bits.

ok bluhm@ visa@


# 1.6 27-Dec-2018 anton

Make KIOENABLE accept a mode argument, currently limited to KCOV_MODE_TRACE_PC.

Thanks to jmc@ for improving the manual bits.

ok deraadt@ mpi@


Revision tags: OPENBSD_6_4_BASE
# 1.5 30-Sep-2018 anton

use a more common wording the authors section


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@


# 1.6 27-Dec-2018 anton

Make KIOENABLE accept a mode argument, currently limited to KCOV_MODE_TRACE_PC.

Thanks to jmc@ for improving the manual bits.

ok deraadt@ mpi@


Revision tags: OPENBSD_6_4_BASE
# 1.5 30-Sep-2018 anton

use a more common wording the authors section


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@


# 1.5 30-Sep-2018 anton

use a more common wording the authors section


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@


# 1.4 25-Aug-2018 anton

process -> thread


# 1.3 21-Aug-2018 anton

cope with latest config changes; ok jmc@


# 1.2 19-Aug-2018 jmc

tweak previous;


# 1.1 19-Aug-2018 anton

Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and
fixed. This effort will continue.

kcov is limited to architectures using Clang as their default compiler and is
not enabled by default.

With help from mpi@, thanks!

ok kettenis@ mpi@ visa@