LIEF: Library to Instrument Executable Formats Version 0.15.0
|
This structure is used to tweak the MachO Parser (MachO::Parser) More...
#include <ParserConfig.hpp>
Public Member Functions | |
ParserConfig & | full_dyldinfo (bool flag) |
If flag is set to true , Exports, Bindings and Rebases opcodes are parsed. | |
Static Public Member Functions | |
static ParserConfig | deep () |
Return a parser configuration such as all the objects supported by LIEF are parsed. | |
static ParserConfig | quick () |
Return a configuration to parse the most important MachO structures. | |
Public Attributes | |
bool | parse_dyld_exports = true |
Parse the Dyld export trie. | |
bool | parse_dyld_bindings = true |
Parse the Dyld binding opcodes. | |
bool | parse_dyld_rebases = true |
Parse the Dyld rebase opcodes. | |
bool | parse_overlay = true |
Whether the overlay data should be parsed. | |
bool | fix_from_memory = false |
When parsing Mach-O from memory, this option can be used to undo relocations and symbols bindings. | |
This structure is used to tweak the MachO Parser (MachO::Parser)
ParserConfig & LIEF::MachO::ParserConfig::full_dyldinfo | ( | bool | flag | ) |
If flag
is set to true
, Exports, Bindings and Rebases opcodes are parsed.
bool LIEF::MachO::ParserConfig::fix_from_memory = false |
When 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.