super-graph/qcode/fuzz.go
2019-06-14 22:17:21 -04:00

15 lines
235 B
Go

package qcode
// FuzzerEntrypoint for Fuzzbuzz
func FuzzerEntrypoint(data []byte) int {
//testData := string(data)
qcompile, _ := NewCompiler(Config{})
_, err := qcompile.Compile(data)
if err != nil {
return -1
}
return 0
}