fuchsia_fuzzctl

Function save_input

Source
pub async fn save_input<P: AsRef<Path>>(
    fidl_input: Input,
    out_dir: P,
) -> Result<PathBuf>
Expand description

Reads fuzzer input data from a FidlInput and saves it locally.

Returns the path to the file on success. Returns an error if it fails to read the data from the input or if it fails to write the data to the file.

See also utils::digest_path.