Crate afl [] [src]

Functions

handle_bytes

Utility that reads a Vec of bytes from standard input (stdin) and passes it to closure. All panics that occur within closure will be treated as aborts. This is done so that AFL considers a panic to be a crash.

handle_read

Utility that passes Stdin to closure for use with functions that expect a structure that implements Read. All panics that occur within closure will be treated as aborts. This is done so that AFL considers a panic to be a crash.

handle_string

Utility that reads a String from standard input (stdin) and passes it to closure. If a String cannot be constructed from the data provided by standard input, closure will not be called. All panics that occur within closure will be treated as aborts. This is done so that AFL considers a panic to be a crash.

init

Initialize the afl runtime.