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 parses an ART file and transform into a ART::File object.

Public Functions

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

Public Static Functions

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

File

class File : public LIEF::Object

Public Functions

File &operator=(const File &copy) = delete
File(const File &copy) = delete
const Header &header() const
Header &header()
virtual void accept(Visitor &visitor) const override
~File() override

Friends

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