Struct retdec::analysis::AnalysisArguments [] [src]

pub struct AnalysisArguments { /* fields omitted */ }

Arguments for a file analysis.

Examples

use retdec::analysis::AnalysisArguments;
use retdec::file::File;

let args = AnalysisArguments::new()
    .with_output_format("json")
    .with_verbose(true)
    .with_input_file(File::from_path("file.exe")?);

Methods

impl AnalysisArguments
[src]

Returns new arguments initialized to default values.

Sets the format of the output from the analysis.

Available values are: plain (default), json.

Should the analysis return all available information about the file?

By default, the analysis returns only an abridged version.

Sets the file to be analyzed.

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

Sets the format of the output from the analysis.

Available values are: plain (default), json.

Should the analysis return all available information about the file?

By default, the analysis returns only an abridged version.

Sets the file to be analyzed.

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

Returns the output format.

Returns whether the analysis should return all available information about the file.

Returns the the file to be analyzed.

Takes ownership of the output format and sets it to None.

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

Trait Implementations

impl Clone for AnalysisArguments
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AnalysisArguments
[src]

Formats the value using the given formatter.

impl Default for AnalysisArguments
[src]

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