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("0")
bool(false)
[]byte("0")
bool(false)

View File

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

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte(".\x00\x00\x00\x80000000000000 00000000000000000000000000000000")

View File

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

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1d\x00\x00\x00C000000000000000000000000\xb2\xb2\xb2\xb2")

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1d\x00\x00\x00 000000000000000000000000000\x10")

View File

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