MCPcopy Create free account
hub / github.com/go-git/go-git / FuzzDecoder

Function FuzzDecoder

plumbing/format/config/decoder_test.go:96–104  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

94}
95
96func FuzzDecoder(f *testing.F) {
97
98 f.Fuzz(func(t *testing.T, input []byte) {
99
100 d := NewDecoder(bytes.NewReader(input))
101 cfg := &Config{}
102 d.Decode(cfg)
103 })
104}

Callers

nothing calls this directly

Calls 2

DecodeMethod · 0.95
NewDecoderFunction · 0.70

Tested by

no test coverage detected