Struct ParserConfig
pub struct ParserConfig {
pub parse_signature: bool,
pub parse_exports: bool,
pub parse_imports: bool,
pub parse_rsrc: bool,
pub parse_reloc: bool,
pub parse_exceptions: bool,
pub parse_arm64x_binary: bool,
}Expand description
This structure is used to tweak the PE parser: crate::pe::Binary::parse_with_config
Fields§
§parse_signature: boolParse PE authenticode signature
parse_exports: boolParse PE Exports Directory
parse_imports: boolParse PE Import Directory
parse_rsrc: boolParse PE resources tree
parse_reloc: boolParse PE relocations
parse_exceptions: boolWhether it should parse in-depth exceptions metadata.
This option is set to off by default since it can introduce a certain overhead.
parse_arm64x_binary: boolWhether it should parse nested ARM64X binary
This option is set to off by default since it can introduce a certain overhead.
Implementations§
§impl Config
impl Config
pub fn with_all_options() -> Self
pub fn with_all_options() -> Self
Configuration with all the options enabled
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more