Thread (15 messages) 15 messages, 4 authors, 2019-10-28

Re: [PATCH v2 0/3] kcov: collect coverage from usb and vhost

From: Andrey Konovalov <hidden>
Date: 2019-10-24 12:47:46
Also in: kvm, linux-usb, lkml

On Thu, Oct 24, 2019 at 12:04 AM Andrew Morton
[off-list ref] wrote:
On Wed, 23 Oct 2019 17:24:28 +0200 Andrey Konovalov [off-list ref] wrote:
quoted
This patchset extends kcov to allow collecting coverage from the USB
subsystem and vhost workers. See the first patch description for details
about the kcov extension. The other two patches apply this kcov extension
to USB and vhost.

These patches have been used to enable coverage-guided USB fuzzing with
syzkaller for the last few years
I find it surprising that this material is so focused on USB.  Is
there something unique about USB that gave rise to this situation, or
USB fuzzing is the thing that I've been working on that requires this
functionality. But the idea is to make the interface generic enough to
make it useful for other subsystems as well as long as the annotations
are added.
is it expected that the new kcov feature will be used elsewhere in the
kernel?

If the latter, which are the expected subsystems?
Currently we encountered two cases where this is useful: USB and vhost
workers. Most probably there are more subsystems that will benefit
from this kcov extension to get better fuzzing coverage. I don't have
a list of them, but the provided interface should be easy to use when
more of such cases are encountered.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help