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,5 +0,0 @@
go test fuzz v1
[]byte("")
bool(false)
[]byte("1000")
bool(false)

View File

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

View File

@@ -1,5 +0,0 @@
go test fuzz v1
[]byte("\xf8\x9a\x9f000")
bool(true)
[]byte(" 00000")
bool(false)

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x11\x00\x00\x00 00000000000 000\x04")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x11\x00\x00\x00 00000000000\xff000\x04")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x00\x02\x00\x00 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\x00\x02\x00\x00A0000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\x9f\x01\x00\x00 00000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x11\x00\x00\x00 \xfa00000000000000\x04")

View File

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