Python¶
Utilities¶
- lief.is_vdex(*args) bool¶
- lief.is_vdex(raw: collections.abc.Sequence[int]) bool
Overloaded function.
is_vdex(path: str) -> bool
Check if the file given in parameter is a VDEX
is_vdex(raw: collections.abc.Sequence[int]) -> bool
Check if the raw data given in parameter is a VDEX
- lief.VDEX.version(*args) int¶
- lief.VDEX.version(raw: collections.abc.Sequence[int]) int
Overloaded function.
version(file: str) -> int
Return the VDEX version of the file given in parameter
version(raw: collections.abc.Sequence[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_VERSIONSassociated with the given VDEX version
Parser¶
- lief.VDEX.parse(*args) lief.VDEX.File | None¶
- lief.VDEX.parse(obj: str | io.IOBase | os.PathLike | bytes | list[int], name: str = '') lief._lief.VDEX.File | None
Overloaded function.
parse(filename: str) -> Optional[lief._lief.VDEX.File]
Parse the given filename and return a
Fileobjectparse(obj: Union[str | io.IOBase | os.PathLike | bytes | list[int]], name: str = '') -> Optional[lief._lief.VDEX.File]