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(filename: str) -> LIEF::ART::File

Parse the given filename and return an File object

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

Parse the given raw data and return an File object

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


File

class lief.ART.File

ART File representation

property header

Return the ART Header