[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1571333592.git.andreyknvl@google.com>
Date: Thu, 17 Oct 2019 19:44:12 +0200
From: Andrey Konovalov <andreyknvl@...gle.com>
To: linux-usb@...r.kernel.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Dmitry Vyukov <dvyukov@...gle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Stern <stern@...land.harvard.edu>,
"Michael S . Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Steven Rostedt <rostedt@...dmis.org>,
David Windsor <dwindsor@...il.com>,
Elena Reshetova <elena.reshetova@...el.com>,
Anders Roxell <anders.roxell@...aro.org>,
Andrey Konovalov <andreyknvl@...gle.com>
Subject: [PATCH RFC 0/3] kcov: collect coverage from usb and vhost
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, see the details here:
https://github.com/google/syzkaller/blob/master/docs/linux/external_fuzzing_usb.md
Andrey Konovalov (3):
kcov: remote coverage support
usb, kcov: collect coverage from hub_event
vhost, kcov: collect coverage from vhost_worker
Documentation/dev-tools/kcov.rst | 99 +++++++
drivers/usb/core/hub.c | 4 +
drivers/vhost/vhost.c | 15 ++
drivers/vhost/vhost.h | 3 +
include/linux/kcov.h | 10 +
include/linux/sched.h | 6 +
include/uapi/linux/kcov.h | 18 ++
kernel/kcov.c | 434 ++++++++++++++++++++++++++++---
8 files changed, 554 insertions(+), 35 deletions(-)
--
2.23.0.866.gb869b98d4c-goog
Powered by blists - more mailing lists