fuzzer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const CTX_KEY_WORKER_ID = "WORKER_ID"

Variables

This section is empty.

Functions

func HandleExec

func HandleExec(ctx context.Context, i *api.Input, o *api.Output, fctx *api.Context, interestHdl api.InterestHandler) error

HandleExec is called immediately after running execution. It should take care of following things: 1. ignore this exec if timeout (fixme: more flexible options like increasing timeout and try next time?) 2. check if any unique bugs found 3. update if any new select records found 4. update/add interest input

func Main

func Main(fctx *api.Context, execs []gexec.Executable, config *config.Config,
	interestHdl api.InterestHandler, scorer api.ScoreStrategy)

Main starts fuzzing with a given list of executables and configuration

func Replay

func Replay(fctx *api.Context, ge gexec.Executable, config *config.Config, rtConfig *ortconfig.Config)

Reply run the fuzzing with given oracle runtime configuration and given executable

func Run

func Run(ctx context.Context, cfg *config.Config, input *api.Input) (*api.Output, error)

func Shuffle

func Shuffle(vals []gexec.Executable)

func TryLoopInterestList

func TryLoopInterestList(fctx *api.Context, interestHdl api.InterestHandler, exitCh chan struct{})

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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