VDEX

Utilities

lief.VDEX.is_vdex(*args, **kwargs)

Overloaded function.

  1. is_vdex(path: str) -> bool

Check if the file given in parameter is an VDEX

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

Check if the raw data given in parameter is a VDEX

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

Overloaded function.

  1. version(file: str) -> int

Return the VDEX version of the file given in parameter

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

Return the VDEX version of the raw data given in parameter

lief.VDEX.android_version(vdex_version: int) LIEF::Android::ANDROID_VERSIONS

Return the ANDROID_VERSIONS associated with the given VDEX version


Parser

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

Overloaded function.

  1. parse(filename: str) -> LIEF::VDEX::File

Parse the given filename and return a File object

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

Parse the given raw data and return a File object

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


File

class lief.VDEX.File

VDEX File representation

property dex2dex_json_info
property dex_files

Return an iterator over File

property header

Return the VDEX Header