-
Notifications
You must be signed in to change notification settings - Fork 1
/
crashers_test.go
70 lines (57 loc) · 1.72 KB
/
crashers_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package fuzztests
import (
"testing"
)
func catchPanic(t *testing.T) {
if r := recover(); r != nil {
t.Fatalf("%v", r)
}
}
func Test_GolangNotIdempotent_4d5745313695bb32a7be264930411f75ce40ef69(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("j\x00"))
}
func Test_GolangNotIdempotent_698bbc06c245ca5787c9628b4ac15909ce3d08cd(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("\xed\x000000\x15\xe7000"))
}
func Test_GolangNotIdempotent_a1384fff023991f5e9f0184ba9697cc0ffdf26cb(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("\xed\x0000ܿ\x15\"000"))
}
func Test_GolangNotIdempotent_da6c94d3b1f2b0035e00fff878c1b4227fc6753a(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("\xed\x000000"))
}
func Test_GolangNotIdempotent_00b4f30b0c1127a29525786214c45b99cde2bd73(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("k0b^0000000000000000" +
"00000000000000000000" +
"00000000000000000000" +
"00000000000000000000" +
"000000000000000000"))
}
func Test_GolangNotIdempotent_21e44783af4a173d22718037577cde36ff826934(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("\xed\x000\b00"))
}
func Test_GolangNotIdempotent_2c7c1a727ad282aaae5b102dd7e4e463fae22dd5(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("x0"))
}
func Test_GolangNotIdempotent_4ea8d41dd8638b75b9b2051d8b5589efa4b907ea(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("\t00000000100000000"))
}
func Test_Pass_da39a3ee5e6b4b0d3255bfef95601890afd80709(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte{})
}
func Test_GolangNotIdempotent_dd0d7089506997514b9508d63816031b51a2f864(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("X0x0"))
}
func Test_GolangNotIdempotent_e4666a670f042877c67a84473a71675ee0950a08(t *testing.T) {
defer catchPanic(t)
Fuzz([]byte("c4"))
}