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
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(36)
int64(-34)
int64(-32)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(692)
int64(-66)
int64(-115)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(28)
int64(2)
int64(3)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(-1)
int64(0)
int64(94)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(-36)
int64(2)
int64(3)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(296)
int64(-16)
int64(-12)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(-774)
int64(-138)
int64(-206)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(12)
int64(-1)
int64(115)
+4
View File
@@ -0,0 +1,4 @@
go test fuzz v1
int64(-53)
int64(0)
int64(94)