(f *testing.F)
| 256 | } |
| 257 | |
| 258 | func 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 | |
| 266 | func FuzzICMPDecoder(f *testing.F) { |
| 267 | f.Fuzz(func(t *testing.T, data []byte) { |
nothing calls this directly
no test coverage detected