15 lines
235 B
Go
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
|
|
}
|