MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / FuzzIPDecoder

Function FuzzIPDecoder

packet/decoder_test.go:258–264  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

256}
257
258func FuzzIPDecoder(f *testing.F) {
259 f.Fuzz(func(t *testing.T, data []byte) {
260 ipDecoder := NewIPDecoder()
261 ipDecoder.Decode(RawPacket{Data: data})
262
263 })
264}
265
266func FuzzICMPDecoder(f *testing.F) {
267 f.Fuzz(func(t *testing.T, data []byte) {

Callers

nothing calls this directly

Calls 2

DecodeMethod · 0.95
NewIPDecoderFunction · 0.85

Tested by

no test coverage detected