(f *testing.F)
| 143 | } |
| 144 | |
| 145 | func FuzzNoBMI2Dec(f *testing.F) { |
| 146 | if !cpuinfo.HasBMI2() { |
| 147 | f.Skip("No BMI, so already tested") |
| 148 | return |
| 149 | } |
| 150 | defer cpuinfo.DisableBMI2()() |
| 151 | FuzzDecoder(f) |
| 152 | } |
| 153 | |
| 154 | func FuzzEncoding(f *testing.F) { |
| 155 | fuzz.AddFromZip(f, "testdata/fuzz/encode-corpus-raw.zip", fuzz.TypeRaw, testing.Short()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…