kubernetesk8s.io/kubernetes/test/fuzz/yaml Index | Files

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

Functions

func FuzzDurationStrict

func FuzzDurationStrict(b []byte) int

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

func FuzzMicroTimeStrict(b []byte) int

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

func FuzzSigYaml(b []byte) int

FuzzSigYaml is a fuzz target for "sigs.k8s.io/yaml" unmarshaling.

func FuzzTimeStrict

func FuzzTimeStrict(b []byte) int

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

func FuzzYamlV2(b []byte) int

FuzzYamlV2 is a fuzz target for "gopkg.in/yaml.v2" unmarshaling.

Source Files

yaml.go

Version
v1.20.6
Published
Apr 15, 2021
Platform
js/wasm
Imports
5 packages
Last checked
23 minutes ago

Tools for package owners.