MCPcopy
hub / github.com/klauspost/compress / FuzzDecompress1x

Function FuzzDecompress1x

huff0/fuzz_test.go:77–90  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

75}
76
77func FuzzDecompress1x(f *testing.F) {
78 fuzz.AddFromZip(f, "testdata/huff0_decompress1x.zip", fuzz.TypeRaw, false)
79 f.Fuzz(func(t *testing.T, buf0 []byte) {
80 var s Scratch
81 _, remain, err := ReadTable(buf0, &s)
82 if err != nil {
83 return
84 }
85 out, err := s.Decompress1X(remain)
86 if err != nil || out == nil {
87 return
88 }
89 })
90}

Callers

nothing calls this directly

Calls 3

Decompress1XMethod · 0.95
AddFromZipFunction · 0.92
ReadTableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…