* Add more fuzzing Signed-off-by: Miek Gieben <miek@miek.nl> * More fuzzing targets Signed-off-by: Miek Gieben <miek@miek.nl> * Fuzzing: add more fuzzing targets Also add Corefile fuzzing. Signed-off-by: Miek Gieben <miek@miek.nl>
13 lines
181 B
Go
13 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)
|
|
}
|