mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
This allows to fuzzing of more interesting targets that require setup. Signed-off-by: Miek Gieben <miek@miek.nl>
13 lines
176 B
Go
13 lines
176 B
Go
// +build fuzz
|
|
|
|
package cache
|
|
|
|
import (
|
|
"github.com/coredns/coredns/plugin/pkg/fuzz"
|
|
)
|
|
|
|
// Fuzz fuzzes cache.
|
|
func Fuzz(data []byte) int {
|
|
return fuzz.Do(New(), nil, data)
|
|
}
|