Go to the documentation of this file.
16#ifndef LIEF_PE_PARSER_CONFIG_H
17#define LIEF_PE_PARSER_CONFIG_H
28 static const ParserConfig
DEFAULT;
32 static ParserConfig
all() {
38 bool parse_signature =
true;
41 bool parse_exports =
true;
44 bool parse_imports =
true;
47 bool parse_rsrc =
true;
50 bool parse_reloc =
true;
53 bool parse_exceptions =
false;
59 bool parse_arm64x_binary =
false;
69 std::ostream&
operator<<(std::ostream& os,
const ParserConfig& config)
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
@ DEFAULT
Definition PE/utils.hpp:34
LIEF namespace.
Definition Abstract/Binary.hpp:36
This structure is used to tweak the PE Parser (PE::Parser)
Definition PE/ParserConfig.hpp:26
bool parse_exceptions
Whether it should parse in-depth exceptions metadata.
Definition PE/ParserConfig.hpp:58
std::string to_string() const
friend std::ostream & operator<<(std::ostream &os, const ParserConfig &config)
Definition PE/ParserConfig.hpp:69
static ParserConfig all()
Definition PE/ParserConfig.hpp:32
static const ParserConfig & default_conf()
Definition PE/ParserConfig.hpp:27
bool parse_arm64x_binary
Whether it should parse nested ARM64X binary.
Definition PE/ParserConfig.hpp:64
#define LIEF_API
Definition visibility.h:41