Fuzzing
Official guide to Go fuzzing, corpus management, and when fuzz targets add value beyond table tests.
Official guide to Go fuzzing, corpus management, and when fuzz targets add value beyond table tests.
- Author: Go Team
- Authority: primary
- Kind: guide
- URL: https://go.dev/doc/security/fuzz/
What it covers
- writing fuzz targets
- seed corpora and generated inputs
- when fuzzing complements unit tests
Why authoritative
Official Go guide for fuzzing support in the testing toolchain.
Use when
- how should I fuzz this Go function
- when is Go fuzzing worth using
- how does the Go fuzzing corpus work
Keywords
- fuzzing, go test -fuzz, fuzz corpus, property testing, testing