]> Cypherpunks repositories - gostls13.git/commit
[dev.fuzz] internal/fuzz: add stub for coverage
authorKatie Hockman <katie@golang.org>
Wed, 7 Apr 2021 21:40:39 +0000 (17:40 -0400)
committerKatie Hockman <katie@golang.org>
Fri, 9 Apr 2021 14:05:47 +0000 (14:05 +0000)
commit06a7c848d9e3c2804e6d84aeaf777e76df4e5bea
tree1f73d9be0f2480e345d3b9222d96642c1bafd549
parent161439fec01692d4111fd4bd0eb0d3416ec8d594
[dev.fuzz] internal/fuzz: add stub for coverage

This change only includes a stub for the function
which will hook into the runtime to expose
coverage instrumentation while we're fuzzing.

Previously, we discussed an exported API named
FuzzCoverage, but since this is within the
internal/fuzz package, simply naming it coverage
seems appropriate.

Change-Id: Iba3240e53e0c4c434e937aa9bb1711a44fec9975
Reviewed-on: https://go-review.googlesource.com/c/go/+/308191
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/internal/fuzz/coverage.go [new file with mode: 0644]