...

Package json

import "k8s.io/kubernetes/test/fuzz/json"
Overview
Index

Overview ▾

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

func FuzzNonStrictDecode

func FuzzNonStrictDecode(data []byte) int

FuzzNonStrictDecode is a fuzz target for "k8s.io/apimachinery/pkg/runtime/serializer/json" non-strict decoding.

func FuzzStrictDecode

func FuzzStrictDecode(data []byte) int

FuzzStrictDecode is a fuzz target for "k8s.io/apimachinery/pkg/runtime/serializer/json" strict decoding.