ART

Utilities

lief.is_art(*args) bool
lief.is_art(raw: list[int]) bool

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) int
lief.ART.version(raw: list[int]) int

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) lief.ART.File | None
lief.ART.parse(raw: list[int], name: str = '') lief._lief.ART.File | None
lief.ART.parse(obj: io.IOBase | os.PathLike, name: str = '') lief._lief.ART.File | None

Overloaded function.

  1. parse(filename: str) -> Optional[lief._lief.ART.File]

Parse the given filename and return an File object

  1. parse(raw: list[int], name: str = '') -> Optional[lief._lief.ART.File]

Parse the given raw data and return an File object


File

class lief.ART.File

ART File representation

property header lief.ART.Header

Return the ART Header