mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
14 lines
181 B
Go
14 lines
181 B
Go
|
|
// +build fuzz
|
||
|
|
|
||
|
|
package chaos
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/coredns/coredns/plugin/pkg/fuzz"
|
||
|
|
)
|
||
|
|
|
||
|
|
// Fuzz fuzzes cache.
|
||
|
|
func Fuzz(data []byte) int {
|
||
|
|
c := Chaos{}
|
||
|
|
return fuzz.Do(c, data)
|
||
|
|
}
|