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.

vdex_version_t LIEF::VDEX::version(const std::string &file)

Return the VDEX version of the given file.

vdex_version_t LIEF::VDEX::version(const std::vector<uint8_t> &raw)

Return the VDEX version of the raw data.

LIEF::Android::ANDROID_VERSIONS LIEF::VDEX::android_version(vdex_version_t version)

Return the ANDROID_VERSIONS associated with the given VDEX version.


class Parser

Class which parse an VDEX file and transform into a VDEX::File object.

Public Functions

Parser &operator=(const Parser &copy)
Parser(const Parser &copy)

Public Static Functions

std::unique_ptr<File> parse(const std::string &file)
std::unique_ptr<File> parse(const std::vector<uint8_t> &data, const std::string &name = "")


class File : public LIEF::Object

Public Functions

File &operator=(const File &copy)
File(const File &copy)
const Header &header(void) const

VDEX Header.

Header &header(void)
DEX::it_dex_files dex_files(void)

Iterator over LIEF::DEX::Files registered.

DEX::it_const_dex_files dex_files(void) const
dex2dex_info_t dex2dex_info(void) const
std::string dex2dex_json_info(void)
void accept(Visitor &visitor) const
bool operator==(const File &rhs) const
bool operator!=(const File &rhs) const


std::ostream &operator<<(std::ostream &os, const File &vdex_file)