github.com/whiteCcinn/protobuf-go@v1.0.9/internal/fuzz/README.md (about) 1 # Fuzzing 2 3 Fuzzing support using [go-fuzz](https://github.com/dvyukov/go-fuzz). 4 5 Basic operation: 6 7 ```sh 8 $ go install github.com/dvyukov/go-fuzz/go-fuzz 9 $ go install github.com/mdempsky/go114-fuzz-build 10 $ cd internal/fuzz/{fuzzer} 11 $ go114-fuzz-build github.com/whiteCcinn/protobuf-go/internal/fuzz/{fuzzer} 12 $ go-fuzz 13 ``` 14 15 ## OSS-Fuzz 16 17 Fuzzers are automatically run by 18 [OSS-Fuzz](https://github.com/google/oss-fuzz). 19 20 The OSS-Fuzz 21 [configuration](https://github.com/google/oss-fuzz/blob/master/projects/golang-protobuf/build.sh) 22 currently builds fuzzers in every directory under internal/fuzz. 23 Only add fuzzers (not support packages) in this directory. 24 25 Fuzzing results are available at the [OSS-Fuzz console](https://oss-fuzz.com/), 26 under `golang-protobuf`.