LIEF: Library to Instrument Executable Formats Version 0.15.1
|
#include <vector>
#include <string>
#include "LIEF/PE/enums.hpp"
#include "LIEF/visibility.h"
#include "LIEF/errors.hpp"
Go to the source code of this file.
Namespaces | |
namespace | LIEF |
LIEF namespace. | |
namespace | LIEF::PE |
Namespace related to the LIEF's PE module. | |
Enumerations | |
enum class | LIEF::PE::IMPHASH_MODE { LIEF::PE::DEFAULT = 0 , LIEF::PE::LIEF = DEFAULT , LIEF::PE::PEFILE , LIEF::PE::VT = PEFILE } |
Enum to define the behavior of LIEF::PE::get_imphash. More... | |
Functions | |
bool | LIEF::PE::is_pe (BinaryStream &stream) |
bool | LIEF::PE::is_pe (const std::string &file) |
check if the file is a PE file | |
bool | LIEF::PE::is_pe (const std::vector< uint8_t > &raw) |
check if the raw data is a PE file | |
result< PE_TYPE > | LIEF::PE::get_type (const std::string &file) |
if the input file is a PE one, return PE32 or PE32+ | |
result< PE_TYPE > | LIEF::PE::get_type (const std::vector< uint8_t > &raw) |
Return PE32 or PE32+ | |
result< PE_TYPE > | LIEF::PE::get_type_from_stream (BinaryStream &stream) |
std::string | LIEF::PE::get_imphash (const Binary &binary, IMPHASH_MODE mode=IMPHASH_MODE::DEFAULT) |
Compute the hash of imported functions. | |
result< Import > | LIEF::PE::resolve_ordinals (const Import &import, bool strict=false, bool use_std=false) |
Take a PE::Import as entry and try to resolve imports by ordinal. | |
ALGORITHMS | LIEF::PE::algo_from_oid (const std::string &oid) |