Struct lief::pe::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: [lief::pe::Binary::parse_with_config
]
Fields§
§parse_signature: bool
Parse PE authenticode signature
parse_exports: bool
Parse PE Exports Directory
parse_imports: bool
Parse PE Import Directory
parse_rsrc: bool
Parse PE resources tree
parse_reloc: bool
Parse PE relocations
parse_exceptions: bool
Whether 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: bool
Whether 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 StructuralEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
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