Thread (10 messages) 10 messages, 4 authors, 2017-09-12

Re: [PATCH 1/3] kcov: support comparison operands collection

From: Mark Rutland <mark.rutland@arm.com>
Date: 2017-08-31 09:33:10
Also in: lkml

On Wed, Aug 30, 2017 at 09:08:43PM +0200, Dmitry Vyukov wrote:
On Wed, Aug 30, 2017 at 8:23 PM, Mark Rutland [off-list ref] wrote:
quoted
On Wed, Aug 30, 2017 at 06:23:29PM +0200, Dmitry Vyukov wrote:
quoted
From: Victor Chibotaru <redacted>

Enables kcov to collect comparison operands from instrumented code.
This is done by using Clang's -fsanitize=trace-cmp instrumentation
(currently not available for GCC).
quoted
quoted
Clang instrumentation:
https://clang.llvm.org/docs/SanitizerCoverage.html#tracing-data-flow
How stable is this?

The comment at the end says "This interface is a subject to change."
The intention is that this is not subject to change anymore (since we
are using it in kernel).
I've mailed change to docs: https://reviews.llvm.org/D37303
Ok; thanks for confirming.
FWIW, there is patch in flight that adds this instrumentation to gcc:
https://groups.google.com/forum/#!topic/syzkaller/CSLynn6nI-A
It seems to be stalled on review phase, though.
Let's hope it gets unblocked soon. :)

Thanks,
Mark.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help