LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Namespace related to the LIEF's ART module. More...
Namespaces | |
namespace | ART_17 |
namespace | ART_29 |
namespace | ART_30 |
namespace | ART_44 |
namespace | ART_46 |
namespace | details |
Classes | |
class | File |
class | Hash |
class | Header |
class | Parser |
Class which parses an ART file and transform into a ART::File object. More... | |
Typedefs | |
using | art_version_t = uint32_t |
Enumerations | |
enum | STORAGE_MODES { STORAGE_UNCOMPRESSED = 0 , STORAGE_LZ4 = 1 , STORAGE_LZ4HC = 2 } |
Functions | |
const char * | to_string (STORAGE_MODES e) |
const char * | to_string (ART_17::IMAGE_SECTIONS e) |
const char * | to_string (ART_29::IMAGE_SECTIONS e) |
const char * | to_string (ART_30::IMAGE_SECTIONS e) |
const char * | to_string (ART_17::IMAGE_METHODS e) |
const char * | to_string (ART_44::IMAGE_METHODS e) |
const char * | to_string (ART_17::IMAGE_ROOTS e) |
const char * | to_string (ART_44::IMAGE_ROOTS e) |
std::string | to_json (const Object &v) |
bool | is_art (const std::string &file) |
Check if the given file is an ART one. | |
bool | is_art (const std::vector< uint8_t > &raw) |
Check if the given raw data is an ART one. | |
art_version_t | version (const std::string &file) |
Return the ART version of the given file. | |
art_version_t | version (const std::vector< uint8_t > &raw) |
Return the ART version of the raw data. | |
LIEF::Android::ANDROID_VERSIONS | android_version (art_version_t version) |
Return the ANDROID_VERSIONS associated with the given ART version. | |
using LIEF::ART::art_version_t = uint32_t |
LIEF::Android::ANDROID_VERSIONS LIEF::ART::android_version | ( | art_version_t | version | ) |
bool LIEF::ART::is_art | ( | const std::string & | file | ) |
Check if the given file is an ART one.
bool LIEF::ART::is_art | ( | const std::vector< uint8_t > & | raw | ) |
Check if the given raw data is an ART one.
std::string LIEF::ART::to_json | ( | const Object & | v | ) |
const char * LIEF::ART::to_string | ( | ART_17::IMAGE_METHODS | e | ) |
const char * LIEF::ART::to_string | ( | ART_17::IMAGE_ROOTS | e | ) |
const char * LIEF::ART::to_string | ( | ART_17::IMAGE_SECTIONS | e | ) |
const char * LIEF::ART::to_string | ( | ART_29::IMAGE_SECTIONS | e | ) |
const char * LIEF::ART::to_string | ( | ART_30::IMAGE_SECTIONS | e | ) |
const char * LIEF::ART::to_string | ( | ART_44::IMAGE_METHODS | e | ) |
const char * LIEF::ART::to_string | ( | ART_44::IMAGE_ROOTS | e | ) |
const char * LIEF::ART::to_string | ( | STORAGE_MODES | e | ) |
art_version_t LIEF::ART::version | ( | const std::string & | file | ) |
Return the ART version of the given file.
Referenced by android_version().
art_version_t LIEF::ART::version | ( | const std::vector< uint8_t > & | raw | ) |
Return the ART version of the raw data.