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

Namespace related to the LIEF's ART module. More...

Namespaces

namespace  ART_17
 
namespace  ART_29
 
namespace  ART_30
 
namespace  ART_44
 
namespace  ART_46
 
namespace  details
 

Classes

class  File
 
class  Hash
 
class  Header
 
class  Parser
 Class which parses an ART file and transform into a 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.
 

Detailed Description

Namespace related to the LIEF's ART module.

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 version().

◆ is_art() [1/2]

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

Check if the given file is an ART one.

◆ 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.

◆ to_json()

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

◆ to_string() [1/8]

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

◆ to_string() [2/8]

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

◆ to_string() [3/8]

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

◆ to_string() [4/8]

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

◆ to_string() [5/8]

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

◆ to_string() [6/8]

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

◆ to_string() [7/8]

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

◆ to_string() [8/8]

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

◆ version() [1/2]

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

Return the ART version of the given file.

Referenced by android_version().

◆ version() [2/2]

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

Return the ART version of the raw data.