unplugged-system/external/golang-protobuf/internal/fuzz
2025-10-06 13:59:42 +00:00
..
jsonfuzz Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
textfuzz Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
wirefuzz Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
oss-fuzz-build.sh Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

Fuzzing

Fuzzing support using go-fuzz.

Basic operation:

$ go install github.com/dvyukov/go-fuzz/go-fuzz
$ go install github.com/mdempsky/go114-fuzz-build
$ cd internal/fuzz/{fuzzer}
$ go114-fuzz-build google.golang.org/protobuf/internal/fuzz/{fuzzer}
$ 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.