package yaml
import "k8s.io/kubernetes/test/fuzz/yaml"
Package yaml implements fuzzers for yaml deserialization routines in Kubernetes. These targets are compatible with the github.com/dvyukov/go-fuzz fuzzing framework.
Index ¶
- func FuzzDurationStrict(b []byte) int
- func FuzzMicroTimeStrict(b []byte) int
- func FuzzSigYaml(b []byte) int
- func FuzzTimeStrict(b []byte) int
- func FuzzYamlV2(b []byte) int
Functions ¶
func FuzzDurationStrict ¶
FuzzDurationStrict is a fuzz target for strict-unmarshaling Duration defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the unmarshaled result can be marshaled back to the input.
func FuzzMicroTimeStrict ¶
FuzzMicroTimeStrict is a fuzz target for strict-unmarshaling MicroTime defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the unmarshaled result can be marshaled back to the input.
func FuzzSigYaml ¶
FuzzSigYaml is a fuzz target for "sigs.k8s.io/yaml" unmarshaling.
func FuzzTimeStrict ¶
FuzzTimeStrict is a fuzz target for strict-unmarshaling Time defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the unmarshaled result can be marshaled back to the input.
func FuzzYamlV2 ¶
FuzzYamlV2 is a fuzz target for "sigs.k8s.io/yaml/goyaml.v2" unmarshaling.
Source Files ¶
yaml.go
- Version
- v1.33.2 (latest)
- Published
- Jun 17, 2025
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.