fuzzing

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fill

func Fill[T interface{}](data []byte, value *T) bool

func GetTypeProvider

func GetTypeProvider(data []byte) (*go_fuzz_utils.TypeProvider, error)

func RoundTripJSON

func RoundTripJSON[V any](t *testing.T, data []byte, decJSON V)

func RoundTripSSZ

func RoundTripSSZ[V MarshalableSSZ](t *testing.T, data []byte, decSSZ V)

Types

type MarshalableSSZ

type MarshalableSSZ interface {
	MarshalSSZ() ([]byte, error)
	UnmarshalSSZ([]byte) error
}

Jump to

Keyboard shortcuts

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