fuzzutil

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RandomEventProvider

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

RandomEventProvider fuzzing utility.

func NewRandomEventProvider

func NewRandomEventProvider(r *rand.Rand) *RandomEventProvider

NewRandomEventProvider is a RandomEventProvider constructor.

func (*RandomEventProvider) Reset

func (re *RandomEventProvider) Reset()

Reset clears the RandomEventProvider.

func (*RandomEventProvider) WithProbability

func (re *RandomEventProvider) WithProbability(p float32) bool

WithProbability randomly provides true, according to cumulated probabilities.

Jump to

Keyboard shortcuts

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