cockroach: github.com/cockroachdb/cockroach/pkg/cmd/fuzz Files

Command fuzz

fuzz builds and executes fuzz tests.

Fuzz tests can be added to CockroachDB by adding a function of the form:

func FuzzXXX(data []byte) int

To help the fuzzer increase coverage, this function should return 1 on interesting input (for example, a parse succeeded) and 0 otherwise. Panics will be detected and reported.

To exclude this file except during fuzzing, tag it with:

// +build gofuzz

Package Files

main.go

Package main imports 12 packages (graph). Updated 2019-12-28. Refresh now. Tools for package owners.