Documentation ¶
Index ¶
- Constants
- func HandleExec(ctx context.Context, i *api.Input, o *api.Output, fctx *api.Context, ...) error
- func Main(fctx *api.Context, execs []gexec.Executable, config *config.Config, ...)
- func Replay(fctx *api.Context, ge gexec.Executable, config *config.Config, ...)
- func Run(ctx context.Context, cfg *config.Config, input *api.Input) (*api.Output, error)
- func Shuffle(vals []gexec.Executable)
- func TryLoopInterestList(fctx *api.Context, interestHdl api.InterestHandler, exitCh chan struct{})
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 Shuffle ¶
func Shuffle(vals []gexec.Executable)
func TryLoopInterestList ¶
func TryLoopInterestList(fctx *api.Context, interestHdl api.InterestHandler, exitCh chan struct{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.