|
BINLEX_EXPORT bool | Setup (MACHINE_TYPES input_mode) |
|
BINLEX_EXPORT bool | IsDotNet () |
|
BINLEX_EXPORT bool | HasLimitations () |
|
virtual bool | ReadVector (const std::vector< uint8_t > &data) |
|
void | CalculateFileHashes (char *file_path) |
|
void | CalculateFileHashes (const vector< uint8_t > &data) |
|
std::vector< uint8_t > | ReadFileIntoVector (const char *file_path) |
|
bool | ReadFile (const char *file_path) |
|
bool | ReadBuffer (void *data, size_t size) |
|
|
MACHINE_TYPES | mode = MACHINE_TYPES::IMAGE_FILE_MACHINE_UNKNOWN |
|
unique_ptr< LIEF::PE::Binary > | binary |
|
struct Section | sections [BINARY_MAX_SECTIONS] |
|
uint32_t | total_exec_sections |
|
string | sha256 |
|
string | tlsh |
|
|
static BINLEX_EXPORT string | GetTLSH (const uint8_t *data, size_t len) |
|
static BINLEX_EXPORT string | GetFileTLSH (const char *file_path) |
|
static BINLEX_EXPORT string | SHA256 (char *trait) |
|
static BINLEX_EXPORT string | GetFileSHA256 (char *file_path) |
|
static BINLEX_EXPORT string | GetSHA256 (const uint8_t *data, size_t len) |
|
static BINLEX_EXPORT vector< char > | TraitToChar (string trait) |
|
static BINLEX_EXPORT string | RemoveWildcards (string trait) |
|
static BINLEX_EXPORT uint | GetByteSize (string s) |
|
static BINLEX_EXPORT string | RemoveSpaces (string s) |
|
static BINLEX_EXPORT string | WildcardTrait (string trait, string bytes) |
|
static BINLEX_EXPORT string | TrimRight (const std::string &s) |
|
static BINLEX_EXPORT string | HexdumpBE (const void *data, size_t size) |
|
static BINLEX_EXPORT string | Wildcards (uint count) |
|
static BINLEX_EXPORT string | HexdumpMemDisp (uint64_t disp) |
|
static BINLEX_EXPORT float | Entropy (string trait) |
|
static BINLEX_EXPORT void | Hexdump (const char *desc, const void *addr, const int len) |
|
◆ HasLimitations()
BINLEX_EXPORT bool binlex::PE::HasLimitations |
( |
| ) |
|
Check if the file has limitations that may result in invalid traits.
- Returns
- bool
◆ Setup()
BINLEX_EXPORT bool binlex::PE::Setup |
( |
MACHINE_TYPES |
input_mode | ) |
|
Setup to Read Specific PE Format
- Parameters
-
input_mode | MACHINE_TYPES::IMAGE_FILE_MACHINE_<arch> |
- Returns
- bool
The documentation for this class was generated from the following file: