Struct lief::macho::ParserConfig
pub struct ParserConfig {
pub parse_dyld_exports: bool,
pub parse_dyld_bindings: bool,
pub parse_dyld_rebases: bool,
pub parse_overlay: bool,
pub fix_from_memory: bool,
pub from_dyld_shared_cache: bool,
}Expand description
This structure is used to tweak the MachO parser:
crate::macho::FatBinary::parse_with_config
Fields§
§parse_dyld_exports: boolParse the Dyld export trie
parse_dyld_bindings: boolParse the Dyld binding opcodes
parse_dyld_rebases: boolParse the Dyld rebase opcodes
parse_overlay: boolWhether the overlay data should be parsed
fix_from_memory: boolWhen parsing Mach-O from memory, this option can be used to undo relocations and symbols bindings.
When activated, this option requires parse_dyld_bindings
and parse_dyld_rebases to be enabled.
Whether the binary is coming/extracted from Dyld shared cache
Implementations§
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