yaml

package
v1.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package yaml implements fuzzers for yaml deserialization routines in Kubernetes. These targets are compatible with the github.com/dvyukov/go-fuzz fuzzing framework.

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL