LIEF: Library to Instrument Executable Formats Version 2.0.0
Loading...
Searching...
No Matches
LIEF::ART Namespace Reference

Namespaces

namespace  ART_17
namespace  ART_29
namespace  ART_30
namespace  ART_44
namespace  ART_46
namespace  details
 Namespace related to the LIEF's ART module.

Classes

class  File
class  Hash
class  Header
class  Parser
 Class which parses an ART file and transforms it into an ART::File object. More...

Typedefs

using art_version_t = uint32_t

Enumerations

enum  STORAGE_MODES { STORAGE_UNCOMPRESSED = 0 , STORAGE_LZ4 = 1 , STORAGE_LZ4HC = 2 }

Functions

const char * to_string (STORAGE_MODES e)
const char * to_string (ART_17::IMAGE_SECTIONS e)
const char * to_string (ART_29::IMAGE_SECTIONS e)
const char * to_string (ART_30::IMAGE_SECTIONS e)
const char * to_string (ART_17::IMAGE_METHODS e)
const char * to_string (ART_44::IMAGE_METHODS e)
const char * to_string (ART_17::IMAGE_ROOTS e)
const char * to_string (ART_44::IMAGE_ROOTS e)
std::string to_json (const Object &v)
bool is_art (const std::string &file)
 Check if the given file is an ART one.
bool is_art (const std::vector< uint8_t > &raw)
 Check if the given raw data is an ART one.
art_version_t version (const std::string &file)
 Return the ART version of the given file.
art_version_t version (const std::vector< uint8_t > &raw)
 Return the ART version of the raw data.
LIEF::Android::ANDROID_VERSIONS android_version (art_version_t version)
 Return the ANDROID_VERSIONS associated with the given ART version.

Typedef Documentation

◆ art_version_t

using LIEF::ART::art_version_t = uint32_t

Enumeration Type Documentation

◆ STORAGE_MODES

Enumerator
STORAGE_UNCOMPRESSED 
STORAGE_LZ4 
STORAGE_LZ4HC 

Function Documentation

◆ android_version()

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

Return the ANDROID_VERSIONS associated with the given ART version.

References LIEF_API, and version().

◆ is_art() [1/2]

bool LIEF::ART::is_art ( const std::string & file)

Check if the given file is an ART one.

References LIEF_API.

◆ is_art() [2/2]

bool LIEF::ART::is_art ( const std::vector< uint8_t > & raw)

Check if the given raw data is an ART one.

References LIEF_API.

◆ to_json()

std::string LIEF::ART::to_json ( const Object & v)

References LIEF_API.

◆ to_string() [1/8]

const char * LIEF::ART::to_string ( ART_17::IMAGE_METHODS e)

References LIEF_API.

◆ to_string() [2/8]

const char * LIEF::ART::to_string ( ART_17::IMAGE_ROOTS e)

References LIEF_API.

◆ to_string() [3/8]

const char * LIEF::ART::to_string ( ART_17::IMAGE_SECTIONS e)

References LIEF_API.

◆ to_string() [4/8]

const char * LIEF::ART::to_string ( ART_29::IMAGE_SECTIONS e)

References LIEF_API.

◆ to_string() [5/8]

const char * LIEF::ART::to_string ( ART_30::IMAGE_SECTIONS e)

References LIEF_API.

◆ to_string() [6/8]

const char * LIEF::ART::to_string ( ART_44::IMAGE_METHODS e)

References LIEF_API.

◆ to_string() [7/8]

const char * LIEF::ART::to_string ( ART_44::IMAGE_ROOTS e)

References LIEF_API.

◆ to_string() [8/8]

const char * LIEF::ART::to_string ( STORAGE_MODES e)

References LIEF_API.

◆ version() [1/2]

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

Return the ART version of the given file.

References LIEF_API.

Referenced by android_version(), and LIEF::ART::Parser::Parser().

◆ version() [2/2]

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

Return the ART version of the raw data.

References LIEF_API.