LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Classes | |
class | File |
Main class for the VDEX module which represents a VDEX file. More... | |
class | Hash |
class | Header |
class | Parser |
Class which parse an VDEX file and transform into a VDEX::File object. More... | |
Typedefs | |
using | vdex_version_t = uint32_t |
using | dex2dex_info_t = std::unordered_map<const DEX::File*, DEX::dex2dex_info_t> |
Functions | |
std::string | to_json (const Object &v) |
bool | is_vdex (const std::string &file) |
Check if the given file is an VDEX one. | |
bool | is_vdex (const std::vector< uint8_t > &raw) |
Check if the given raw data is an VDEX one. | |
vdex_version_t | version (const std::string &file) |
Return the VDEX version of the given file. | |
vdex_version_t | version (const std::vector< uint8_t > &raw) |
Return the VDEX version of the raw data. | |
Android::ANDROID_VERSIONS | android_version (vdex_version_t version) |
Return the ANDROID_VERSIONS associated with the given VDEX version. | |
using LIEF::VDEX::dex2dex_info_t = std::unordered_map<const DEX::File*, DEX::dex2dex_info_t> |
using LIEF::VDEX::vdex_version_t = uint32_t |
Android::ANDROID_VERSIONS LIEF::VDEX::android_version | ( | vdex_version_t | version | ) |
bool LIEF::VDEX::is_vdex | ( | const std::string & | file | ) |
Check if the given file is an VDEX one.
bool LIEF::VDEX::is_vdex | ( | const std::vector< uint8_t > & | raw | ) |
Check if the given raw data is an VDEX one.
std::string LIEF::VDEX::to_json | ( | const Object & | v | ) |
vdex_version_t LIEF::VDEX::version | ( | const std::string & | file | ) |
Return the VDEX version of the given file.
Referenced by android_version().
vdex_version_t LIEF::VDEX::version | ( | const std::vector< uint8_t > & | raw | ) |
Return the VDEX version of the raw data.