16#ifndef LIEF_MACHO_PARSER_CONFIG_H
17#define LIEF_MACHO_PARSER_CONFIG_H
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
LIEF namespace.
Definition Abstract/Binary.hpp:40
This structure is used to tweak the MachO Parser (MachO::Parser).
Definition MachO/ParserConfig.hpp:24
bool parse_dyld_exports
Parse the Dyld export trie.
Definition MachO/ParserConfig.hpp:39
bool fix_from_memory
When parsing Mach-O from memory, this option can be used to undo relocations and symbols bindings.
Definition MachO/ParserConfig.hpp:49
bool parse_overlay
Whether the overlay data should be parsed.
Definition MachO/ParserConfig.hpp:42
bool from_dyld_shared_cache
Whether the binary is coming/extracted from Dyld shared cache.
Definition MachO/ParserConfig.hpp:52
static ParserConfig deep()
Return a parser configuration such as all the objects supported by LIEF are parsed.
bool parse_dyld_bindings
Parse the Dyld binding opcodes.
Definition MachO/ParserConfig.hpp:40
ParserConfig & full_dyldinfo(bool flag)
If flag is set to true, Exports, Bindings and Rebases opcodes are parsed.
static ParserConfig quick()
Return a configuration to parse the most important MachO structures.
bool parse_dyld_rebases
Parse the Dyld rebase opcodes.
Definition MachO/ParserConfig.hpp:41
#define LIEF_API
Definition visibility.h:41