(f *testing.F)
| 75 | } |
| 76 | |
| 77 | func 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 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…