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


class lief.ART.Header

ART Header representation

property boot_image_begin
property boot_image_size
property boot_oat_begin
property boot_oat_size
property compile_pic
property data_size
property image_begin
property image_roots
property image_size
property magic
property nb_methods
property nb_sections
property oat_checksum
property oat_data_end
property oat_file_begin
property oat_file_end
property patch_delta
property pointer_size
property storage_mode
property version