Add fuzz tests, rename fuzz tests and fix panic found by fuzzing (#72)

* begin adding better fuzz test

* finish adding working fuzzer

* implement mutateipv4

* fuzzer finds a panic in ICMP client on receive empty payload

* rename fuzz tests to reflect fuzz methodology
This commit is contained in:
Pat Whittingslow
2026-04-11 11:09:51 -03:00
committed by GitHub
parent 68461b4416
commit 66a1aec593
226 changed files with 835 additions and 20 deletions
@@ -0,0 +1,3 @@
go test fuzz v1
int(3)
[]byte("\xbe\xef\x00\x00\x00\xff000000\b\x00E\x00\x00(\x00\x04@\x00@\x06%\xce\n\x00\x00\x00\n\x00\x00\xff\x059\x00P\x00\x10\xc0@\x00\x04 #P\a\x05ܯ\x02\x00\x00")