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]

Returns new arguments initialized to default values.

Sets the file to be decompiled.

This parameter is required. Without it, there is nothing to decompile.

Sets the file to be analyzed.

This parameter is required. Without it, there is nothing to analyze.

Returns the the file to be decompiled.

Takes ownership of the input file and sets it to None.

Trait Implementations

impl Clone for DecompilationArguments
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DecompilationArguments
[src]

Formats the value using the given formatter.

impl Default for DecompilationArguments
[src]

Returns the "default value" for a type. Read more