Added amqp output

This commit is contained in:
Eugene Dementiev
2015-09-15 21:16:53 +03:00
parent bd00f46d8b
commit 34e16f03e6
38 changed files with 13005 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// +build gofuzz
package amqp
import "bytes"
func Fuzz(data []byte) int {
r := reader{bytes.NewReader(data)}
frame, err := r.ReadFrame()
if err != nil {
if frame != nil {
panic("frame is not nil")
}
return 0
}
return 1
}