LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used to get a LIEF::PE::Binary. More...
#include <Parser.hpp>
Public Member Functions | |
Parser & | operator= (const Parser ©)=delete |
Parser (const Parser ©)=delete | |
Static Public Member Functions | |
static bool | is_valid_import_name (const std::string &name) |
Check if the given name is a valid import. | |
static bool | is_valid_dll_name (const std::string &name) |
Check if the given name is a valid DLL name. | |
static std::unique_ptr< Binary > | parse (const std::string &filename, const ParserConfig &conf=ParserConfig::all()) |
Parse a PE binary from the given filename. | |
static std::unique_ptr< Binary > | parse (std::vector< uint8_t > data, const ParserConfig &conf=ParserConfig::all()) |
Parse a PE binary from a data buffer. | |
static std::unique_ptr< Binary > | parse (std::unique_ptr< BinaryStream > stream, const ParserConfig &conf=ParserConfig::all()) |
Parse a PE binary from the given BinaryStream. | |
Static Public Member Functions inherited from LIEF::Parser | |
static std::unique_ptr< Binary > | parse (const std::string &filename) |
Construct an LIEF::Binary from the given filename. | |
static std::unique_ptr< Binary > | parse (const std::vector< uint8_t > &raw) |
Construct an LIEF::Binary from the given raw data. | |
static std::unique_ptr< Binary > | parse (std::unique_ptr< BinaryStream > stream) |
Construct an LIEF::Binary from the given stream. | |
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used to get a LIEF::PE::Binary.
|
static |
Check if the given name is a valid DLL name.
This check verifies that:
|
static |
Check if the given name is a valid import.
This check verified that: