ART

Utilities

lief.ART.is_art(*args, **kwargs)

Overloaded function.

  1. is_art(path: str) -> bool

Check if the file given in parameter is an ART

  1. is_art(raw: List[int]) -> bool

Check if the raw data given in parameter is a ART

lief.ART.version(*args, **kwargs)

Overloaded function.

  1. version(file: str) -> int

Return the ART version of the file given in parameter

  1. version(raw: List[int]) -> int

Return the ART version of the raw data given in parameter

lief.ART.android_version(art_version: int) → LIEF::Android::ANDROID_VERSIONS

Return the ANDROID_VERSIONS associated with the given ART version


Parser

lief.ART.parse(*args, **kwargs)

Overloaded function.

  1. parse(Parse the given filename and return an File objectfilename: str) -> LIEF::ART::File

  2. parse(Parse the given raw data and return an File object

raw: List[int], name: str=’‘) -> LIEF::ART::File

  1. parse(io: object, name: str=’‘) -> LIEF::ART::File


File

class lief.ART.File

ART File representation

header

Return the ART Header