ART

Utilities

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.

art_version_t LIEF::ART::version(const std::string &file)

Return the ART version of the given file.

art_version_t LIEF::ART::version(const std::vector<uint8_t> &raw)

Return the ART version of the raw data.

LIEF::Android::ANDROID_VERSIONS LIEF::ART::android_version(art_version_t version)

Return the ANDROID_VERSIONS associated with the given ART version.


Parser

class Parser

Class which parse an ART file and transform into a ART::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 = "")

File

class File : public LIEF::Object

Public Functions

File &operator=(const File &copy)
File(const File &copy)
const Header &header(void) const
Header &header(void)
void accept(Visitor &visitor) const
bool operator==(const File &rhs) const
bool operator!=(const File &rhs) const
~File(void)

Friends

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