super-graph/qcode/fuzz.go

13 lines
201 B
Go

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