protobuf-go/internal/fuzz
Joe Tsai f26a9e7e30 all: rename IsInitialized as CheckInitialized
An Is prefix implies it returns a boolean.
A Check prefix better suggests that it could return an error.

Change-Id: I6ffcb32099a944c656c07654c294a0980efb2d0e
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/220338
Reviewed-by: Damien Neil <dneil@google.com>
2020-02-20 20:45:40 +00:00
..
jsonfuzz internal/fuzztest: factor out common fuzzer tests 2019-12-20 22:08:10 +00:00
textfuzz internal/fuzztest: factor out common fuzzer tests 2019-12-20 22:08:10 +00:00
wirefuzz all: rename IsInitialized as CheckInitialized 2020-02-20 20:45:40 +00:00
oss-fuzz-build.sh internal/fuzz: add oss-fuzz build script 2020-02-05 22:47:15 +00:00
README.md internal/fuzztest: factor out common fuzzer tests 2019-12-20 22:08:10 +00:00

Fuzzing

Fuzzing support using go-fuzz.

Basic operation:

$ go install github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
$ cd internal/fuzz/{fuzzer}
$ GOFUZZ111MODULE=on go-fuzz-build .
$ go-fuzz

OSS-Fuzz

Fuzzers are automatically run by OSS-Fuzz.

The OSS-Fuzz configuration currently builds fuzzers in every directory under internal/fuzz. Only add fuzzers (not support packages) in this directory.

Fuzzing results are available at the OSS-Fuzz console, under golang-protobuf.