mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-21 09:40:03 +00:00
Move the build script from OSS-Fuzz's repo into ours, allowing us to make changes without sending them a PR. Change-Id: I557c3be2b6d9fd221ac7e6b1331bf3d53fd3ca51 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/217768 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
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
.