fuzz/

directory
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: BSD-3-Clause

README

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.

Directories

Path Synopsis
Package jsonfuzz includes fuzzers for protojson.Marshal and protojson.Unmarshal.
Package jsonfuzz includes fuzzers for protojson.Marshal and protojson.Unmarshal.
Package textfuzz includes fuzzers for prototext.Marshal and prototext.Unmarshal.
Package textfuzz includes fuzzers for prototext.Marshal and prototext.Unmarshal.
Package wirefuzz includes a fuzzer for the wire marshaler and unmarshaler.
Package wirefuzz includes a fuzzer for the wire marshaler and unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL