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