|
BINLEX_EXPORT bool | Setup (ARCH input_mode) |
|
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) |
|
|
ARCH | mode = ARCH::EM_NONE |
|
unique_ptr< LIEF::ELF::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) |
|
◆ ReadVector()
virtual bool binlex::ELF::ReadVector |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
virtual |
This method reads an ELF file from a buffer.
- Parameters
-
- Returns
- bool
Implements binlex::File.
◆ Setup()
BINLEX_EXPORT bool binlex::ELF::Setup |
( |
ARCH |
input_mode | ) |
|
This method sets the architecture of the ELF file you wish to read.
- Parameters
-
input_mode | architecure of the file |
- Returns
- bool
The documentation for this class was generated from the following file: