ART

Utilities

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::ART::is_art” 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_art(const std::string &file)
- bool is_art(const std::vector<uint8_t> &raw)

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::ART::is_art” 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_art(const std::string &file)
- bool is_art(const std::vector<uint8_t> &raw)

Warning

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

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

Warning

doxygenfunction: Unable to resolve multiple matches for function “LIEF::ART::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:

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

Return the ANDROID_VERSIONS associated with the given ART version.


Parser

class LIEF::ART::Parser

Class which parse 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

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::ART::File : public LIEF::Object

Public Functions

File &operator=(const File &copy) = delete
File(const File &copy) = delete
const Header &header(void) const
Header &header(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 &art_file)