lief 0.16.5__cp311-cp311-musllinux_1_2_i686.whl → 0.17.0__cp311-cp311-musllinux_1_2_i686.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lief might be problematic. Click here for more details.

lief/ART/__init__.pyi CHANGED
@@ -5,8 +5,25 @@ import os
5
5
  from typing import Iterator, Optional, Union, overload
6
6
 
7
7
  import lief
8
+ import lief.Android
8
9
 
9
10
 
11
+ class STORAGE_MODES(enum.Enum):
12
+ UNCOMPRESSED = 0
13
+
14
+ LZ4 = 1
15
+
16
+ LZ4HC = 2
17
+
18
+ @overload
19
+ def parse(filename: str) -> Optional[File]: ...
20
+
21
+ @overload
22
+ def parse(raw: Sequence[int], name: str = '') -> Optional[File]: ...
23
+
24
+ @overload
25
+ def parse(obj: Union[str | io.IOBase | os.PathLike | bytes | list[int]], name: str = '') -> Optional[File]: ...
26
+
10
27
  class File(lief.Object):
11
28
  @property
12
29
  def header(self) -> Header: ...
@@ -76,26 +93,10 @@ class Header(lief.Object):
76
93
 
77
94
  def __str__(self) -> str: ...
78
95
 
79
- class STORAGE_MODES(enum.Enum):
80
- UNCOMPRESSED = 0
81
-
82
- LZ4 = 1
83
-
84
- LZ4HC = 2
85
-
86
- def android_version(art_version: int) -> lief.Android.ANDROID_VERSIONS: ...
87
-
88
- @overload
89
- def parse(filename: str) -> Optional[File]: ...
90
-
91
- @overload
92
- def parse(raw: Sequence[int], name: str = '') -> Optional[File]: ...
93
-
94
- @overload
95
- def parse(obj: Union[io.IOBase | os.PathLike], name: str = '') -> Optional[File]: ...
96
-
97
96
  @overload
98
97
  def version(file: str) -> int: ...
99
98
 
100
99
  @overload
101
100
  def version(raw: Sequence[int]) -> int: ...
101
+
102
+ def android_version(art_version: int) -> lief.Android.ANDROID_VERSIONS: ...