Trait libafl::inputs::Input [−][src]
pub trait Input: Clone + Serialize + DeserializeOwned + Debug { fn to_file<P>(&self, path: P) -> Result<(), Error>
where
P: AsRef<Path>, { ... } fn from_file<P>(path: P) -> Result<Self, Error>
where
P: AsRef<Path>, { ... } }
An input for the target
Provided methods
fn to_file<P>(&self, path: P) -> Result<(), Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Write this input to the file
fn from_file<P>(path: P) -> Result<Self, Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Load the contents of this input from a file
Implementors
impl Input for BytesInput
[src]
impl Input for BytesInput
[src]