improve fuzz tests (#956)

This commit is contained in:
Alessandro Ros
2025-12-01 15:30:08 +01:00
committed by GitHub
parent 8511935286
commit 0ece7534e0
175 changed files with 1208 additions and 696 deletions

View File

@@ -1,3 +0,0 @@
go test fuzz v1
[]byte("00000")
[]byte("0")

View File

@@ -1,3 +0,0 @@
go test fuzz v1
[]byte("")
[]byte("0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("x\x01\x00\x00A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -1,3 +0,0 @@
go test fuzz v1
[]byte("\x00\x00\x00\x000")
[]byte("0")

View File

@@ -1,3 +0,0 @@
go test fuzz v1
[]byte("\x00\x00\x00\x00\xff\xfa000")
[]byte("\x00\x00\x00\x0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("p\x00\x00\x00\x8000000000000\x00\x00\x00\x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("(\x00\x00\x00 00000000000\x00\x000000000000000000000000000\x01\xa4\x00\x00\x00A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("(\x00\x00\x00 00000000000000000000000000000000000000\x19")

View File

@@ -1,3 +0,0 @@
go test fuzz v1
[]byte("\x00\x00\x00\x00\xff\xfb$000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\xff\xfb000")
[]byte("0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x9c\x01\x00\x00\x8000000000000\x00\x00\x00\x00\xff\xfdx000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\x9c\x01\x00\x00 00000000000\x00\x00\x01\x8c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -1,3 +0,0 @@
go test fuzz v1
[]byte("\x00\x00\x00\x000")
[]byte("\x00\x00000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\xd0\x00\x00\x00 00000000000\x00\x00\x00\x00\xff\xfb\x14000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\xff\xfb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x9c\x01\x00\x00 00000000000\x00\x00\x00\x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000x\x01\x00\x00 00000000000\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")