Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1316827

Re: [PATCH v6] kernel: add kcov code coverage

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [PATCH v6] kernel: add kcov code coverage
Date 2016-01-25 16:40 +0100
Message-ID <qURpg-60C-19@gated-at.bofh.it> (permalink)
References <qUP46-4jX-13@gated-at.bofh.it> <qUP46-4jX-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 25, 2016 at 02:03:55PM +0100, Dmitry Vyukov wrote:
> On Mon, Jan 25, 2016 at 2:00 PM, Dmitry Vyukov <dvyukov@google.com> wrote:
> > kcov provides code coverage collection for coverage-guided fuzzing
> > (randomized testing). Coverage-guided fuzzing is a testing technique
> > that uses coverage feedback to determine new interesting inputs to a
> > system. A notable user-space example is AFL
> > (http://lcamtuf.coredump.cx/afl/). However, this technique is not
> > widely used for kernel testing due to missing compiler and kernel
> > support.
> 
> Kirill, I export kcov file as 0600 now.
> 
> Any more comments?

Acked-by: Kirill A. Shutemov <kirill@shutemov.name>

I have some doubts if debugfs knob is the right way to go. Maybe it would
be better to integrate the feature with perf somehow as it has tracing
capabilities.

But that's just a side note. I don't have a strong opinion about the
interface.

+CC perf people.

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v6] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-25 14:10 +0100
  Re: [PATCH v6] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-25 14:10 +0100
    Re: [PATCH v6] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-25 16:40 +0100

csiph-web