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

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

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\xf4\x03\x00\x00\x800D\xee00000000\x00\x10\x1f \xff\xff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\x04\x02\x00\x00 00000000000\x00\x100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\xf4\x03\x00\x00\x8000000000000\x00\x10\x1f 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\x04\x02\x00\x00 00000000000\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")

View File

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

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1a\x00\x00\x00A000000000000000\x00\x0100000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1a\x00\x00\x00A000000000000000\x00\x0000000000")

View File

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

View File

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

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1a\x00\x00\x00 \xe00000000000\x00 \x00\x00\x00\x000000000\b")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x19\x00\x00\x00\x80\xe00000000000\x00\x10\x00H\xff\xf1A0\x010000\"\x00\x00\x00\x80\xe00000000000\x00\x10\x000000000000000000000")