fuzzutil

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: GPL-3.0 Imports: 2 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() *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