VDEX

Utilities

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::VDEX::is_vdex” with arguments (const std::string&) in doxygen xml output for project “lief” from directory: /tmp/LIEF/LIEF/build/doc/doxygen/xml. Potential matches:

- bool is_vdex(const std::string &file)
- bool is_vdex(const std::vector<uint8_t> &raw)

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::VDEX::is_vdex” with arguments (const std::vector<uint8_t>&) in doxygen xml output for project “lief” from directory: /tmp/LIEF/LIEF/build/doc/doxygen/xml. Potential matches:

- bool is_vdex(const std::string &file)
- bool is_vdex(const std::vector<uint8_t> &raw)

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::VDEX::version” with arguments (const std::string&) in doxygen xml output for project “lief” from directory: /tmp/LIEF/LIEF/build/doc/doxygen/xml. Potential matches:

- vdex_version_t version(const std::string &file)
- vdex_version_t version(const std::vector<uint8_t> &raw)

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::VDEX::version” with arguments (const std::vector<uint8_t>&) in doxygen xml output for project “lief” from directory: /tmp/LIEF/LIEF/build/doc/doxygen/xml. Potential matches:

- vdex_version_t version(const std::string &file)
- vdex_version_t version(const std::vector<uint8_t> &raw)
LIEF::Android::ANDROID_VERSIONS VDEX::LIEF::android_version(vdex_version_t version)

Return the ANDROID_VERSIONS associated with the given VDEX version.


Parser

class LIEF::VDEX::Parser

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

Public Functions

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

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 = "")

File

class LIEF::VDEX::File : public LIEF::Object

Public Functions

File &operator=(const File &copy) = delete
File(const File &copy) = delete
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 override
bool operator==(const File &rhs) const
bool operator!=(const File &rhs) const
~File(void)

Friends

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