mirror of
https://github.com/hanzoai/dns.git
synced 2026-10-30 18:40:55 +00:00
* update all +build statements Signed-off-by: MQasimSarfraz <[email protected]> * remove old +build style Signed-off-by: MQasimSarfraz <[email protected]>
13 lines
185 B
Go
13 lines
185 B
Go
//go:build gofuzz
|
|
|
|
package test
|
|
|
|
// Fuzz fuzzes a corefile.
|
|
func Fuzz(data []byte) int {
|
|
_, _, _, err := CoreDNSServerAndPorts(string(data))
|
|
if err != nil {
|
|
return 1
|
|
}
|
|
return 0
|
|
}
|