...

Text file src/google.golang.org/protobuf/internal/fuzz/README.md

Documentation: google.golang.org/protobuf/internal/fuzz

     1# Fuzzing
     2
     3Fuzzing support using [go-fuzz](https://github.com/dvyukov/go-fuzz).
     4
     5Basic 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 google.golang.org/protobuf/internal/fuzz/{fuzzer}
    12$ go-fuzz
    13```
    14
    15## OSS-Fuzz
    16
    17Fuzzers are automatically run by
    18[OSS-Fuzz](https://github.com/google/oss-fuzz).
    19
    20The OSS-Fuzz
    21[configuration](https://github.com/google/oss-fuzz/blob/master/projects/golang-protobuf/build.sh)
    22currently builds fuzzers in every directory under internal/fuzz.
    23Only add fuzzers (not support packages) in this directory.
    24
    25Fuzzing results are available at the [OSS-Fuzz console](https://oss-fuzz.com/),
    26under `golang-protobuf`.

View as plain text