lief 0.15.1__cp313-cp313-win_amd64.whl → 0.16.1__cp313-cp313-win_amd64.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.pyi → ART/__init__.pyi} +65 -45
- lief/Android/__init__.pyi +33 -0
- lief/DEX/__init__.pyi +512 -0
- lief/ELF/__init__.pyi +5342 -0
- lief/MachO/__init__.pyi +2678 -0
- lief/OAT/__init__.pyi +348 -0
- lief/PE/__init__.pyi +4098 -0
- lief/VDEX/__init__.pyi +54 -0
- lief/__init__.py +3 -0
- lief/__init__.pyi +457 -316
- lief/_lief.pyd +0 -0
- lief/assembly/__init__.pyi +104 -0
- lief/assembly/aarch64/__init__.pyi +20200 -0
- lief/assembly/aarch64/operands/__init__.pyi +48 -0
- lief/assembly/arm/__init__.pyi +9004 -0
- lief/assembly/ebpf/__init__.pyi +984 -0
- lief/assembly/mips/__init__.pyi +5798 -0
- lief/assembly/powerpc/__init__.pyi +5714 -0
- lief/assembly/riscv/__init__.pyi +27674 -0
- lief/assembly/x86/__init__.pyi +40433 -0
- lief/assembly/x86/operands/__init__.pyi +32 -0
- lief/dsc/__init__.pyi +220 -0
- lief/dwarf/__init__.pyi +224 -125
- lief/dwarf/parameters/__init__.pyi +14 -0
- lief/dwarf/types/__init__.pyi +167 -0
- lief/logging/__init__.pyi +44 -0
- lief/objc/__init__.pyi +89 -0
- lief/pdb/__init__.pyi +66 -50
- lief/pdb/types/__init__.pyi +69 -0
- lief-0.16.1.dist-info/METADATA +86 -0
- lief-0.16.1.dist-info/RECORD +33 -0
- lief/Android.pyi +0 -29
- lief/DEX.pyi +0 -382
- lief/ELF.pyi +0 -3179
- lief/MachO.pyi +0 -1717
- lief/OAT.pyi +0 -271
- lief/PE.pyi +0 -2951
- lief/VDEX.pyi +0 -49
- lief/dwarf/types.pyi +0 -72
- lief/logging.pyi +0 -27
- lief/objc.pyi +0 -68
- lief/pdb/types.pyi +0 -68
- lief-0.15.1.dist-info/METADATA +0 -157
- lief-0.15.1.dist-info/RECORD +0 -21
- {lief-0.15.1.dist-info → lief-0.16.1.dist-info}/WHEEL +0 -0
lief/OAT.pyi
DELETED
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
from typing import Any, ClassVar, Optional, Union
|
|
2
|
-
|
|
3
|
-
from typing import overload
|
|
4
|
-
import io
|
|
5
|
-
import lief.Android # type: ignore
|
|
6
|
-
import lief.DEX # type: ignore
|
|
7
|
-
import lief.ELF # type: ignore
|
|
8
|
-
import lief.OAT # type: ignore
|
|
9
|
-
import lief.OAT.Binary # type: ignore
|
|
10
|
-
import lief.OAT.Class # type: ignore
|
|
11
|
-
import lief.OAT.Header # type: ignore
|
|
12
|
-
import os
|
|
13
|
-
|
|
14
|
-
class Binary(lief.ELF.Binary):
|
|
15
|
-
class it_classes:
|
|
16
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
17
|
-
def __getitem__(self, arg: int, /) -> lief.OAT.Class: ...
|
|
18
|
-
def __iter__(self) -> lief.OAT.Binary.it_classes: ...
|
|
19
|
-
def __len__(self) -> int: ...
|
|
20
|
-
def __next__(self) -> lief.OAT.Class: ...
|
|
21
|
-
|
|
22
|
-
class it_dex_files:
|
|
23
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
24
|
-
def __getitem__(self, arg: int, /) -> lief.DEX.File: ...
|
|
25
|
-
def __iter__(self) -> lief.OAT.Binary.it_dex_files: ...
|
|
26
|
-
def __len__(self) -> int: ...
|
|
27
|
-
def __next__(self) -> lief.DEX.File: ...
|
|
28
|
-
|
|
29
|
-
class it_methods:
|
|
30
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
31
|
-
def __getitem__(self, arg: int, /) -> lief.OAT.Method: ...
|
|
32
|
-
def __iter__(self) -> lief.OAT.Binary.it_methods: ...
|
|
33
|
-
def __len__(self) -> int: ...
|
|
34
|
-
def __next__(self) -> lief.OAT.Method: ...
|
|
35
|
-
|
|
36
|
-
class it_oat_dex_files:
|
|
37
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
38
|
-
def __getitem__(self, arg: int, /) -> lief.OAT.DexFile: ...
|
|
39
|
-
def __iter__(self) -> lief.OAT.Binary.it_oat_dex_files: ...
|
|
40
|
-
def __len__(self) -> int: ...
|
|
41
|
-
def __next__(self) -> lief.OAT.DexFile: ...
|
|
42
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
43
|
-
@overload
|
|
44
|
-
def get_class(self, class_name: str) -> lief.OAT.Class: ...
|
|
45
|
-
@overload
|
|
46
|
-
def get_class(self, class_index: int) -> lief.OAT.Class: ...
|
|
47
|
-
@property
|
|
48
|
-
def classes(self) -> lief.OAT.Binary.it_classes: ...
|
|
49
|
-
@property
|
|
50
|
-
def dex2dex_json_info(self) -> str: ...
|
|
51
|
-
@property
|
|
52
|
-
def dex_files(self) -> lief.OAT.Binary.it_dex_files: ...
|
|
53
|
-
@property
|
|
54
|
-
def has_class(self) -> bool: ...
|
|
55
|
-
@property
|
|
56
|
-
def header(self) -> lief.OAT.Header: ... # type: ignore
|
|
57
|
-
@property
|
|
58
|
-
def methods(self) -> lief.OAT.Binary.it_methods: ...
|
|
59
|
-
@property
|
|
60
|
-
def oat_dex_files(self) -> lief.OAT.Binary.it_oat_dex_files: ...
|
|
61
|
-
|
|
62
|
-
class Class(lief.Object):
|
|
63
|
-
class it_methods:
|
|
64
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
65
|
-
def __getitem__(self, arg: int, /) -> lief.OAT.Method: ...
|
|
66
|
-
def __iter__(self) -> lief.OAT.Class.it_methods: ...
|
|
67
|
-
def __len__(self) -> int: ...
|
|
68
|
-
def __next__(self) -> lief.OAT.Method: ...
|
|
69
|
-
def __init__(self) -> None: ...
|
|
70
|
-
def has_dex_class(self) -> bool: ...
|
|
71
|
-
@overload
|
|
72
|
-
def is_quickened(self, dex_method: lief.DEX.Method) -> bool: ...
|
|
73
|
-
@overload
|
|
74
|
-
def is_quickened(self, method_index: int) -> bool: ...
|
|
75
|
-
@overload
|
|
76
|
-
def method_offsets_index(self, arg: lief.DEX.Method, /) -> int: ...
|
|
77
|
-
@overload
|
|
78
|
-
def method_offsets_index(self, arg: int, /) -> int: ...
|
|
79
|
-
@property
|
|
80
|
-
def bitmap(self) -> list[int]: ...
|
|
81
|
-
@property
|
|
82
|
-
def fullname(self) -> str: ...
|
|
83
|
-
@property
|
|
84
|
-
def index(self) -> int: ...
|
|
85
|
-
@property
|
|
86
|
-
def methods(self) -> lief.OAT.Class.it_methods: ...
|
|
87
|
-
@property
|
|
88
|
-
def status(self) -> lief.OAT.OAT_CLASS_STATUS: ...
|
|
89
|
-
@property
|
|
90
|
-
def type(self) -> lief.OAT.OAT_CLASS_TYPES: ...
|
|
91
|
-
|
|
92
|
-
class DexFile(lief.Object):
|
|
93
|
-
checksum: int
|
|
94
|
-
dex_offset: int
|
|
95
|
-
location: str
|
|
96
|
-
def __init__(self) -> None: ...
|
|
97
|
-
@property
|
|
98
|
-
def dex_file(self) -> lief.DEX.File: ...
|
|
99
|
-
@property
|
|
100
|
-
def has_dex_file(self) -> bool: ...
|
|
101
|
-
|
|
102
|
-
class HEADER_KEYS:
|
|
103
|
-
BOOT_CLASS_PATH: ClassVar[HEADER_KEYS] = ...
|
|
104
|
-
CLASS_PATH: ClassVar[HEADER_KEYS] = ...
|
|
105
|
-
COMPILER_FILTER: ClassVar[HEADER_KEYS] = ...
|
|
106
|
-
CONCURRENT_COPYING: ClassVar[HEADER_KEYS] = ...
|
|
107
|
-
DEBUGGABLE: ClassVar[HEADER_KEYS] = ...
|
|
108
|
-
DEX2OAT_CMD_LINE: ClassVar[HEADER_KEYS] = ...
|
|
109
|
-
DEX2OAT_HOST: ClassVar[HEADER_KEYS] = ...
|
|
110
|
-
HAS_PATCH_INFO: ClassVar[HEADER_KEYS] = ...
|
|
111
|
-
IMAGE_LOCATION: ClassVar[HEADER_KEYS] = ...
|
|
112
|
-
NATIVE_DEBUGGABLE: ClassVar[HEADER_KEYS] = ...
|
|
113
|
-
PIC: ClassVar[HEADER_KEYS] = ...
|
|
114
|
-
__name__: str
|
|
115
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
116
|
-
def __ge__(self, other) -> bool: ...
|
|
117
|
-
def __gt__(self, other) -> bool: ...
|
|
118
|
-
def __hash__(self) -> int: ...
|
|
119
|
-
def __index__(self) -> Any: ...
|
|
120
|
-
def __int__(self) -> int: ...
|
|
121
|
-
def __le__(self, other) -> bool: ...
|
|
122
|
-
def __lt__(self, other) -> bool: ...
|
|
123
|
-
|
|
124
|
-
class Header(lief.Object):
|
|
125
|
-
class element_t:
|
|
126
|
-
key: lief.OAT.HEADER_KEYS
|
|
127
|
-
value: str
|
|
128
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
129
|
-
|
|
130
|
-
class it_key_values_t:
|
|
131
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
132
|
-
def __getitem__(self, arg: int, /) -> lief.OAT.Header.element_t: ...
|
|
133
|
-
def __iter__(self) -> lief.OAT.Header.it_key_values_t: ...
|
|
134
|
-
def __len__(self) -> int: ...
|
|
135
|
-
def __next__(self) -> lief.OAT.Header.element_t: ...
|
|
136
|
-
def __init__(self) -> None: ...
|
|
137
|
-
def get(self, key: lief.OAT.HEADER_KEYS) -> str: ...
|
|
138
|
-
def set(self, key: lief.OAT.HEADER_KEYS, value: str) -> lief.OAT.Header: ...
|
|
139
|
-
def __getitem__(self, arg: lief.OAT.HEADER_KEYS, /) -> str: ...
|
|
140
|
-
def __setitem__(self, arg0: lief.OAT.HEADER_KEYS, arg1: str, /) -> lief.OAT.Header: ...
|
|
141
|
-
@property
|
|
142
|
-
def checksum(self) -> int: ...
|
|
143
|
-
@property
|
|
144
|
-
def executable_offset(self) -> int: ...
|
|
145
|
-
@property
|
|
146
|
-
def i2c_code_bridge_offset(self) -> int: ...
|
|
147
|
-
@property
|
|
148
|
-
def i2i_bridge_offset(self) -> int: ...
|
|
149
|
-
@property
|
|
150
|
-
def image_file_location_oat_checksum(self) -> int: ...
|
|
151
|
-
@property
|
|
152
|
-
def image_file_location_oat_data_begin(self) -> int: ...
|
|
153
|
-
@property
|
|
154
|
-
def image_patch_delta(self) -> int: ...
|
|
155
|
-
@property
|
|
156
|
-
def instruction_set(self) -> lief.OAT.INSTRUCTION_SETS: ...
|
|
157
|
-
@property
|
|
158
|
-
def jni_dlsym_lookup_offset(self) -> int: ...
|
|
159
|
-
@property
|
|
160
|
-
def key_value_size(self) -> int: ...
|
|
161
|
-
@property
|
|
162
|
-
def key_values(self) -> lief.OAT.Header.it_key_values_t: ...
|
|
163
|
-
@property
|
|
164
|
-
def keys(self) -> list[lief.OAT.HEADER_KEYS]: ...
|
|
165
|
-
@property
|
|
166
|
-
def magic(self) -> list[int]: ...
|
|
167
|
-
@property
|
|
168
|
-
def nb_dex_files(self) -> int: ...
|
|
169
|
-
@property
|
|
170
|
-
def oat_dex_files_offset(self) -> int: ...
|
|
171
|
-
@property
|
|
172
|
-
def quick_generic_jni_trampoline_offset(self) -> int: ...
|
|
173
|
-
@property
|
|
174
|
-
def quick_imt_conflict_trampoline_offset(self) -> int: ...
|
|
175
|
-
@property
|
|
176
|
-
def quick_resolution_trampoline_offset(self) -> int: ...
|
|
177
|
-
@property
|
|
178
|
-
def quick_to_interpreter_bridge_offset(self) -> int: ...
|
|
179
|
-
@property
|
|
180
|
-
def values(self) -> list[str]: ...
|
|
181
|
-
@property
|
|
182
|
-
def version(self) -> int: ...
|
|
183
|
-
|
|
184
|
-
class INSTRUCTION_SETS:
|
|
185
|
-
ARM: ClassVar[INSTRUCTION_SETS] = ...
|
|
186
|
-
ARM_64: ClassVar[INSTRUCTION_SETS] = ...
|
|
187
|
-
MIPS: ClassVar[INSTRUCTION_SETS] = ...
|
|
188
|
-
MIPS_64: ClassVar[INSTRUCTION_SETS] = ...
|
|
189
|
-
NONE: ClassVar[INSTRUCTION_SETS] = ...
|
|
190
|
-
THUMB2: ClassVar[INSTRUCTION_SETS] = ...
|
|
191
|
-
X86: ClassVar[INSTRUCTION_SETS] = ...
|
|
192
|
-
X86_64: ClassVar[INSTRUCTION_SETS] = ...
|
|
193
|
-
__name__: str
|
|
194
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
195
|
-
def __ge__(self, other) -> bool: ...
|
|
196
|
-
def __gt__(self, other) -> bool: ...
|
|
197
|
-
def __hash__(self) -> int: ...
|
|
198
|
-
def __index__(self) -> Any: ...
|
|
199
|
-
def __int__(self) -> int: ...
|
|
200
|
-
def __le__(self, other) -> bool: ...
|
|
201
|
-
def __lt__(self, other) -> bool: ...
|
|
202
|
-
|
|
203
|
-
class Method(lief.Object):
|
|
204
|
-
quick_code: list[int]
|
|
205
|
-
def __init__(self) -> None: ...
|
|
206
|
-
@property
|
|
207
|
-
def dex_method(self) -> lief.DEX.Method: ...
|
|
208
|
-
@property
|
|
209
|
-
def has_dex_method(self) -> bool: ...
|
|
210
|
-
@property
|
|
211
|
-
def is_compiled(self) -> bool: ...
|
|
212
|
-
@property
|
|
213
|
-
def is_dex2dex_optimized(self) -> bool: ...
|
|
214
|
-
@property
|
|
215
|
-
def name(self) -> str: ...
|
|
216
|
-
@property
|
|
217
|
-
def oat_class(self) -> lief.OAT.Class: ...
|
|
218
|
-
|
|
219
|
-
class OAT_CLASS_STATUS:
|
|
220
|
-
ERROR: ClassVar[OAT_CLASS_STATUS] = ...
|
|
221
|
-
IDX: ClassVar[OAT_CLASS_STATUS] = ...
|
|
222
|
-
INITIALIZED: ClassVar[OAT_CLASS_STATUS] = ...
|
|
223
|
-
INITIALIZING: ClassVar[OAT_CLASS_STATUS] = ...
|
|
224
|
-
LOADED: ClassVar[OAT_CLASS_STATUS] = ...
|
|
225
|
-
NOTREADY: ClassVar[OAT_CLASS_STATUS] = ...
|
|
226
|
-
RESOLVED: ClassVar[OAT_CLASS_STATUS] = ...
|
|
227
|
-
RESOLVING: ClassVar[OAT_CLASS_STATUS] = ...
|
|
228
|
-
RETIRED: ClassVar[OAT_CLASS_STATUS] = ...
|
|
229
|
-
VERIFICATION_AT_RUNTIME: ClassVar[OAT_CLASS_STATUS] = ...
|
|
230
|
-
VERIFIED: ClassVar[OAT_CLASS_STATUS] = ...
|
|
231
|
-
VERIFYING: ClassVar[OAT_CLASS_STATUS] = ...
|
|
232
|
-
VERIFYING_AT_RUNTIME: ClassVar[OAT_CLASS_STATUS] = ...
|
|
233
|
-
__name__: str
|
|
234
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
235
|
-
def __ge__(self, other) -> bool: ...
|
|
236
|
-
def __gt__(self, other) -> bool: ...
|
|
237
|
-
def __hash__(self) -> int: ...
|
|
238
|
-
def __index__(self) -> Any: ...
|
|
239
|
-
def __int__(self) -> int: ...
|
|
240
|
-
def __le__(self, other) -> bool: ...
|
|
241
|
-
def __lt__(self, other) -> bool: ...
|
|
242
|
-
|
|
243
|
-
class OAT_CLASS_TYPES:
|
|
244
|
-
ALL_COMPILED: ClassVar[OAT_CLASS_TYPES] = ...
|
|
245
|
-
NONE_COMPILED: ClassVar[OAT_CLASS_TYPES] = ...
|
|
246
|
-
SOME_COMPILED: ClassVar[OAT_CLASS_TYPES] = ...
|
|
247
|
-
__name__: str
|
|
248
|
-
def __init__(self, *args, **kwargs) -> None: ...
|
|
249
|
-
def __ge__(self, other) -> bool: ...
|
|
250
|
-
def __gt__(self, other) -> bool: ...
|
|
251
|
-
def __hash__(self) -> int: ...
|
|
252
|
-
def __index__(self) -> Any: ...
|
|
253
|
-
def __int__(self) -> int: ...
|
|
254
|
-
def __le__(self, other) -> bool: ...
|
|
255
|
-
def __lt__(self, other) -> bool: ...
|
|
256
|
-
|
|
257
|
-
def android_version(arg: int, /) -> lief.Android.ANDROID_VERSIONS: ...
|
|
258
|
-
@overload
|
|
259
|
-
def parse(oat_file: str) -> Optional[lief.OAT.Binary]: ...
|
|
260
|
-
@overload
|
|
261
|
-
def parse(oat_file: str, vdex_file: str) -> Optional[lief.OAT.Binary]: ...
|
|
262
|
-
@overload
|
|
263
|
-
def parse(raw: list[int]) -> Optional[lief.OAT.Binary]: ...
|
|
264
|
-
@overload
|
|
265
|
-
def parse(obj: Union[io.IOBase|os.PathLike]) -> Optional[lief.OAT.Binary]: ...
|
|
266
|
-
@overload
|
|
267
|
-
def version(binary: lief.ELF.Binary) -> int: ...
|
|
268
|
-
@overload
|
|
269
|
-
def version(file: str) -> int: ...
|
|
270
|
-
@overload
|
|
271
|
-
def version(raw: list[int]) -> int: ...
|