2019-10-27 06:52:48 +01:00
|
|
|
// +build gofuzz
|
2019-09-20 06:19:11 +02:00
|
|
|
|
2019-10-27 06:52:48 +01:00
|
|
|
package jsn
|
2019-09-20 06:19:11 +02:00
|
|
|
|
2019-10-26 09:02:05 +02:00
|
|
|
func Fuzz(data []byte) int {
|
2019-10-27 06:52:48 +01:00
|
|
|
if err := unifiedTest(data); err != nil {
|
2019-10-26 09:02:05 +02:00
|
|
|
return 0
|
2019-09-20 06:19:11 +02:00
|
|
|
}
|
|
|
|
|
2019-10-26 09:02:05 +02:00
|
|
|
return 1
|
2019-09-20 06:19:11 +02:00
|
|
|
}
|