Fuzzing: Rewrite existing fuzzers to native go fuzzers

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2022-11-12 17:30:10 +00:00
parent 3b8fbf9752
commit 9337b8df66
6 changed files with 42 additions and 43 deletions

14
reference/fuzz_test.go Normal file
View file

@ -0,0 +1,14 @@
package reference
import (
"testing"
)
// fuzzParseNormalizedNamed implements a fuzzer
// that targets ParseNormalizedNamed
// nolint:deadcode
func FuzzParseNormalizedNamed(f *testing.F) {
f.Fuzz(func(t *testing.T, data string) {
_, _ = ParseNormalizedNamed(data)
})
}