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(Parse the given filename and return a File objectfilename: str) -> LIEF::VDEX::File

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

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

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


File

class lief.VDEX.File

VDEX File representation

dex2dex_json_info
dex_files

Return an iterator over File

header

Return the VDEX Header