fuzzutil

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeRandomTestCases

func MakeRandomTestCases() [][]byte

Types

type ByteConsumer

type ByteConsumer struct {
	// contains filtered or unexported fields
}

func NewByteConsumer

func NewByteConsumer(bytes []byte) *ByteConsumer

func (*ByteConsumer) Byte

func (c *ByteConsumer) Byte() byte

func (*ByteConsumer) Bytes

func (c *ByteConsumer) Bytes(size int) []byte

func (*ByteConsumer) Len

func (c *ByteConsumer) Len() int

func (*ByteConsumer) Uint16

func (c *ByteConsumer) Uint16() uint16

func (*ByteConsumer) Uint32

func (c *ByteConsumer) Uint32() uint32

type Step

type Step interface {
	DoStep()
}

type TestRun

type TestRun struct {
	// contains filtered or unexported fields
}

func NewTestRun

func NewTestRun(bytes []byte, stepMaker func(*ByteConsumer) Step, cleanup func()) *TestRun

func (*TestRun) Run

func (t *TestRun) Run()

Jump to

Keyboard shortcuts

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