|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
This structure is used to configure the behavior of the PE Parser (PE::Parser). More...
#include <ParserConfig.hpp>
Public Member Functions | |
| std::string | to_string () const |
Static Public Member Functions | |
| static const ParserConfig & | default_conf () |
| Returns the default configuration for the PE Parser. | |
| static ParserConfig | all () |
| Returns a configuration that enables all optional parsing features. | |
Public Attributes | |
| bool | parse_signature = true |
| Whether to parse the PE Authenticode signature. | |
| bool | parse_exports = true |
| Whether to parse the PE Export Directory. | |
| bool | parse_imports = true |
| Whether to parse the PE Import Directory. | |
| bool | parse_rsrc = true |
| Whether to parse the PE resources tree. | |
| bool | parse_reloc = true |
| Whether to parse PE relocations. | |
| bool | parse_exceptions = false |
| Whether to parse in-depth exception metadata. | |
| bool | parse_arm64x_binary = false |
| Whether to parse nested ARM64X binaries. | |
This structure is used to configure the behavior of the PE Parser (PE::Parser).
|
inlinestatic |
Returns a configuration that enables all optional parsing features.
References parse_arm64x_binary, and parse_exceptions.
|
inlinestatic |
Returns the default configuration for the PE Parser.
References LIEF::PE::DEFAULT.
Referenced by LIEF::PE::Parser::parse(), LIEF::PE::Parser::parse(), LIEF::PE::Parser::parse(), and LIEF::PE::Parser::parse().
| std::string LIEF::PE::ParserConfig::to_string | ( | ) | const |
References LIEF_API.
Referenced by operator<<.
| bool LIEF::PE::ParserConfig::parse_arm64x_binary = false |
Whether to parse nested ARM64X binaries.
This option is disabled by default because it can introduce significant parsing overhead.
Referenced by all().
| bool LIEF::PE::ParserConfig::parse_exceptions = false |
Whether to parse in-depth exception metadata.
This option is disabled by default because it can introduce significant parsing overhead.
Referenced by all().
| bool LIEF::PE::ParserConfig::parse_reloc = true |
Whether to parse PE relocations.
| bool LIEF::PE::ParserConfig::parse_rsrc = true |
Whether to parse the PE resources tree.
| bool LIEF::PE::ParserConfig::parse_signature = true |
Whether to parse the PE Authenticode signature.