go/src/internal
Roland Shoemaker ab75484d71 internal/fuzz: limit number of consecutive mutations
This makes two changes: (1) mutator.mutate now only applies a single
mutation to the input, and (2) in workerServer.fuzz if, after five
mutations are applied to the input, no new coverage is found the input
is reset to its initial state. This process is repeated until new
coverage is found, or the fuzz call times out.

This results in finding new coverage expanding inputs which have less
divergence from the initial input they were mutated from, which makes
traversing certain types of call graphs significantly more efficient.

Fixes #49601
Fixes #48179
Fixes #47090

Change-Id: I74d18a56ca2669f20192951090b281f58ee0b5dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/364214
Trust: Roland Shoemaker <roland@golang.org>
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
2021-11-17 17:16:18 +00:00
..
abi reflect: keep pointer in aggregate-typed args live in Call 2021-11-12 14:56:58 +00:00
buildcfg internal/buildcfg: enable the pacer redesign by default 2021-11-04 20:00:54 +00:00
bytealg all: remove more leftover // +build lines 2021-11-06 10:24:44 +00:00
cfg cmd/go: add GOAMD64 environment variable 2021-09-16 17:44:44 +00:00
cpu all: remove more leftover // +build lines 2021-11-06 10:24:44 +00:00
execabs
fmtsort internal/fmtsort: order channels in test in memory address order 2021-11-08 17:30:10 +00:00
fuzz internal/fuzz: limit number of consecutive mutations 2021-11-17 17:16:18 +00:00
goarch all: manual fixups for //go:build vs // +build 2021-10-28 22:38:00 +00:00
godebug net/netip: add new IP address package 2021-11-02 01:28:01 +00:00
goexperiment runtime: implement GC pacer redesign 2021-11-04 20:00:31 +00:00
goos all: manual fixups for //go:build vs // +build 2021-10-28 22:38:00 +00:00
goroot all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
goversion [dev.typeparams] all: merge master (fdab5be) into dev.typeparams 2021-06-14 13:24:47 -07:00
intern net/netip: add new IP address package 2021-11-02 01:28:01 +00:00
itoa
lazyregexp
lazytemplate
nettrace
obscuretestdata
oserror
poll internal/poll: fix the wrong function names in comments 2021-11-05 05:30:39 +00:00
profile all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
race
reflectlite all: use reflect.{Pointer,PointerTo} 2021-10-26 14:24:17 +00:00
singleflight
syscall net: pass around pointers to SockaddrInetN 2021-11-04 21:52:36 +00:00
sysinfo
testenv all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
testlog
trace
unsafeheader
xcoff