Crate fuchsia_fuzzctl

Source

Modules§

constants

Structs§

Artifact
Combines the results of a long-running fuzzer workflow.
Controller
Represents a fuchsia.fuzzer.Controller connection to a fuzzer.
Forwarder
Compostion of SocketForwarders for standard output, standard errors, and system logs.
Input
Represents a sequence of bytes, paired with a fuchsia.fuzzer.Input.
InputPair
Represents an Input that can send or read data from an associated FidlInput.
Manager
Represents the FIDL connection from the ffx fuzz plugin to the fuzz-manager component on a target device.
SocketForwarder
Forwarder for a single output stream.
StdioSink
StdioSink sends output to standard output and standard error.
Writer
Writer handles formatting and delivering output from both the plugin and fuzzer.

Traits§

OutputSink
OutputSinks takes output and writes it to some destination.

Functions§

create_artifact_dir
Returns the path under output_dir where a fuzzer could store artifacts.
create_corpus_dir
Returns the path under output_dir where a fuzzer could store a corpus of the given |corpus_type|.
create_dir_at
Creates a directory under the given parent directory, if it does not already exist.
deadline_after
This module exists to abstract away the differences between the dev host and target versions of fuchsia_async::MonotonicDuration.
digest_path
Generates the path for a file based on its contents.
get_corpus_name
Get the corresponding name for a fuchsia.fuzzer.Corpus enum.
get_corpus_type
Returns which type of corpus is represented by the fuchsia.fuzzer.Corpus enum.
get_fuzzer_urls
Gets URLs for available fuzzers.
save_artifact
Reads fuzzer input data from a FidlArtifact and saves it locally.
save_input
Reads fuzzer input data from a FidlInput and saves it locally.

Type Aliases§

MonotonicDuration
This module exists to abstract away the differences between the dev host and target versions of fuchsia_async::MonotonicDuration.