C++¶
Utilities¶
- bool LIEF::VDEX::is_vdex(const std::string &file)¶
Check if the given file is a VDEX one.
- bool LIEF::VDEX::is_vdex(const std::vector<uint8_t> &raw)¶
Check if the given raw data is a 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.
- Android::ANDROID_VERSIONS LIEF::VDEX::android_version(vdex_version_t version)¶
Return the ANDROID_VERSIONS associated with the given VDEX version.
Parser¶
- class Parser¶
Class which parses a VDEX file and transforms it into a VDEX::File object.
File¶
- class File : public LIEF::Object¶
Main class for the VDEX module which represents a VDEX file.
Public Types
- using it_dex_files = ref_iterator<dex_files_t&, DEX::File*>¶
- using it_const_dex_files = const_ref_iterator<const dex_files_t&, const DEX::File*>¶
Public Functions
- it_dex_files dex_files()¶
Iterator over LIEF::DEX::Files registered.
- it_const_dex_files dex_files() const¶
- dex2dex_info_t dex2dex_info() const¶
- std::string dex2dex_json_info()¶
- virtual void accept(Visitor &visitor) const override¶
- ~File() override¶
- using it_dex_files = ref_iterator<dex_files_t&, DEX::File*>¶
Header¶
- class Header : public LIEF::Object¶
Public Types
- using magic_t = std::array<uint8_t, 4>¶
Public Functions
- Header()¶
- vdex_version_t version() const¶
VDEX version number.
- uint32_t nb_dex_files() const¶
Number of LIEF::DEX::File files registered.
- uint32_t dex_size() const¶
Size of all LIEF::DEX::File.
- uint32_t verifier_deps_size() const¶
Size of verifier deps section.
- uint32_t quickening_info_size() const¶
Size of quickening info section.
- virtual void accept(Visitor &visitor) const override¶
- ~Header() override¶
- using magic_t = std::array<uint8_t, 4>¶