aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2021-01-14 18:22:41 -0500
committerJay Conrod <jayconrod@google.com>2021-01-15 14:30:24 +0000
commitcc7f8c305501399c78d894b7ba7bd3ea428b250e (patch)
tree2f20cb4798a7ac7e630f2125044c3ba13208b25d /src/testing
parent06074108fab489d6bd7358e736bcd0cb38830c7c (diff)
downloadgo-cc7f8c305501399c78d894b7ba7bd3ea428b250e.tar.xz
[dev.fuzz] internal/fuzz: add sharedMem.setValueLen
This method sets the len of the slice returned by valueRef. The worker now uses this instead of setting the length in the header directly. Unfortunately, we can't store the whole slice header in the shared memory header because the pointer won't be valid across processes. Change-Id: Icef24acfcd85e098cd8c23810568f04b13649a19 Reviewed-on: https://go-review.googlesource.com/c/go/+/284012 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions