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

Function FuzzNoBMI2Dec

zstd/fuzz_test.go:145–152  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

143}
144
145func 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
154func FuzzEncoding(f *testing.F) {
155 fuzz.AddFromZip(f, "testdata/fuzz/encode-corpus-raw.zip", fuzz.TypeRaw, testing.Short())

Callers

nothing calls this directly

Calls 4

HasBMI2Function · 0.92
DisableBMI2Function · 0.92
FuzzDecoderFunction · 0.85
SkipMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…