Struct retdec::decompilation::DecompilationArguments
[−]
[src]
pub struct DecompilationArguments { /* fields omitted */ }
Arguments for a decompilation.
Examples
use retdec::file::File; use retdec::decompilation::DecompilationArguments; let args = DecompilationArguments::new() .with_input_file(File::from_path("file.exe")?);
Methods
impl DecompilationArguments
[src]
fn new() -> Self
Returns new arguments initialized to default values.
fn with_input_file(self, input_file: File) -> Self
Sets the file to be decompiled.
This parameter is required. Without it, there is nothing to decompile.
fn set_input_file(&mut self, input_file: File)
Sets the file to be analyzed.
This parameter is required. Without it, there is nothing to analyze.
fn input_file(&self) -> Option<&File>
Returns the the file to be decompiled.
fn take_input_file(&mut self) -> Option<File>
Takes ownership of the input file and sets it to None
.
Trait Implementations
impl Clone for DecompilationArguments
[src]
fn clone(&self) -> DecompilationArguments
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DecompilationArguments
[src]
impl Default for DecompilationArguments
[src]
fn default() -> DecompilationArguments
Returns the "default value" for a type. Read more