lief 0.14.1__cp313-cp313-win32.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/ELF.pyi ADDED
@@ -0,0 +1,3339 @@
1
+ from typing import Any, ClassVar, Iterable, Iterator, Optional, Union
2
+
3
+ from typing import overload
4
+ import io
5
+ import lief # type: ignore
6
+ import lief.ELF # type: ignore
7
+ import lief.ELF.AArch64Feature # type: ignore
8
+ import lief.ELF.Binary # type: ignore
9
+ import lief.ELF.Builder # type: ignore
10
+ import lief.ELF.CoreAuxv # type: ignore
11
+ import lief.ELF.CoreFile # type: ignore
12
+ import lief.ELF.CorePrPsInfo # type: ignore
13
+ import lief.ELF.CorePrStatus # type: ignore
14
+ import lief.ELF.CorePrStatus.Registers # type: ignore
15
+ import lief.ELF.Note # type: ignore
16
+ import lief.ELF.NoteAbi # type: ignore
17
+ import lief.ELF.NoteGnuProperty # type: ignore
18
+ import lief.ELF.NoteGnuProperty.Property # type: ignore
19
+ import lief.ELF.Section # type: ignore
20
+ import lief.ELF.Segment # type: ignore
21
+ import lief.ELF.SymbolVersionDefinition # type: ignore
22
+ import lief.ELF.SymbolVersionRequirement # type: ignore
23
+ import lief.ELF.X86Features # type: ignore
24
+ import lief.ELF.X86ISA # type: ignore
25
+ import os
26
+
27
+ class AArch64Feature(NoteGnuProperty.Property):
28
+ class FEATURE:
29
+ BTI: ClassVar[AArch64Feature.FEATURE] = ...
30
+ PAC: ClassVar[AArch64Feature.FEATURE] = ...
31
+ UNKNOWN: ClassVar[AArch64Feature.FEATURE] = ...
32
+ __name__: str
33
+ def __init__(self, *args, **kwargs) -> None: ...
34
+ @staticmethod
35
+ def from_value(arg: int, /) -> lief.ELF.AArch64Feature.FEATURE: ...
36
+ def __ge__(self, other) -> bool: ...
37
+ def __gt__(self, other) -> bool: ...
38
+ def __hash__(self) -> int: ...
39
+ def __index__(self) -> Any: ...
40
+ def __int__(self) -> int: ...
41
+ def __le__(self, other) -> bool: ...
42
+ def __lt__(self, other) -> bool: ...
43
+ @property
44
+ def value(self) -> int: ...
45
+ def __init__(self, *args, **kwargs) -> None: ...
46
+ @property
47
+ def features(self) -> list[lief.ELF.AArch64Feature.FEATURE]: ...
48
+
49
+ class ARCH:
50
+ AARCH64: ClassVar[ARCH] = ...
51
+ ALPHA: ClassVar[ARCH] = ...
52
+ ALTERA_NIOS2: ClassVar[ARCH] = ...
53
+ AMDGPU: ClassVar[ARCH] = ...
54
+ ARC: ClassVar[ARCH] = ...
55
+ ARCA: ClassVar[ARCH] = ...
56
+ ARCH_56800EX: ClassVar[ARCH] = ...
57
+ ARCH_68HC05: ClassVar[ARCH] = ...
58
+ ARCH_68HC08: ClassVar[ARCH] = ...
59
+ ARCH_68HC11: ClassVar[ARCH] = ...
60
+ ARCH_68HC12: ClassVar[ARCH] = ...
61
+ ARCH_68HC16: ClassVar[ARCH] = ...
62
+ ARCH_68K: ClassVar[ARCH] = ...
63
+ ARCH_78KOR: ClassVar[ARCH] = ...
64
+ ARCH_8051: ClassVar[ARCH] = ...
65
+ ARCH_860: ClassVar[ARCH] = ...
66
+ ARCH_88K: ClassVar[ARCH] = ...
67
+ ARCH_960: ClassVar[ARCH] = ...
68
+ ARC_COMPACT: ClassVar[ARCH] = ...
69
+ ARC_COMPACT2: ClassVar[ARCH] = ...
70
+ ARM: ClassVar[ARCH] = ...
71
+ AVR: ClassVar[ARCH] = ...
72
+ AVR32: ClassVar[ARCH] = ...
73
+ BA1: ClassVar[ARCH] = ...
74
+ BA2: ClassVar[ARCH] = ...
75
+ BLACKFIN: ClassVar[ARCH] = ...
76
+ BPF: ClassVar[ARCH] = ...
77
+ C166: ClassVar[ARCH] = ...
78
+ CDP: ClassVar[ARCH] = ...
79
+ CE: ClassVar[ARCH] = ...
80
+ CLOUDSHIELD: ClassVar[ARCH] = ...
81
+ COGE: ClassVar[ARCH] = ...
82
+ COLDFIRE: ClassVar[ARCH] = ...
83
+ COOL: ClassVar[ARCH] = ...
84
+ COREA_1ST: ClassVar[ARCH] = ...
85
+ COREA_2ND: ClassVar[ARCH] = ...
86
+ CR: ClassVar[ARCH] = ...
87
+ CR16: ClassVar[ARCH] = ...
88
+ CRAYNV2: ClassVar[ARCH] = ...
89
+ CRIS: ClassVar[ARCH] = ...
90
+ CRX: ClassVar[ARCH] = ...
91
+ CSR_KALIMBA: ClassVar[ARCH] = ...
92
+ CUDA: ClassVar[ARCH] = ...
93
+ CYPRESS_M8C: ClassVar[ARCH] = ...
94
+ D10V: ClassVar[ARCH] = ...
95
+ D30V: ClassVar[ARCH] = ...
96
+ DSP24: ClassVar[ARCH] = ...
97
+ DSPIC30F: ClassVar[ARCH] = ...
98
+ DXP: ClassVar[ARCH] = ...
99
+ ECOG1: ClassVar[ARCH] = ...
100
+ ECOG16: ClassVar[ARCH] = ...
101
+ ECOG1X: ClassVar[ARCH] = ...
102
+ ECOG2: ClassVar[ARCH] = ...
103
+ ETPU: ClassVar[ARCH] = ...
104
+ EXCESS: ClassVar[ARCH] = ...
105
+ F2MC16: ClassVar[ARCH] = ...
106
+ FIREPATH: ClassVar[ARCH] = ...
107
+ FR20: ClassVar[ARCH] = ...
108
+ FR30: ClassVar[ARCH] = ...
109
+ FX66: ClassVar[ARCH] = ...
110
+ H8S: ClassVar[ARCH] = ...
111
+ H8_300: ClassVar[ARCH] = ...
112
+ H8_300H: ClassVar[ARCH] = ...
113
+ H8_500: ClassVar[ARCH] = ...
114
+ HEXAGON: ClassVar[ARCH] = ...
115
+ HUANY: ClassVar[ARCH] = ...
116
+ IAMCU: ClassVar[ARCH] = ...
117
+ IA_64: ClassVar[ARCH] = ...
118
+ INTEL205: ClassVar[ARCH] = ...
119
+ INTEL206: ClassVar[ARCH] = ...
120
+ INTEL207: ClassVar[ARCH] = ...
121
+ INTEL208: ClassVar[ARCH] = ...
122
+ INTEL209: ClassVar[ARCH] = ...
123
+ IP2K: ClassVar[ARCH] = ...
124
+ JAVELIN: ClassVar[ARCH] = ...
125
+ K10M: ClassVar[ARCH] = ...
126
+ KM32: ClassVar[ARCH] = ...
127
+ KMX16: ClassVar[ARCH] = ...
128
+ KMX32: ClassVar[ARCH] = ...
129
+ KMX8: ClassVar[ARCH] = ...
130
+ KVARC: ClassVar[ARCH] = ...
131
+ L10M: ClassVar[ARCH] = ...
132
+ LATTICEMICO32: ClassVar[ARCH] = ...
133
+ LOONGARCH: ClassVar[ARCH] = ...
134
+ M16C: ClassVar[ARCH] = ...
135
+ M32: ClassVar[ARCH] = ...
136
+ M32C: ClassVar[ARCH] = ...
137
+ M32R: ClassVar[ARCH] = ...
138
+ MANIK: ClassVar[ARCH] = ...
139
+ MAX: ClassVar[ARCH] = ...
140
+ MAXQ30: ClassVar[ARCH] = ...
141
+ MCHP_PIC: ClassVar[ARCH] = ...
142
+ MCST_ELBRUS: ClassVar[ARCH] = ...
143
+ ME16: ClassVar[ARCH] = ...
144
+ METAG: ClassVar[ARCH] = ...
145
+ MIPS: ClassVar[ARCH] = ...
146
+ MIPS_RS3_LE: ClassVar[ARCH] = ...
147
+ MIPS_X: ClassVar[ARCH] = ...
148
+ MMA: ClassVar[ARCH] = ...
149
+ MMDSP_PLUS: ClassVar[ARCH] = ...
150
+ MMIX: ClassVar[ARCH] = ...
151
+ MN10200: ClassVar[ARCH] = ...
152
+ MN10300: ClassVar[ARCH] = ...
153
+ MSP430: ClassVar[ARCH] = ...
154
+ NCPU: ClassVar[ARCH] = ...
155
+ NDR1: ClassVar[ARCH] = ...
156
+ NDS32: ClassVar[ARCH] = ...
157
+ NONE: ClassVar[ARCH] = ...
158
+ NORC: ClassVar[ARCH] = ...
159
+ NS32K: ClassVar[ARCH] = ...
160
+ OPEN8: ClassVar[ARCH] = ...
161
+ OPENRISC: ClassVar[ARCH] = ...
162
+ PARISC: ClassVar[ARCH] = ...
163
+ PCP: ClassVar[ARCH] = ...
164
+ PDP10: ClassVar[ARCH] = ...
165
+ PDP11: ClassVar[ARCH] = ...
166
+ PDSP: ClassVar[ARCH] = ...
167
+ PJ: ClassVar[ARCH] = ...
168
+ PPC: ClassVar[ARCH] = ...
169
+ PPC64: ClassVar[ARCH] = ...
170
+ PRISM: ClassVar[ARCH] = ...
171
+ R32C: ClassVar[ARCH] = ...
172
+ RCE: ClassVar[ARCH] = ...
173
+ RH32: ClassVar[ARCH] = ...
174
+ RISCV: ClassVar[ARCH] = ...
175
+ RL78: ClassVar[ARCH] = ...
176
+ RS08: ClassVar[ARCH] = ...
177
+ RX: ClassVar[ARCH] = ...
178
+ S370: ClassVar[ARCH] = ...
179
+ S390: ClassVar[ARCH] = ...
180
+ SCORE7: ClassVar[ARCH] = ...
181
+ SEP: ClassVar[ARCH] = ...
182
+ SE_C17: ClassVar[ARCH] = ...
183
+ SE_C33: ClassVar[ARCH] = ...
184
+ SH: ClassVar[ARCH] = ...
185
+ SHARC: ClassVar[ARCH] = ...
186
+ SLE9X: ClassVar[ARCH] = ...
187
+ SNP1K: ClassVar[ARCH] = ...
188
+ SPARC: ClassVar[ARCH] = ...
189
+ SPARC32PLUS: ClassVar[ARCH] = ...
190
+ SPARCV9: ClassVar[ARCH] = ...
191
+ SPU: ClassVar[ARCH] = ...
192
+ ST100: ClassVar[ARCH] = ...
193
+ ST19: ClassVar[ARCH] = ...
194
+ ST200: ClassVar[ARCH] = ...
195
+ ST7: ClassVar[ARCH] = ...
196
+ ST9PLUS: ClassVar[ARCH] = ...
197
+ STARCORE: ClassVar[ARCH] = ...
198
+ STM8: ClassVar[ARCH] = ...
199
+ STXP7X: ClassVar[ARCH] = ...
200
+ SVX: ClassVar[ARCH] = ...
201
+ TILE64: ClassVar[ARCH] = ...
202
+ TILEGX: ClassVar[ARCH] = ...
203
+ TILEPRO: ClassVar[ARCH] = ...
204
+ TINYJ: ClassVar[ARCH] = ...
205
+ TI_C2000: ClassVar[ARCH] = ...
206
+ TI_C5500: ClassVar[ARCH] = ...
207
+ TI_C6000: ClassVar[ARCH] = ...
208
+ TMM_GPP: ClassVar[ARCH] = ...
209
+ TPC: ClassVar[ARCH] = ...
210
+ TRICORE: ClassVar[ARCH] = ...
211
+ TRIMEDIA: ClassVar[ARCH] = ...
212
+ TSK3000: ClassVar[ARCH] = ...
213
+ UNICORE: ClassVar[ARCH] = ...
214
+ V800: ClassVar[ARCH] = ...
215
+ V850: ClassVar[ARCH] = ...
216
+ VAX: ClassVar[ARCH] = ...
217
+ VIDEOCORE: ClassVar[ARCH] = ...
218
+ VIDEOCORE3: ClassVar[ARCH] = ...
219
+ VIDEOCORE5: ClassVar[ARCH] = ...
220
+ VPP500: ClassVar[ARCH] = ...
221
+ XCORE: ClassVar[ARCH] = ...
222
+ XGATE: ClassVar[ARCH] = ...
223
+ XIMO16: ClassVar[ARCH] = ...
224
+ XTENSA: ClassVar[ARCH] = ...
225
+ ZSP: ClassVar[ARCH] = ...
226
+ i386: ClassVar[ARCH] = ...
227
+ x86_64: ClassVar[ARCH] = ...
228
+ __name__: str
229
+ def __init__(self, *args, **kwargs) -> None: ...
230
+ @staticmethod
231
+ def from_value(arg: int, /) -> lief.ELF.ARCH: ...
232
+ def __ge__(self, other) -> bool: ...
233
+ def __gt__(self, other) -> bool: ...
234
+ def __hash__(self) -> int: ...
235
+ def __index__(self) -> Any: ...
236
+ def __int__(self) -> int: ...
237
+ def __le__(self, other) -> bool: ...
238
+ def __lt__(self, other) -> bool: ...
239
+ @property
240
+ def value(self) -> int: ...
241
+
242
+ class ARM_EFLAGS:
243
+ EABI_VER1: ClassVar[ARM_EFLAGS] = ...
244
+ EABI_VER2: ClassVar[ARM_EFLAGS] = ...
245
+ EABI_VER3: ClassVar[ARM_EFLAGS] = ...
246
+ EABI_VER4: ClassVar[ARM_EFLAGS] = ...
247
+ EABI_VER5: ClassVar[ARM_EFLAGS] = ...
248
+ SOFT_FLOAT: ClassVar[ARM_EFLAGS] = ...
249
+ UNKNOWN: ClassVar[ARM_EFLAGS] = ...
250
+ VFP_FLOAT: ClassVar[ARM_EFLAGS] = ...
251
+ __name__: str
252
+ def __init__(self, *args, **kwargs) -> None: ...
253
+ @staticmethod
254
+ def from_value(arg: int, /) -> lief.ELF.ARM_EFLAGS: ...
255
+ def __abs__(self) -> Any: ...
256
+ def __add__(self, other) -> Any: ...
257
+ @overload
258
+ def __and__(self, arg: int, /) -> int: ...
259
+ @overload
260
+ def __and__(self, arg: lief.ELF.ARM_EFLAGS, /) -> int: ...
261
+ def __floordiv__(self, other) -> Any: ...
262
+ def __ge__(self, arg: int, /) -> bool: ...
263
+ def __gt__(self, arg: int, /) -> bool: ...
264
+ def __hash__(self) -> int: ...
265
+ def __index__(self) -> Any: ...
266
+ def __int__(self) -> int: ...
267
+ def __invert__(self) -> int: ...
268
+ def __le__(self, arg: int, /) -> bool: ...
269
+ def __lshift__(self, other) -> Any: ...
270
+ def __lt__(self, arg: int, /) -> bool: ...
271
+ def __mul__(self, other) -> Any: ...
272
+ def __neg__(self) -> Any: ...
273
+ @overload
274
+ def __or__(self, arg: int, /) -> int: ...
275
+ @overload
276
+ def __or__(self, arg: lief.ELF.ARM_EFLAGS, /) -> lief.ELF.ARM_EFLAGS: ...
277
+ def __radd__(self, other) -> Any: ...
278
+ def __rand__(self, arg: int, /) -> int: ...
279
+ def __rfloordiv__(self, other) -> Any: ...
280
+ def __rlshift__(self, other) -> Any: ...
281
+ def __rmul__(self, other) -> Any: ...
282
+ def __ror__(self, arg: int, /) -> int: ...
283
+ def __rrshift__(self, other) -> Any: ...
284
+ def __rshift__(self, other) -> Any: ...
285
+ def __rsub__(self, other) -> Any: ...
286
+ def __rxor__(self, arg: int, /) -> int: ...
287
+ def __sub__(self, other) -> Any: ...
288
+ @overload
289
+ def __xor__(self, arg: int, /) -> int: ...
290
+ @overload
291
+ def __xor__(self, arg: lief.ELF.ARM_EFLAGS, /) -> int: ...
292
+ @property
293
+ def value(self) -> int: ...
294
+
295
+ class AndroidIdent(Note):
296
+ ndk_build_number: str
297
+ ndk_version: str
298
+ sdk_version: int
299
+ def __init__(self, *args, **kwargs) -> None: ...
300
+
301
+ class Binary(lief.Binary):
302
+ class PHDR_RELOC:
303
+ AUTO: ClassVar[Binary.PHDR_RELOC] = ...
304
+ BSS_END: ClassVar[Binary.PHDR_RELOC] = ...
305
+ FILE_END: ClassVar[Binary.PHDR_RELOC] = ...
306
+ PIE_SHIFT: ClassVar[Binary.PHDR_RELOC] = ...
307
+ SEGMENT_GAP: ClassVar[Binary.PHDR_RELOC] = ...
308
+ __name__: str
309
+ def __init__(self, *args, **kwargs) -> None: ...
310
+ def __ge__(self, other) -> bool: ...
311
+ def __gt__(self, other) -> bool: ...
312
+ def __hash__(self) -> int: ...
313
+ def __index__(self) -> Any: ...
314
+ def __int__(self) -> int: ...
315
+ def __le__(self, other) -> bool: ...
316
+ def __lt__(self, other) -> bool: ...
317
+
318
+ class it_dyn_static_symbols:
319
+ def __init__(self, *args, **kwargs) -> None: ...
320
+ def __getitem__(self, arg: int, /) -> lief.ELF.Symbol: ...
321
+ def __iter__(self) -> lief.ELF.Binary.it_dyn_static_symbols: ...
322
+ def __len__(self) -> int: ...
323
+ def __next__(self) -> lief.ELF.Symbol: ...
324
+
325
+ class it_dynamic_entries:
326
+ def __init__(self, *args, **kwargs) -> None: ...
327
+ def __getitem__(self, arg: int, /) -> lief.ELF.DynamicEntry: ...
328
+ def __iter__(self) -> lief.ELF.Binary.it_dynamic_entries: ...
329
+ def __len__(self) -> int: ...
330
+ def __next__(self) -> lief.ELF.DynamicEntry: ...
331
+
332
+ class it_filter_relocation:
333
+ def __init__(self, *args, **kwargs) -> None: ...
334
+ def __getitem__(self, arg: int, /) -> lief.ELF.Relocation: ...
335
+ def __iter__(self) -> lief.ELF.Binary.it_filter_relocation: ...
336
+ def __len__(self) -> int: ...
337
+ def __next__(self) -> lief.ELF.Relocation: ...
338
+
339
+ class it_filter_symbols:
340
+ def __init__(self, *args, **kwargs) -> None: ...
341
+ def __getitem__(self, arg: int, /) -> lief.ELF.Symbol: ...
342
+ def __iter__(self) -> lief.ELF.Binary.it_filter_symbols: ...
343
+ def __len__(self) -> int: ...
344
+ def __next__(self) -> lief.ELF.Symbol: ...
345
+
346
+ class it_notes:
347
+ def __init__(self, *args, **kwargs) -> None: ...
348
+ def __getitem__(self, arg: int, /) -> lief.ELF.Note: ...
349
+ def __iter__(self) -> lief.ELF.Binary.it_notes: ...
350
+ def __len__(self) -> int: ...
351
+ def __next__(self) -> lief.ELF.Note: ...
352
+
353
+ class it_relocations:
354
+ def __init__(self, *args, **kwargs) -> None: ...
355
+ def __getitem__(self, arg: int, /) -> lief.ELF.Relocation: ...
356
+ def __iter__(self) -> lief.ELF.Binary.it_relocations: ...
357
+ def __len__(self) -> int: ...
358
+ def __next__(self) -> lief.ELF.Relocation: ...
359
+
360
+ class it_sections:
361
+ def __init__(self, *args, **kwargs) -> None: ...
362
+ def __getitem__(self, arg: int, /) -> lief.ELF.Section: ...
363
+ def __iter__(self) -> lief.ELF.Binary.it_sections: ...
364
+ def __len__(self) -> int: ...
365
+ def __next__(self) -> lief.ELF.Section: ...
366
+
367
+ class it_segments:
368
+ def __init__(self, *args, **kwargs) -> None: ...
369
+ def __getitem__(self, arg: int, /) -> lief.ELF.Segment: ...
370
+ def __iter__(self) -> lief.ELF.Binary.it_segments: ...
371
+ def __len__(self) -> int: ...
372
+ def __next__(self) -> lief.ELF.Segment: ...
373
+
374
+ class it_symbols:
375
+ def __init__(self, *args, **kwargs) -> None: ...
376
+ def __getitem__(self, arg: int, /) -> lief.ELF.Symbol: ...
377
+ def __iter__(self) -> lief.ELF.Binary.it_symbols: ...
378
+ def __len__(self) -> int: ...
379
+ def __next__(self) -> lief.ELF.Symbol: ...
380
+
381
+ class it_symbols_version:
382
+ def __init__(self, *args, **kwargs) -> None: ...
383
+ def __getitem__(self, arg: int, /) -> lief.ELF.SymbolVersion: ...
384
+ def __iter__(self) -> lief.ELF.Binary.it_symbols_version: ...
385
+ def __len__(self) -> int: ...
386
+ def __next__(self) -> lief.ELF.SymbolVersion: ...
387
+
388
+ class it_symbols_version_definition:
389
+ def __init__(self, *args, **kwargs) -> None: ...
390
+ def __getitem__(self, arg: int, /) -> lief.ELF.SymbolVersionDefinition: ...
391
+ def __iter__(self) -> lief.ELF.Binary.it_symbols_version_definition: ...
392
+ def __len__(self) -> int: ...
393
+ def __next__(self) -> lief.ELF.SymbolVersionDefinition: ...
394
+
395
+ class it_symbols_version_requirement:
396
+ def __init__(self, *args, **kwargs) -> None: ...
397
+ def __getitem__(self, arg: int, /) -> lief.ELF.SymbolVersionRequirement: ...
398
+ def __iter__(self) -> lief.ELF.Binary.it_symbols_version_requirement: ...
399
+ def __len__(self) -> int: ...
400
+ def __next__(self) -> lief.ELF.SymbolVersionRequirement: ...
401
+ interpreter: str
402
+ overlay: memoryview
403
+ def __init__(self, *args, **kwargs) -> None: ...
404
+ @overload
405
+ def add(self, arg: lief.ELF.DynamicEntry, /) -> lief.ELF.DynamicEntry: ...
406
+ @overload
407
+ def add(self, section: lief.ELF.Section, loaded: bool = ...) -> lief.ELF.Section: ...
408
+ @overload
409
+ def add(self, segment: lief.ELF.Segment, base: int = ...) -> lief.ELF.Segment: ...
410
+ @overload
411
+ def add(self, note: lief.ELF.Note) -> lief.ELF.Note: ...
412
+ def add_dynamic_relocation(self, relocation: lief.ELF.Relocation) -> lief.ELF.Relocation: ...
413
+ def add_dynamic_symbol(self, symbol: lief.ELF.Symbol, symbol_version: Optional[lief.ELF.SymbolVersion] = ...) -> lief.ELF.Symbol: ...
414
+ def add_exported_function(self, address: int, name: str = ...) -> lief.ELF.Symbol: ...
415
+ def add_library(self, library_name: str) -> lief.ELF.DynamicEntryLibrary: ...
416
+ def add_object_relocation(self, relocation: lief.ELF.Relocation, section: lief.ELF.Section) -> lief.ELF.Relocation: ...
417
+ def add_pltgot_relocation(self, relocation: lief.ELF.Relocation) -> lief.ELF.Relocation: ...
418
+ def add_static_symbol(self, symbol: lief.ELF.Symbol) -> lief.ELF.Symbol: ...
419
+ @overload
420
+ def export_symbol(self, symbol: lief.ELF.Symbol) -> lief.ELF.Symbol: ...
421
+ @overload
422
+ def export_symbol(self, symbol_name: str, value: int = ...) -> lief.ELF.Symbol: ...
423
+ @overload
424
+ def extend(self, segment: lief.ELF.Segment, size: int) -> lief.ELF.Segment: ...
425
+ @overload
426
+ def extend(self, segment: lief.ELF.Section, size: int) -> lief.ELF.Section: ...
427
+ @overload
428
+ def get(self, tag: lief.ELF.DYNAMIC_TAGS) -> lief.ELF.DynamicEntry: ...
429
+ @overload
430
+ def get(self, type: lief.ELF.SEGMENT_TYPES) -> lief.ELF.Segment: ...
431
+ @overload
432
+ def get(self, type: lief.ELF.Note.TYPE) -> lief.ELF.Note: ...
433
+ @overload
434
+ def get(self, type: lief.ELF.SECTION_TYPES) -> lief.ELF.Section: ...
435
+ def get_dynamic_symbol(self, symbol_name: str) -> lief.ELF.Symbol: ...
436
+ def get_library(self, library_name: str) -> lief.ELF.DynamicEntryLibrary: ...
437
+ @overload
438
+ def get_relocation(self, symbol_name: str) -> lief.ELF.Relocation: ...
439
+ @overload
440
+ def get_relocation(self, symbol: lief.ELF.Symbol) -> lief.ELF.Relocation: ...
441
+ @overload
442
+ def get_relocation(self, address: int) -> lief.ELF.Relocation: ...
443
+ def get_section(self, section_name: str) -> lief.ELF.Section: ...
444
+ def get_static_symbol(self, symbol_name: str) -> lief.ELF.Symbol: ...
445
+ def get_strings(self, min_size: int = ...) -> list[str]: ...
446
+ @overload
447
+ def has(self, tag: lief.ELF.DYNAMIC_TAGS) -> bool: ...
448
+ @overload
449
+ def has(self, type: lief.ELF.SEGMENT_TYPES) -> bool: ...
450
+ @overload
451
+ def has(self, type: lief.ELF.Note.TYPE) -> bool: ...
452
+ @overload
453
+ def has(self, type: lief.ELF.SECTION_TYPES) -> bool: ...
454
+ def has_dynamic_symbol(self, symbol_name: str) -> bool: ...
455
+ def has_library(self, library_name: str) -> bool: ...
456
+ def has_section(self, section_name: str) -> bool: ...
457
+ def has_section_with_offset(self, offset: int) -> bool: ...
458
+ def has_section_with_va(self, virtual_address: int) -> bool: ...
459
+ def has_static_symbol(self, symbol_name: str) -> bool: ...
460
+ @overload
461
+ def patch_pltgot(self, symbol_name: str, address: int) -> None: ...
462
+ @overload
463
+ def patch_pltgot(self, symbol: lief.ELF.Symbol, address: int) -> None: ...
464
+ def permute_dynamic_symbols(self, permutation: list[int]) -> None: ...
465
+ def relocate_phdr_table(self, type: lief.ELF.Binary.PHDR_RELOC = ...) -> int: ...
466
+ @overload
467
+ def remove(self, dynamic_entry: lief.ELF.DynamicEntry) -> None: ...
468
+ @overload
469
+ def remove(self, tag: lief.ELF.DYNAMIC_TAGS) -> None: ...
470
+ @overload
471
+ def remove(self, section: lief.ELF.Section, clear: bool = ...) -> None: ...
472
+ @overload
473
+ def remove(self, note: lief.ELF.Note) -> None: ...
474
+ @overload
475
+ def remove(self, type: lief.ELF.Note.TYPE) -> None: ...
476
+ @overload
477
+ def remove_dynamic_symbol(self, arg: lief.ELF.Symbol, /) -> None: ...
478
+ @overload
479
+ def remove_dynamic_symbol(self, arg: str, /) -> None: ...
480
+ def remove_library(self, library_name: str) -> None: ...
481
+ def remove_static_symbol(self, arg: lief.ELF.Symbol, /) -> None: ...
482
+ def replace(self, new_segment: lief.ELF.Segment, original_segment: lief.ELF.Segment, base: int = ...) -> lief.ELF.Segment: ...
483
+ def section_from_offset(self, offset: int, skip_nobits: bool = ...) -> lief.ELF.Section: ...
484
+ def section_from_virtual_address(self, address: int, skip_nobits: bool = ...) -> lief.ELF.Section: ...
485
+ def segment_from_offset(self, offset: int) -> lief.ELF.Segment: ...
486
+ def segment_from_virtual_address(self, address: int) -> lief.ELF.Segment: ...
487
+ def strip(self) -> None: ...
488
+ def virtual_address_to_offset(self, virtual_address: int) -> Union[int,lief.lief_errors]: ...
489
+ @overload
490
+ def write(self, output: str) -> None: ...
491
+ @overload
492
+ def write(self, output: str, config: lief.ELF.Builder.config_t) -> None: ...
493
+ @overload
494
+ def __contains__(self, arg: lief.ELF.SEGMENT_TYPES, /) -> bool: ...
495
+ @overload
496
+ def __contains__(self, arg: lief.ELF.DYNAMIC_TAGS, /) -> bool: ...
497
+ @overload
498
+ def __contains__(self, arg: lief.ELF.Note.TYPE, /) -> bool: ...
499
+ @overload
500
+ def __contains__(self, arg: lief.ELF.SECTION_TYPES, /) -> bool: ...
501
+ @overload
502
+ def __getitem__(self, arg: lief.ELF.SEGMENT_TYPES, /) -> lief.ELF.Segment: ...
503
+ @overload
504
+ def __getitem__(self, arg: lief.ELF.Note.TYPE, /) -> lief.ELF.Note: ...
505
+ @overload
506
+ def __getitem__(self, arg: lief.ELF.DYNAMIC_TAGS, /) -> lief.ELF.DynamicEntry: ...
507
+ @overload
508
+ def __getitem__(self, arg: lief.ELF.SECTION_TYPES, /) -> lief.ELF.Section: ...
509
+ @overload
510
+ def __iadd__(self, arg: lief.ELF.Segment, /) -> lief.ELF.Binary: ...
511
+ @overload
512
+ def __iadd__(self, arg: lief.ELF.Section, /) -> lief.ELF.Binary: ...
513
+ @overload
514
+ def __iadd__(self, arg: lief.ELF.DynamicEntry, /) -> lief.ELF.Binary: ...
515
+ @overload
516
+ def __iadd__(self, arg: lief.ELF.Note, /) -> lief.ELF.Binary: ...
517
+ @overload
518
+ def __isub__(self, arg: lief.ELF.DynamicEntry, /) -> lief.ELF.Binary: ...
519
+ @overload
520
+ def __isub__(self, arg: lief.ELF.DYNAMIC_TAGS, /) -> lief.ELF.Binary: ...
521
+ @overload
522
+ def __isub__(self, arg: lief.ELF.Note, /) -> lief.ELF.Binary: ...
523
+ @overload
524
+ def __isub__(self, arg: lief.ELF.Note.TYPE, /) -> lief.ELF.Binary: ...
525
+ @property
526
+ def dtor_functions(self) -> list[lief.Function]: ...
527
+ @property
528
+ def dynamic_entries(self) -> lief.ELF.Binary.it_dynamic_entries: ...
529
+ @property
530
+ def dynamic_relocations(self) -> lief.ELF.Binary.it_filter_relocation: ...
531
+ @property
532
+ def dynamic_symbols(self) -> lief.ELF.Binary.it_symbols: ...
533
+ @property
534
+ def eof_offset(self) -> int: ...
535
+ @property
536
+ def exported_symbols(self) -> lief.ELF.Binary.it_filter_symbols: ...
537
+ @property
538
+ def functions(self) -> list[lief.Function]: ...
539
+ @property
540
+ def gnu_hash(self) -> lief.ELF.GnuHash: ...
541
+ @property
542
+ def has_interpreter(self) -> bool: ...
543
+ @property
544
+ def has_notes(self) -> bool: ...
545
+ @property
546
+ def has_overlay(self) -> bool: ...
547
+ @property
548
+ def header(self) -> lief.ELF.Header: ... # type: ignore
549
+ @property
550
+ def imagebase(self) -> int: ...
551
+ @property
552
+ def imported_symbols(self) -> lief.ELF.Binary.it_filter_symbols: ...
553
+ @property
554
+ def is_pie(self) -> bool: ...
555
+ @property
556
+ def last_offset_section(self) -> int: ...
557
+ @property
558
+ def last_offset_segment(self) -> int: ...
559
+ @property
560
+ def next_virtual_address(self) -> int: ...
561
+ @property
562
+ def notes(self) -> lief.ELF.Binary.it_notes: ...
563
+ @property
564
+ def object_relocations(self) -> lief.ELF.Binary.it_filter_relocation: ...
565
+ @property
566
+ def pltgot_relocations(self) -> lief.ELF.Binary.it_filter_relocation: ...
567
+ @property
568
+ def relocations(self) -> lief.ELF.Binary.it_relocations: ... # type: ignore
569
+ @property
570
+ def sections(self) -> lief.ELF.Binary.it_sections: ... # type: ignore
571
+ @property
572
+ def segments(self) -> lief.ELF.Binary.it_segments: ...
573
+ @property
574
+ def static_symbols(self) -> lief.ELF.Binary.it_symbols: ...
575
+ @property
576
+ def strings(self) -> list[Union[str,bytes]]: ...
577
+ @property
578
+ def symbols(self) -> lief.ELF.Binary.it_dyn_static_symbols: ... # type: ignore
579
+ @property
580
+ def symbols_version(self) -> lief.ELF.Binary.it_symbols_version: ...
581
+ @property
582
+ def symbols_version_definition(self) -> lief.ELF.Binary.it_symbols_version_definition: ...
583
+ @property
584
+ def symbols_version_requirement(self) -> lief.ELF.Binary.it_symbols_version_requirement: ...
585
+ @property
586
+ def sysv_hash(self) -> lief.ELF.SysvHash: ...
587
+ @property
588
+ def type(self) -> lief.ELF.ELF_CLASS: ...
589
+ @property
590
+ def use_gnu_hash(self) -> bool: ...
591
+ @property
592
+ def use_sysv_hash(self) -> bool: ...
593
+ @property
594
+ def virtual_size(self) -> int: ...
595
+
596
+ class Builder:
597
+ class config_t:
598
+ dt_hash: bool
599
+ dyn_str: bool
600
+ dynamic_section: bool
601
+ fini_array: bool
602
+ force_relocate: bool
603
+ init_array: bool
604
+ interpreter: bool
605
+ jmprel: bool
606
+ notes: bool
607
+ preinit_array: bool
608
+ rela: bool
609
+ static_symtab: bool
610
+ sym_verdef: bool
611
+ sym_verneed: bool
612
+ sym_versym: bool
613
+ symtab: bool
614
+ def __init__(self) -> None: ...
615
+ config: lief.ELF.Builder.config_t
616
+ def __init__(self, elf_binary: lief.ELF.Binary) -> None: ...
617
+ def build(self) -> None: ...
618
+ def get_build(self) -> list[int]: ...
619
+ def write(self, output: str) -> None: ...
620
+
621
+ class CoreAuxv(Note):
622
+ class TYPE:
623
+ BASE: ClassVar[CoreAuxv.TYPE] = ...
624
+ BASE_PLATFORM: ClassVar[CoreAuxv.TYPE] = ...
625
+ CLKTCK: ClassVar[CoreAuxv.TYPE] = ...
626
+ DCACHEBSIZE: ClassVar[CoreAuxv.TYPE] = ...
627
+ EGID: ClassVar[CoreAuxv.TYPE] = ...
628
+ END: ClassVar[CoreAuxv.TYPE] = ...
629
+ ENTRY: ClassVar[CoreAuxv.TYPE] = ...
630
+ EUID: ClassVar[CoreAuxv.TYPE] = ...
631
+ EXECFD: ClassVar[CoreAuxv.TYPE] = ...
632
+ EXECFN: ClassVar[CoreAuxv.TYPE] = ...
633
+ FLAGS: ClassVar[CoreAuxv.TYPE] = ...
634
+ FPUCW: ClassVar[CoreAuxv.TYPE] = ...
635
+ GID: ClassVar[CoreAuxv.TYPE] = ...
636
+ HWCAP: ClassVar[CoreAuxv.TYPE] = ...
637
+ HWCAP2: ClassVar[CoreAuxv.TYPE] = ...
638
+ ICACHEBSIZE: ClassVar[CoreAuxv.TYPE] = ...
639
+ IGNORE: ClassVar[CoreAuxv.TYPE] = ...
640
+ IGNOREPPC: ClassVar[CoreAuxv.TYPE] = ...
641
+ NOTELF: ClassVar[CoreAuxv.TYPE] = ...
642
+ PAGESZ: ClassVar[CoreAuxv.TYPE] = ...
643
+ PHDR: ClassVar[CoreAuxv.TYPE] = ...
644
+ PHENT: ClassVar[CoreAuxv.TYPE] = ...
645
+ PHNUM: ClassVar[CoreAuxv.TYPE] = ...
646
+ RANDOM: ClassVar[CoreAuxv.TYPE] = ...
647
+ SECURE: ClassVar[CoreAuxv.TYPE] = ...
648
+ SYSINFO: ClassVar[CoreAuxv.TYPE] = ...
649
+ SYSINFO_EHDR: ClassVar[CoreAuxv.TYPE] = ...
650
+ TGT_PLATFORM: ClassVar[CoreAuxv.TYPE] = ...
651
+ UCACHEBSIZE: ClassVar[CoreAuxv.TYPE] = ...
652
+ UID: ClassVar[CoreAuxv.TYPE] = ...
653
+ __name__: str
654
+ def __init__(self, *args, **kwargs) -> None: ...
655
+ @staticmethod
656
+ def from_value(arg: int, /) -> lief.ELF.CoreAuxv.TYPE: ...
657
+ def __ge__(self, other) -> bool: ...
658
+ def __gt__(self, other) -> bool: ...
659
+ def __hash__(self) -> int: ...
660
+ def __index__(self) -> Any: ...
661
+ def __int__(self) -> int: ...
662
+ def __le__(self, other) -> bool: ...
663
+ def __lt__(self, other) -> bool: ...
664
+ @property
665
+ def value(self) -> int: ...
666
+ def __init__(self, *args, **kwargs) -> None: ...
667
+ def get(self, type: lief.ELF.CoreAuxv.TYPE) -> Optional[int]: ...
668
+ @overload
669
+ def set(self, type: lief.ELF.CoreAuxv.TYPE, value: int) -> bool: ...
670
+ @overload
671
+ def set(self, arg: dict[lief.ELF.CoreAuxv.TYPE,int], /) -> bool: ...
672
+ def __getitem__(self, arg: lief.ELF.CoreAuxv.TYPE, /) -> Optional[int]: ...
673
+ @overload
674
+ def __setitem__(self, arg0: lief.ELF.CoreAuxv.TYPE, arg1: int, /) -> bool: ...
675
+ @overload
676
+ def __setitem__(self, arg: dict[lief.ELF.CoreAuxv.TYPE,int], /) -> bool: ...
677
+ @property
678
+ def values(self) -> dict[lief.ELF.CoreAuxv.TYPE,int]: ...
679
+
680
+ class CoreFile(Note):
681
+ class entry_t:
682
+ end: int
683
+ file_ofs: int
684
+ path: str
685
+ start: int
686
+ def __init__(self, *args, **kwargs) -> None: ...
687
+
688
+ class files_t:
689
+ @overload
690
+ def __init__(self) -> None: ...
691
+ @overload
692
+ def __init__(self, arg: lief.ELF.CoreFile.files_t) -> None: ...
693
+ @overload
694
+ def __init__(self, arg: Iterable[lief.ELF.CoreFile.entry_t], /) -> None: ...
695
+ def append(self, arg: lief.ELF.CoreFile.entry_t, /) -> None: ...
696
+ def clear(self) -> None: ...
697
+ def extend(self, arg: lief.ELF.CoreFile.files_t, /) -> None: ...
698
+ def insert(self, arg0: int, arg1: lief.ELF.CoreFile.entry_t, /) -> None: ...
699
+ def pop(self, index: int = ...) -> lief.ELF.CoreFile.entry_t: ...
700
+ def __bool__(self) -> bool: ...
701
+ @overload
702
+ def __delitem__(self, arg: int, /) -> None: ...
703
+ @overload
704
+ def __delitem__(self, arg: slice, /) -> None: ...
705
+ @overload
706
+ def __getitem__(self, arg: int, /) -> lief.ELF.CoreFile.entry_t: ...
707
+ @overload
708
+ def __getitem__(self, arg: slice, /) -> lief.ELF.CoreFile.files_t: ...
709
+ def __iter__(self) -> Iterator: ...
710
+ def __len__(self) -> int: ...
711
+ @overload
712
+ def __setitem__(self, arg0: int, arg1: lief.ELF.CoreFile.entry_t, /) -> None: ...
713
+ @overload
714
+ def __setitem__(self, arg0: slice, arg1: lief.ELF.CoreFile.files_t, /) -> None: ...
715
+ files: lief.ELF.CoreFile.files_t
716
+ def __init__(self, *args, **kwargs) -> None: ...
717
+ def __iter__(self) -> Iterator: ...
718
+ def __len__(self) -> int: ...
719
+
720
+ class CorePrPsInfo(Note):
721
+ class info_t:
722
+ args: str
723
+ filename: str
724
+ flag: int
725
+ gid: int
726
+ nice: int
727
+ pgrp: int
728
+ pid: int
729
+ ppid: int
730
+ sid: int
731
+ sname: str
732
+ state: int
733
+ uid: int
734
+ zombie: bool
735
+ def __init__(self, *args, **kwargs) -> None: ...
736
+ @property
737
+ def args_stripped(self) -> str: ...
738
+ @property
739
+ def filename_stripped(self) -> str: ...
740
+ info: Optional[lief.ELF.CorePrPsInfo.info_t]
741
+ def __init__(self, *args, **kwargs) -> None: ...
742
+
743
+ class CorePrStatus(Note):
744
+ class Registers:
745
+ class AARCH64:
746
+ PC: ClassVar[CorePrStatus.Registers.AARCH64] = ...
747
+ PSTATE: ClassVar[CorePrStatus.Registers.AARCH64] = ...
748
+ X0: ClassVar[CorePrStatus.Registers.AARCH64] = ...
749
+ X1: ClassVar[CorePrStatus.Registers.AARCH64] = ...
750
+ X10: ClassVar[CorePrStatus.Registers.AARCH64] = ...
751
+ X11: ClassVar[CorePrStatus.Registers.AARCH64] = ...
752
+ X12: ClassVar[CorePrStatus.Registers.AARCH64] = ...
753
+ X13: ClassVar[CorePrStatus.Registers.AARCH64] = ...
754
+ X14: ClassVar[CorePrStatus.Registers.AARCH64] = ...
755
+ X15: ClassVar[CorePrStatus.Registers.AARCH64] = ...
756
+ X16: ClassVar[CorePrStatus.Registers.AARCH64] = ...
757
+ X17: ClassVar[CorePrStatus.Registers.AARCH64] = ...
758
+ X18: ClassVar[CorePrStatus.Registers.AARCH64] = ...
759
+ X19: ClassVar[CorePrStatus.Registers.AARCH64] = ...
760
+ X2: ClassVar[CorePrStatus.Registers.AARCH64] = ...
761
+ X20: ClassVar[CorePrStatus.Registers.AARCH64] = ...
762
+ X21: ClassVar[CorePrStatus.Registers.AARCH64] = ...
763
+ X22: ClassVar[CorePrStatus.Registers.AARCH64] = ...
764
+ X23: ClassVar[CorePrStatus.Registers.AARCH64] = ...
765
+ X24: ClassVar[CorePrStatus.Registers.AARCH64] = ...
766
+ X25: ClassVar[CorePrStatus.Registers.AARCH64] = ...
767
+ X26: ClassVar[CorePrStatus.Registers.AARCH64] = ...
768
+ X27: ClassVar[CorePrStatus.Registers.AARCH64] = ...
769
+ X28: ClassVar[CorePrStatus.Registers.AARCH64] = ...
770
+ X29: ClassVar[CorePrStatus.Registers.AARCH64] = ...
771
+ X3: ClassVar[CorePrStatus.Registers.AARCH64] = ...
772
+ X30: ClassVar[CorePrStatus.Registers.AARCH64] = ...
773
+ X31: ClassVar[CorePrStatus.Registers.AARCH64] = ...
774
+ X4: ClassVar[CorePrStatus.Registers.AARCH64] = ...
775
+ X5: ClassVar[CorePrStatus.Registers.AARCH64] = ...
776
+ X6: ClassVar[CorePrStatus.Registers.AARCH64] = ...
777
+ X7: ClassVar[CorePrStatus.Registers.AARCH64] = ...
778
+ X8: ClassVar[CorePrStatus.Registers.AARCH64] = ...
779
+ X9: ClassVar[CorePrStatus.Registers.AARCH64] = ...
780
+ __name__: str
781
+ def __init__(self, *args, **kwargs) -> None: ...
782
+ @staticmethod
783
+ def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.AARCH64: ...
784
+ def __ge__(self, other) -> bool: ...
785
+ def __gt__(self, other) -> bool: ...
786
+ def __hash__(self) -> int: ...
787
+ def __index__(self) -> Any: ...
788
+ def __int__(self) -> int: ...
789
+ def __le__(self, other) -> bool: ...
790
+ def __lt__(self, other) -> bool: ...
791
+ @property
792
+ def value(self) -> int: ...
793
+
794
+ class ARM:
795
+ CPSR: ClassVar[CorePrStatus.Registers.ARM] = ...
796
+ R0: ClassVar[CorePrStatus.Registers.ARM] = ...
797
+ R1: ClassVar[CorePrStatus.Registers.ARM] = ...
798
+ R10: ClassVar[CorePrStatus.Registers.ARM] = ...
799
+ R11: ClassVar[CorePrStatus.Registers.ARM] = ...
800
+ R12: ClassVar[CorePrStatus.Registers.ARM] = ...
801
+ R13: ClassVar[CorePrStatus.Registers.ARM] = ...
802
+ R14: ClassVar[CorePrStatus.Registers.ARM] = ...
803
+ R15: ClassVar[CorePrStatus.Registers.ARM] = ...
804
+ R2: ClassVar[CorePrStatus.Registers.ARM] = ...
805
+ R3: ClassVar[CorePrStatus.Registers.ARM] = ...
806
+ R4: ClassVar[CorePrStatus.Registers.ARM] = ...
807
+ R5: ClassVar[CorePrStatus.Registers.ARM] = ...
808
+ R6: ClassVar[CorePrStatus.Registers.ARM] = ...
809
+ R7: ClassVar[CorePrStatus.Registers.ARM] = ...
810
+ R8: ClassVar[CorePrStatus.Registers.ARM] = ...
811
+ R9: ClassVar[CorePrStatus.Registers.ARM] = ...
812
+ __name__: str
813
+ def __init__(self, *args, **kwargs) -> None: ...
814
+ @staticmethod
815
+ def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.ARM: ...
816
+ def __ge__(self, other) -> bool: ...
817
+ def __gt__(self, other) -> bool: ...
818
+ def __hash__(self) -> int: ...
819
+ def __index__(self) -> Any: ...
820
+ def __int__(self) -> int: ...
821
+ def __le__(self, other) -> bool: ...
822
+ def __lt__(self, other) -> bool: ...
823
+ @property
824
+ def value(self) -> int: ...
825
+
826
+ class X86:
827
+ CS: ClassVar[CorePrStatus.Registers.X86] = ...
828
+ DS: ClassVar[CorePrStatus.Registers.X86] = ...
829
+ EAX: ClassVar[CorePrStatus.Registers.X86] = ...
830
+ EBP: ClassVar[CorePrStatus.Registers.X86] = ...
831
+ EBX: ClassVar[CorePrStatus.Registers.X86] = ...
832
+ ECX: ClassVar[CorePrStatus.Registers.X86] = ...
833
+ EDI: ClassVar[CorePrStatus.Registers.X86] = ...
834
+ EDX: ClassVar[CorePrStatus.Registers.X86] = ...
835
+ EFLAGS: ClassVar[CorePrStatus.Registers.X86] = ...
836
+ EIP: ClassVar[CorePrStatus.Registers.X86] = ...
837
+ ES: ClassVar[CorePrStatus.Registers.X86] = ...
838
+ ESI: ClassVar[CorePrStatus.Registers.X86] = ...
839
+ ESP: ClassVar[CorePrStatus.Registers.X86] = ...
840
+ FS: ClassVar[CorePrStatus.Registers.X86] = ...
841
+ GS: ClassVar[CorePrStatus.Registers.X86] = ...
842
+ ORIG_EAX: ClassVar[CorePrStatus.Registers.X86] = ...
843
+ SS: ClassVar[CorePrStatus.Registers.X86] = ...
844
+ __name__: str
845
+ def __init__(self, *args, **kwargs) -> None: ...
846
+ @staticmethod
847
+ def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.X86: ...
848
+ def __ge__(self, other) -> bool: ...
849
+ def __gt__(self, other) -> bool: ...
850
+ def __hash__(self) -> int: ...
851
+ def __index__(self) -> Any: ...
852
+ def __int__(self) -> int: ...
853
+ def __le__(self, other) -> bool: ...
854
+ def __lt__(self, other) -> bool: ...
855
+ @property
856
+ def value(self) -> int: ...
857
+
858
+ class X86_64:
859
+ CS: ClassVar[CorePrStatus.Registers.X86_64] = ...
860
+ EFLAGS: ClassVar[CorePrStatus.Registers.X86_64] = ...
861
+ ORIG_RAX: ClassVar[CorePrStatus.Registers.X86_64] = ...
862
+ R10: ClassVar[CorePrStatus.Registers.X86_64] = ...
863
+ R11: ClassVar[CorePrStatus.Registers.X86_64] = ...
864
+ R12: ClassVar[CorePrStatus.Registers.X86_64] = ...
865
+ R13: ClassVar[CorePrStatus.Registers.X86_64] = ...
866
+ R14: ClassVar[CorePrStatus.Registers.X86_64] = ...
867
+ R15: ClassVar[CorePrStatus.Registers.X86_64] = ...
868
+ R8: ClassVar[CorePrStatus.Registers.X86_64] = ...
869
+ R9: ClassVar[CorePrStatus.Registers.X86_64] = ...
870
+ RAX: ClassVar[CorePrStatus.Registers.X86_64] = ...
871
+ RBP: ClassVar[CorePrStatus.Registers.X86_64] = ...
872
+ RBX: ClassVar[CorePrStatus.Registers.X86_64] = ...
873
+ RCX: ClassVar[CorePrStatus.Registers.X86_64] = ...
874
+ RDI: ClassVar[CorePrStatus.Registers.X86_64] = ...
875
+ RDX: ClassVar[CorePrStatus.Registers.X86_64] = ...
876
+ RIP: ClassVar[CorePrStatus.Registers.X86_64] = ...
877
+ RSI: ClassVar[CorePrStatus.Registers.X86_64] = ...
878
+ RSP: ClassVar[CorePrStatus.Registers.X86_64] = ...
879
+ SS: ClassVar[CorePrStatus.Registers.X86_64] = ...
880
+ __name__: str
881
+ def __init__(self, *args, **kwargs) -> None: ...
882
+ @staticmethod
883
+ def from_value(arg: int, /) -> lief.ELF.CorePrStatus.Registers.X86_64: ...
884
+ def __ge__(self, other) -> bool: ...
885
+ def __gt__(self, other) -> bool: ...
886
+ def __hash__(self) -> int: ...
887
+ def __index__(self) -> Any: ...
888
+ def __int__(self) -> int: ...
889
+ def __le__(self, other) -> bool: ...
890
+ def __lt__(self, other) -> bool: ...
891
+ @property
892
+ def value(self) -> int: ...
893
+ def __init__(self, *args, **kwargs) -> None: ...
894
+
895
+ class pr_status_t:
896
+ cstime: lief.ELF.CorePrStatus.timeval_t # type: ignore
897
+ cursig: int
898
+ cutime: lief.ELF.CorePrStatus.timeval_t # type: ignore
899
+ info: lief.ELF.CorePrStatus.siginfo_t # type: ignore
900
+ pgrp: int
901
+ pid: int
902
+ ppid: int
903
+ reserved: int
904
+ sid: int
905
+ sighold: int
906
+ sigpend: int
907
+ stime: lief.ELF.CorePrStatus.timeval_t # type: ignore
908
+ utime: lief.ELF.CorePrStatus.timeval_t # type: ignore
909
+ def __init__(self, *args, **kwargs) -> None: ...
910
+
911
+ class siginfo_t:
912
+ errno: int
913
+ sicode: int
914
+ signo: int
915
+ def __init__(self, *args, **kwargs) -> None: ...
916
+
917
+ class timeval_t:
918
+ sec: int
919
+ usec: int
920
+ def __init__(self, *args, **kwargs) -> None: ...
921
+ status: lief.ELF.CorePrStatus.pr_status_t
922
+ def __init__(self, *args, **kwargs) -> None: ...
923
+ @overload
924
+ def get(self, reg: lief.ELF.CorePrStatus.Registers.X86) -> Optional[int]: ...
925
+ @overload
926
+ def get(self, reg: lief.ELF.CorePrStatus.Registers.X86_64) -> Optional[int]: ...
927
+ @overload
928
+ def get(self, reg: lief.ELF.CorePrStatus.Registers.ARM) -> Optional[int]: ...
929
+ @overload
930
+ def get(self, reg: lief.ELF.CorePrStatus.Registers.AARCH64) -> Optional[int]: ...
931
+ @overload
932
+ def set(self, reg: lief.ELF.CorePrStatus.Registers.X86, value: int) -> lief.ok_error_t: ...
933
+ @overload
934
+ def set(self, reg: lief.ELF.CorePrStatus.Registers.X86_64, value: int) -> lief.ok_error_t: ...
935
+ @overload
936
+ def set(self, reg: lief.ELF.CorePrStatus.Registers.ARM, value: int) -> lief.ok_error_t: ...
937
+ @overload
938
+ def set(self, reg: lief.ELF.CorePrStatus.Registers.AARCH64, value: int) -> lief.ok_error_t: ...
939
+ @overload
940
+ def __getitem__(self, arg: lief.ELF.CorePrStatus.Registers.X86, /) -> Optional[int]: ...
941
+ @overload
942
+ def __getitem__(self, arg: lief.ELF.CorePrStatus.Registers.X86_64, /) -> Optional[int]: ...
943
+ @overload
944
+ def __getitem__(self, arg: lief.ELF.CorePrStatus.Registers.ARM, /) -> Optional[int]: ...
945
+ @overload
946
+ def __getitem__(self, arg: lief.ELF.CorePrStatus.Registers.AARCH64, /) -> Optional[int]: ...
947
+ @overload
948
+ def __setitem__(self, arg0: lief.ELF.CorePrStatus.Registers.X86, arg1: int, /) -> lief.ok_error_t: ...
949
+ @overload
950
+ def __setitem__(self, arg0: lief.ELF.CorePrStatus.Registers.X86_64, arg1: int, /) -> lief.ok_error_t: ...
951
+ @overload
952
+ def __setitem__(self, arg0: lief.ELF.CorePrStatus.Registers.ARM, arg1: int, /) -> lief.ok_error_t: ...
953
+ @overload
954
+ def __setitem__(self, arg0: lief.ELF.CorePrStatus.Registers.AARCH64, arg1: int, /) -> lief.ok_error_t: ...
955
+ @property
956
+ def architecture(self) -> lief.ELF.ARCH: ...
957
+ @property
958
+ def pc(self) -> Optional[int]: ...
959
+ @property
960
+ def register_values(self) -> list[int]: ...
961
+ @property
962
+ def return_value(self) -> Optional[int]: ...
963
+ @property
964
+ def sp(self) -> Optional[int]: ...
965
+
966
+ class CoreSigInfo(Note):
967
+ sigcode: Optional[int]
968
+ sigerrno: Optional[int]
969
+ signo: Optional[int]
970
+ def __init__(self, *args, **kwargs) -> None: ...
971
+
972
+ class DYNAMIC_FLAGS:
973
+ BIND_NOW: ClassVar[DYNAMIC_FLAGS] = ...
974
+ ORIGIN: ClassVar[DYNAMIC_FLAGS] = ...
975
+ STATIC_TLS: ClassVar[DYNAMIC_FLAGS] = ...
976
+ SYMBOLIC: ClassVar[DYNAMIC_FLAGS] = ...
977
+ TEXTREL: ClassVar[DYNAMIC_FLAGS] = ...
978
+ __name__: str
979
+ def __init__(self, *args, **kwargs) -> None: ...
980
+ @staticmethod
981
+ def from_value(arg: int, /) -> lief.ELF.DYNAMIC_FLAGS: ...
982
+ def __abs__(self) -> Any: ...
983
+ def __add__(self, other) -> Any: ...
984
+ @overload
985
+ def __and__(self, arg: int, /) -> int: ...
986
+ @overload
987
+ def __and__(self, arg: lief.ELF.DYNAMIC_FLAGS, /) -> int: ...
988
+ def __floordiv__(self, other) -> Any: ...
989
+ def __ge__(self, arg: int, /) -> bool: ...
990
+ def __gt__(self, arg: int, /) -> bool: ...
991
+ def __hash__(self) -> int: ...
992
+ def __index__(self) -> Any: ...
993
+ def __int__(self) -> int: ...
994
+ def __invert__(self) -> int: ...
995
+ def __le__(self, arg: int, /) -> bool: ...
996
+ def __lshift__(self, other) -> Any: ...
997
+ def __lt__(self, arg: int, /) -> bool: ...
998
+ def __mul__(self, other) -> Any: ...
999
+ def __neg__(self) -> Any: ...
1000
+ @overload
1001
+ def __or__(self, arg: int, /) -> int: ...
1002
+ @overload
1003
+ def __or__(self, arg: lief.ELF.DYNAMIC_FLAGS, /) -> lief.ELF.DYNAMIC_FLAGS: ...
1004
+ def __radd__(self, other) -> Any: ...
1005
+ def __rand__(self, arg: int, /) -> int: ...
1006
+ def __rfloordiv__(self, other) -> Any: ...
1007
+ def __rlshift__(self, other) -> Any: ...
1008
+ def __rmul__(self, other) -> Any: ...
1009
+ def __ror__(self, arg: int, /) -> int: ...
1010
+ def __rrshift__(self, other) -> Any: ...
1011
+ def __rshift__(self, other) -> Any: ...
1012
+ def __rsub__(self, other) -> Any: ...
1013
+ def __rxor__(self, arg: int, /) -> int: ...
1014
+ def __sub__(self, other) -> Any: ...
1015
+ @overload
1016
+ def __xor__(self, arg: int, /) -> int: ...
1017
+ @overload
1018
+ def __xor__(self, arg: lief.ELF.DYNAMIC_FLAGS, /) -> int: ...
1019
+ @property
1020
+ def value(self) -> int: ...
1021
+
1022
+ class DYNAMIC_FLAGS_1:
1023
+ CONFALT: ClassVar[DYNAMIC_FLAGS_1] = ...
1024
+ DIRECT: ClassVar[DYNAMIC_FLAGS_1] = ...
1025
+ DISPRELDNE: ClassVar[DYNAMIC_FLAGS_1] = ...
1026
+ DISPRELPND: ClassVar[DYNAMIC_FLAGS_1] = ...
1027
+ EDITED: ClassVar[DYNAMIC_FLAGS_1] = ...
1028
+ ENDFILTEE: ClassVar[DYNAMIC_FLAGS_1] = ...
1029
+ GLOBAL: ClassVar[DYNAMIC_FLAGS_1] = ...
1030
+ GLOBAUDIT: ClassVar[DYNAMIC_FLAGS_1] = ...
1031
+ GROUP: ClassVar[DYNAMIC_FLAGS_1] = ...
1032
+ IGNMULDEF: ClassVar[DYNAMIC_FLAGS_1] = ...
1033
+ INITFIRST: ClassVar[DYNAMIC_FLAGS_1] = ...
1034
+ INTERPOSE: ClassVar[DYNAMIC_FLAGS_1] = ...
1035
+ LOADFLTR: ClassVar[DYNAMIC_FLAGS_1] = ...
1036
+ NODEFLIB: ClassVar[DYNAMIC_FLAGS_1] = ...
1037
+ NODELETE: ClassVar[DYNAMIC_FLAGS_1] = ...
1038
+ NODIRECT: ClassVar[DYNAMIC_FLAGS_1] = ...
1039
+ NODUMP: ClassVar[DYNAMIC_FLAGS_1] = ...
1040
+ NOHDR: ClassVar[DYNAMIC_FLAGS_1] = ...
1041
+ NOKSYMS: ClassVar[DYNAMIC_FLAGS_1] = ...
1042
+ NOOPEN: ClassVar[DYNAMIC_FLAGS_1] = ...
1043
+ NORELOC: ClassVar[DYNAMIC_FLAGS_1] = ...
1044
+ NOW: ClassVar[DYNAMIC_FLAGS_1] = ...
1045
+ ORIGIN: ClassVar[DYNAMIC_FLAGS_1] = ...
1046
+ PIE: ClassVar[DYNAMIC_FLAGS_1] = ...
1047
+ SINGLETON: ClassVar[DYNAMIC_FLAGS_1] = ...
1048
+ SYMINTPOSE: ClassVar[DYNAMIC_FLAGS_1] = ...
1049
+ TRANS: ClassVar[DYNAMIC_FLAGS_1] = ...
1050
+ __name__: str
1051
+ def __init__(self, *args, **kwargs) -> None: ...
1052
+ @staticmethod
1053
+ def from_value(arg: int, /) -> lief.ELF.DYNAMIC_FLAGS_1: ...
1054
+ def __abs__(self) -> Any: ...
1055
+ def __add__(self, other) -> Any: ...
1056
+ @overload
1057
+ def __and__(self, arg: int, /) -> int: ...
1058
+ @overload
1059
+ def __and__(self, arg: lief.ELF.DYNAMIC_FLAGS_1, /) -> int: ...
1060
+ def __floordiv__(self, other) -> Any: ...
1061
+ def __ge__(self, arg: int, /) -> bool: ...
1062
+ def __gt__(self, arg: int, /) -> bool: ...
1063
+ def __hash__(self) -> int: ...
1064
+ def __index__(self) -> Any: ...
1065
+ def __int__(self) -> int: ...
1066
+ def __invert__(self) -> int: ...
1067
+ def __le__(self, arg: int, /) -> bool: ...
1068
+ def __lshift__(self, other) -> Any: ...
1069
+ def __lt__(self, arg: int, /) -> bool: ...
1070
+ def __mul__(self, other) -> Any: ...
1071
+ def __neg__(self) -> Any: ...
1072
+ @overload
1073
+ def __or__(self, arg: int, /) -> int: ...
1074
+ @overload
1075
+ def __or__(self, arg: lief.ELF.DYNAMIC_FLAGS_1, /) -> lief.ELF.DYNAMIC_FLAGS_1: ...
1076
+ def __radd__(self, other) -> Any: ...
1077
+ def __rand__(self, arg: int, /) -> int: ...
1078
+ def __rfloordiv__(self, other) -> Any: ...
1079
+ def __rlshift__(self, other) -> Any: ...
1080
+ def __rmul__(self, other) -> Any: ...
1081
+ def __ror__(self, arg: int, /) -> int: ...
1082
+ def __rrshift__(self, other) -> Any: ...
1083
+ def __rshift__(self, other) -> Any: ...
1084
+ def __rsub__(self, other) -> Any: ...
1085
+ def __rxor__(self, arg: int, /) -> int: ...
1086
+ def __sub__(self, other) -> Any: ...
1087
+ @overload
1088
+ def __xor__(self, arg: int, /) -> int: ...
1089
+ @overload
1090
+ def __xor__(self, arg: lief.ELF.DYNAMIC_FLAGS_1, /) -> int: ...
1091
+ @property
1092
+ def value(self) -> int: ...
1093
+
1094
+ class DYNAMIC_TAGS:
1095
+ ANDROID_REL: ClassVar[DYNAMIC_TAGS] = ...
1096
+ ANDROID_RELA: ClassVar[DYNAMIC_TAGS] = ...
1097
+ ANDROID_RELASZ: ClassVar[DYNAMIC_TAGS] = ...
1098
+ ANDROID_RELR: ClassVar[DYNAMIC_TAGS] = ...
1099
+ ANDROID_RELRCOUNT: ClassVar[DYNAMIC_TAGS] = ...
1100
+ ANDROID_RELRENT: ClassVar[DYNAMIC_TAGS] = ...
1101
+ ANDROID_RELRSZ: ClassVar[DYNAMIC_TAGS] = ...
1102
+ ANDROID_RELSZ: ClassVar[DYNAMIC_TAGS] = ...
1103
+ ANDROID_REL_OFFSET: ClassVar[DYNAMIC_TAGS] = ...
1104
+ ANDROID_REL_SIZE: ClassVar[DYNAMIC_TAGS] = ...
1105
+ BIND_NOW: ClassVar[DYNAMIC_TAGS] = ...
1106
+ DEBUG: ClassVar[DYNAMIC_TAGS] = ...
1107
+ FINI: ClassVar[DYNAMIC_TAGS] = ...
1108
+ FINI_ARRAY: ClassVar[DYNAMIC_TAGS] = ...
1109
+ FINI_ARRAYSZ: ClassVar[DYNAMIC_TAGS] = ...
1110
+ FLAGS: ClassVar[DYNAMIC_TAGS] = ...
1111
+ FLAGS_1: ClassVar[DYNAMIC_TAGS] = ...
1112
+ GNU_HASH: ClassVar[DYNAMIC_TAGS] = ...
1113
+ HASH: ClassVar[DYNAMIC_TAGS] = ...
1114
+ INIT: ClassVar[DYNAMIC_TAGS] = ...
1115
+ INIT_ARRAY: ClassVar[DYNAMIC_TAGS] = ...
1116
+ INIT_ARRAYSZ: ClassVar[DYNAMIC_TAGS] = ...
1117
+ JMPREL: ClassVar[DYNAMIC_TAGS] = ...
1118
+ MIPS_AUX_DYNAMIC: ClassVar[DYNAMIC_TAGS] = ...
1119
+ MIPS_BASE_ADDRESS: ClassVar[DYNAMIC_TAGS] = ...
1120
+ MIPS_COMPACT_SIZE: ClassVar[DYNAMIC_TAGS] = ...
1121
+ MIPS_CONFLICT: ClassVar[DYNAMIC_TAGS] = ...
1122
+ MIPS_CONFLICTNO: ClassVar[DYNAMIC_TAGS] = ...
1123
+ MIPS_CXX_FLAGS: ClassVar[DYNAMIC_TAGS] = ...
1124
+ MIPS_DELTA_CLASS: ClassVar[DYNAMIC_TAGS] = ...
1125
+ MIPS_DELTA_CLASSSYM: ClassVar[DYNAMIC_TAGS] = ...
1126
+ MIPS_DELTA_CLASSSYM_NO: ClassVar[DYNAMIC_TAGS] = ...
1127
+ MIPS_DELTA_CLASS_NO: ClassVar[DYNAMIC_TAGS] = ...
1128
+ MIPS_DELTA_INSTANCE: ClassVar[DYNAMIC_TAGS] = ...
1129
+ MIPS_DELTA_INSTANCE_NO: ClassVar[DYNAMIC_TAGS] = ...
1130
+ MIPS_DELTA_RELOC: ClassVar[DYNAMIC_TAGS] = ...
1131
+ MIPS_DELTA_RELOC_NO: ClassVar[DYNAMIC_TAGS] = ...
1132
+ MIPS_DELTA_SYM: ClassVar[DYNAMIC_TAGS] = ...
1133
+ MIPS_DELTA_SYM_NO: ClassVar[DYNAMIC_TAGS] = ...
1134
+ MIPS_DYNSTR_ALIGN: ClassVar[DYNAMIC_TAGS] = ...
1135
+ MIPS_FLAGS: ClassVar[DYNAMIC_TAGS] = ...
1136
+ MIPS_GOTSYM: ClassVar[DYNAMIC_TAGS] = ...
1137
+ MIPS_GP_VALUE: ClassVar[DYNAMIC_TAGS] = ...
1138
+ MIPS_HIDDEN_GOTIDX: ClassVar[DYNAMIC_TAGS] = ...
1139
+ MIPS_HIPAGENO: ClassVar[DYNAMIC_TAGS] = ...
1140
+ MIPS_ICHECKSUM: ClassVar[DYNAMIC_TAGS] = ...
1141
+ MIPS_INTERFACE: ClassVar[DYNAMIC_TAGS] = ...
1142
+ MIPS_INTERFACE_SIZE: ClassVar[DYNAMIC_TAGS] = ...
1143
+ MIPS_IVERSION: ClassVar[DYNAMIC_TAGS] = ...
1144
+ MIPS_LIBLIST: ClassVar[DYNAMIC_TAGS] = ...
1145
+ MIPS_LIBLISTNO: ClassVar[DYNAMIC_TAGS] = ...
1146
+ MIPS_LOCALPAGE_GOTIDX: ClassVar[DYNAMIC_TAGS] = ...
1147
+ MIPS_LOCAL_GOTIDX: ClassVar[DYNAMIC_TAGS] = ...
1148
+ MIPS_LOCAL_GOTNO: ClassVar[DYNAMIC_TAGS] = ...
1149
+ MIPS_MSYM: ClassVar[DYNAMIC_TAGS] = ...
1150
+ MIPS_OPTIONS: ClassVar[DYNAMIC_TAGS] = ...
1151
+ MIPS_PERF_SUFFIX: ClassVar[DYNAMIC_TAGS] = ...
1152
+ MIPS_PIXIE_INIT: ClassVar[DYNAMIC_TAGS] = ...
1153
+ MIPS_PLTGOT: ClassVar[DYNAMIC_TAGS] = ...
1154
+ MIPS_PROTECTED_GOTIDX: ClassVar[DYNAMIC_TAGS] = ...
1155
+ MIPS_RLD_MAP: ClassVar[DYNAMIC_TAGS] = ...
1156
+ MIPS_RLD_TEXT_RESOLVE_ADDR: ClassVar[DYNAMIC_TAGS] = ...
1157
+ MIPS_RLD_VERSION: ClassVar[DYNAMIC_TAGS] = ...
1158
+ MIPS_RWPLT: ClassVar[DYNAMIC_TAGS] = ...
1159
+ MIPS_SYMBOL_LIB: ClassVar[DYNAMIC_TAGS] = ...
1160
+ MIPS_SYMTABNO: ClassVar[DYNAMIC_TAGS] = ...
1161
+ MIPS_TIME_STAMP: ClassVar[DYNAMIC_TAGS] = ...
1162
+ MIPS_UNREFEXTNO: ClassVar[DYNAMIC_TAGS] = ...
1163
+ NEEDED: ClassVar[DYNAMIC_TAGS] = ...
1164
+ NULL: ClassVar[DYNAMIC_TAGS] = ...
1165
+ PLTGOT: ClassVar[DYNAMIC_TAGS] = ...
1166
+ PLTREL: ClassVar[DYNAMIC_TAGS] = ...
1167
+ PLTRELSZ: ClassVar[DYNAMIC_TAGS] = ...
1168
+ PREINIT_ARRAY: ClassVar[DYNAMIC_TAGS] = ...
1169
+ PREINIT_ARRAYSZ: ClassVar[DYNAMIC_TAGS] = ...
1170
+ REL: ClassVar[DYNAMIC_TAGS] = ...
1171
+ RELA: ClassVar[DYNAMIC_TAGS] = ...
1172
+ RELACOUNT: ClassVar[DYNAMIC_TAGS] = ...
1173
+ RELAENT: ClassVar[DYNAMIC_TAGS] = ...
1174
+ RELASZ: ClassVar[DYNAMIC_TAGS] = ...
1175
+ RELCOUNT: ClassVar[DYNAMIC_TAGS] = ...
1176
+ RELENT: ClassVar[DYNAMIC_TAGS] = ...
1177
+ RELR: ClassVar[DYNAMIC_TAGS] = ...
1178
+ RELRENT: ClassVar[DYNAMIC_TAGS] = ...
1179
+ RELRSZ: ClassVar[DYNAMIC_TAGS] = ...
1180
+ RELSZ: ClassVar[DYNAMIC_TAGS] = ...
1181
+ RPATH: ClassVar[DYNAMIC_TAGS] = ...
1182
+ RUNPATH: ClassVar[DYNAMIC_TAGS] = ...
1183
+ SONAME: ClassVar[DYNAMIC_TAGS] = ...
1184
+ STRSZ: ClassVar[DYNAMIC_TAGS] = ...
1185
+ STRTAB: ClassVar[DYNAMIC_TAGS] = ...
1186
+ SYMBOLIC: ClassVar[DYNAMIC_TAGS] = ...
1187
+ SYMENT: ClassVar[DYNAMIC_TAGS] = ...
1188
+ SYMTAB: ClassVar[DYNAMIC_TAGS] = ...
1189
+ SYMTAB_SHNDX: ClassVar[DYNAMIC_TAGS] = ...
1190
+ TEXTREL: ClassVar[DYNAMIC_TAGS] = ...
1191
+ VERDEF: ClassVar[DYNAMIC_TAGS] = ...
1192
+ VERDEFNUM: ClassVar[DYNAMIC_TAGS] = ...
1193
+ VERNEED: ClassVar[DYNAMIC_TAGS] = ...
1194
+ VERNEEDNUM: ClassVar[DYNAMIC_TAGS] = ...
1195
+ VERSYM: ClassVar[DYNAMIC_TAGS] = ...
1196
+ __name__: str
1197
+ def __init__(self, *args, **kwargs) -> None: ...
1198
+ @staticmethod
1199
+ def from_value(arg: int, /) -> lief.ELF.DYNAMIC_TAGS: ...
1200
+ def __ge__(self, other) -> bool: ...
1201
+ def __gt__(self, other) -> bool: ...
1202
+ def __hash__(self) -> int: ...
1203
+ def __index__(self) -> Any: ...
1204
+ def __int__(self) -> int: ...
1205
+ def __le__(self, other) -> bool: ...
1206
+ def __lt__(self, other) -> bool: ...
1207
+ @property
1208
+ def value(self) -> int: ...
1209
+
1210
+ class DYNSYM_COUNT_METHODS:
1211
+ AUTO: ClassVar[DYNSYM_COUNT_METHODS] = ...
1212
+ HASH: ClassVar[DYNSYM_COUNT_METHODS] = ...
1213
+ RELOCATIONS: ClassVar[DYNSYM_COUNT_METHODS] = ...
1214
+ SECTION: ClassVar[DYNSYM_COUNT_METHODS] = ...
1215
+ __name__: str
1216
+ def __init__(self, *args, **kwargs) -> None: ...
1217
+ @staticmethod
1218
+ def from_value(arg: int, /) -> lief.ELF.DYNSYM_COUNT_METHODS: ...
1219
+ def __ge__(self, other) -> bool: ...
1220
+ def __gt__(self, other) -> bool: ...
1221
+ def __hash__(self) -> int: ...
1222
+ def __index__(self) -> Any: ...
1223
+ def __int__(self) -> int: ...
1224
+ def __le__(self, other) -> bool: ...
1225
+ def __lt__(self, other) -> bool: ...
1226
+ @property
1227
+ def value(self) -> int: ...
1228
+
1229
+ class DynamicEntry(lief.Object):
1230
+ tag: lief.ELF.DYNAMIC_TAGS
1231
+ value: int
1232
+ @overload
1233
+ def __init__(self) -> None: ...
1234
+ @overload
1235
+ def __init__(self, tag: lief.ELF.DYNAMIC_TAGS, value: int) -> None: ...
1236
+
1237
+ class DynamicEntryArray(DynamicEntry):
1238
+ array: list[int]
1239
+ @overload
1240
+ def __init__(self) -> None: ...
1241
+ @overload
1242
+ def __init__(self, tag: lief.ELF.DYNAMIC_TAGS, value: int) -> None: ...
1243
+ def append(self, function: int) -> lief.ELF.DynamicEntryArray: ...
1244
+ def insert(self, pos: int, function: int) -> lief.ELF.DynamicEntryArray: ...
1245
+ def remove(self, function: int) -> lief.ELF.DynamicEntryArray: ...
1246
+ def __getitem__(self, arg: int, /) -> int: ...
1247
+ def __iadd__(self, arg: int, /) -> lief.ELF.DynamicEntryArray: ...
1248
+ def __isub__(self, arg: int, /) -> lief.ELF.DynamicEntryArray: ...
1249
+ def __len__(self) -> int: ...
1250
+
1251
+ class DynamicEntryFlags(DynamicEntry):
1252
+ @overload
1253
+ def __init__(self) -> None: ...
1254
+ @overload
1255
+ def __init__(self, tag: lief.ELF.DYNAMIC_TAGS, value: int) -> None: ...
1256
+ @overload
1257
+ def add(self, flag: lief.ELF.DYNAMIC_FLAGS) -> None: ...
1258
+ @overload
1259
+ def add(self, flag: lief.ELF.DYNAMIC_FLAGS_1) -> None: ...
1260
+ @overload
1261
+ def has(self, flag: lief.ELF.DYNAMIC_FLAGS) -> bool: ...
1262
+ @overload
1263
+ def has(self, flag: lief.ELF.DYNAMIC_FLAGS_1) -> bool: ...
1264
+ @overload
1265
+ def remove(self, flag: lief.ELF.DYNAMIC_FLAGS) -> None: ...
1266
+ @overload
1267
+ def remove(self, flag: lief.ELF.DYNAMIC_FLAGS_1) -> None: ...
1268
+ @overload
1269
+ def __contains__(self, arg: lief.ELF.DYNAMIC_FLAGS, /) -> bool: ...
1270
+ @overload
1271
+ def __contains__(self, arg: lief.ELF.DYNAMIC_FLAGS_1, /) -> bool: ...
1272
+ @overload
1273
+ def __iadd__(self, arg: lief.ELF.DYNAMIC_FLAGS, /) -> lief.ELF.DynamicEntryFlags: ...
1274
+ @overload
1275
+ def __iadd__(self, arg: lief.ELF.DYNAMIC_FLAGS_1, /) -> lief.ELF.DynamicEntryFlags: ...
1276
+ @overload
1277
+ def __isub__(self, arg: lief.ELF.DYNAMIC_FLAGS, /) -> lief.ELF.DynamicEntryFlags: ...
1278
+ @overload
1279
+ def __isub__(self, arg: lief.ELF.DYNAMIC_FLAGS_1, /) -> lief.ELF.DynamicEntryFlags: ...
1280
+ @property
1281
+ def flags(self) -> set[int]: ...
1282
+
1283
+ class DynamicEntryLibrary(DynamicEntry):
1284
+ name: Union[str,bytes]
1285
+ def __init__(self, library_name: str) -> None: ...
1286
+
1287
+ class DynamicEntryRpath(DynamicEntry):
1288
+ name: Union[str,bytes]
1289
+ paths: list[str]
1290
+ rpath: Union[str,bytes]
1291
+ @overload
1292
+ def __init__(self, path: str = ...) -> None: ...
1293
+ @overload
1294
+ def __init__(self, paths: list[str]) -> None: ...
1295
+ def append(self, path: str) -> lief.ELF.DynamicEntryRpath: ...
1296
+ def insert(self, position: int, path: str) -> lief.ELF.DynamicEntryRpath: ...
1297
+ def remove(self, path: str) -> lief.ELF.DynamicEntryRpath: ...
1298
+ def __iadd__(self, arg: str, /) -> lief.ELF.DynamicEntryRpath: ...
1299
+ def __isub__(self, arg: str, /) -> lief.ELF.DynamicEntryRpath: ...
1300
+
1301
+ class DynamicEntryRunPath(DynamicEntry):
1302
+ name: Union[str,bytes]
1303
+ paths: list[str]
1304
+ runpath: Union[str,bytes]
1305
+ @overload
1306
+ def __init__(self, path: str = ...) -> None: ...
1307
+ @overload
1308
+ def __init__(self, paths: list[str]) -> None: ...
1309
+ def append(self, path: str) -> lief.ELF.DynamicEntryRunPath: ...
1310
+ def insert(self, position: int, path: str) -> lief.ELF.DynamicEntryRunPath: ...
1311
+ def remove(self, path: str) -> lief.ELF.DynamicEntryRunPath: ...
1312
+ def __iadd__(self, arg: str, /) -> lief.ELF.DynamicEntryRunPath: ...
1313
+ def __isub__(self, arg: str, /) -> lief.ELF.DynamicEntryRunPath: ...
1314
+
1315
+ class DynamicSharedObject(DynamicEntry):
1316
+ name: Union[str,bytes]
1317
+ def __init__(self, library_name: str) -> None: ...
1318
+
1319
+ class ELF_CLASS:
1320
+ CLASS32: ClassVar[ELF_CLASS] = ...
1321
+ CLASS64: ClassVar[ELF_CLASS] = ...
1322
+ NONE: ClassVar[ELF_CLASS] = ...
1323
+ __name__: str
1324
+ def __init__(self, *args, **kwargs) -> None: ...
1325
+ @staticmethod
1326
+ def from_value(arg: int, /) -> lief.ELF.ELF_CLASS: ...
1327
+ def __ge__(self, other) -> bool: ...
1328
+ def __gt__(self, other) -> bool: ...
1329
+ def __hash__(self) -> int: ...
1330
+ def __index__(self) -> Any: ...
1331
+ def __int__(self) -> int: ...
1332
+ def __le__(self, other) -> bool: ...
1333
+ def __lt__(self, other) -> bool: ...
1334
+ @property
1335
+ def value(self) -> int: ...
1336
+
1337
+ class ELF_DATA:
1338
+ LSB: ClassVar[ELF_DATA] = ...
1339
+ MSB: ClassVar[ELF_DATA] = ...
1340
+ NONE: ClassVar[ELF_DATA] = ...
1341
+ __name__: str
1342
+ def __init__(self, *args, **kwargs) -> None: ...
1343
+ @staticmethod
1344
+ def from_value(arg: int, /) -> lief.ELF.ELF_DATA: ...
1345
+ def __ge__(self, other) -> bool: ...
1346
+ def __gt__(self, other) -> bool: ...
1347
+ def __hash__(self) -> int: ...
1348
+ def __index__(self) -> Any: ...
1349
+ def __int__(self) -> int: ...
1350
+ def __le__(self, other) -> bool: ...
1351
+ def __lt__(self, other) -> bool: ...
1352
+ @property
1353
+ def value(self) -> int: ...
1354
+
1355
+ class E_TYPE:
1356
+ CORE: ClassVar[E_TYPE] = ...
1357
+ DYNAMIC: ClassVar[E_TYPE] = ...
1358
+ EXECUTABLE: ClassVar[E_TYPE] = ...
1359
+ HIPROC: ClassVar[E_TYPE] = ...
1360
+ LOPROC: ClassVar[E_TYPE] = ...
1361
+ NONE: ClassVar[E_TYPE] = ...
1362
+ RELOCATABLE: ClassVar[E_TYPE] = ...
1363
+ __name__: str
1364
+ def __init__(self, *args, **kwargs) -> None: ...
1365
+ @staticmethod
1366
+ def from_value(arg: int, /) -> lief.ELF.E_TYPE: ...
1367
+ def __ge__(self, other) -> bool: ...
1368
+ def __gt__(self, other) -> bool: ...
1369
+ def __hash__(self) -> int: ...
1370
+ def __index__(self) -> Any: ...
1371
+ def __int__(self) -> int: ...
1372
+ def __le__(self, other) -> bool: ...
1373
+ def __lt__(self, other) -> bool: ...
1374
+ @property
1375
+ def value(self) -> int: ...
1376
+
1377
+ class Generic(NoteGnuProperty.Property):
1378
+ def __init__(self, *args, **kwargs) -> None: ...
1379
+ @property
1380
+ def raw_type(self) -> int: ...
1381
+
1382
+ class GnuHash(lief.Object):
1383
+ def __init__(self) -> None: ...
1384
+ @overload
1385
+ def check(self, symbol_name: str) -> bool: ...
1386
+ @overload
1387
+ def check(self, hash_value: int) -> bool: ...
1388
+ def check_bloom_filter(self, hash: int) -> bool: ...
1389
+ def check_bucket(self, hash: int) -> bool: ...
1390
+ @property
1391
+ def bloom_filters(self) -> list[int]: ...
1392
+ @property
1393
+ def buckets(self) -> list[int]: ...
1394
+ @property
1395
+ def hash_values(self) -> list[int]: ...
1396
+ @property
1397
+ def nb_buckets(self) -> int: ...
1398
+ @property
1399
+ def shift2(self) -> int: ...
1400
+ @property
1401
+ def symbol_index(self) -> int: ...
1402
+
1403
+ class HEXAGON_EFLAGS:
1404
+ ISA_MACH: ClassVar[HEXAGON_EFLAGS] = ...
1405
+ ISA_V2: ClassVar[HEXAGON_EFLAGS] = ...
1406
+ ISA_V3: ClassVar[HEXAGON_EFLAGS] = ...
1407
+ ISA_V4: ClassVar[HEXAGON_EFLAGS] = ...
1408
+ ISA_V5: ClassVar[HEXAGON_EFLAGS] = ...
1409
+ MACH_V2: ClassVar[HEXAGON_EFLAGS] = ...
1410
+ MACH_V3: ClassVar[HEXAGON_EFLAGS] = ...
1411
+ MACH_V4: ClassVar[HEXAGON_EFLAGS] = ...
1412
+ MACH_V5: ClassVar[HEXAGON_EFLAGS] = ...
1413
+ __name__: str
1414
+ def __init__(self, *args, **kwargs) -> None: ...
1415
+ @staticmethod
1416
+ def from_value(arg: int, /) -> lief.ELF.HEXAGON_EFLAGS: ...
1417
+ def __abs__(self) -> Any: ...
1418
+ def __add__(self, other) -> Any: ...
1419
+ @overload
1420
+ def __and__(self, arg: int, /) -> int: ...
1421
+ @overload
1422
+ def __and__(self, arg: lief.ELF.HEXAGON_EFLAGS, /) -> int: ...
1423
+ def __floordiv__(self, other) -> Any: ...
1424
+ def __ge__(self, arg: int, /) -> bool: ...
1425
+ def __gt__(self, arg: int, /) -> bool: ...
1426
+ def __hash__(self) -> int: ...
1427
+ def __index__(self) -> Any: ...
1428
+ def __int__(self) -> int: ...
1429
+ def __invert__(self) -> int: ...
1430
+ def __le__(self, arg: int, /) -> bool: ...
1431
+ def __lshift__(self, other) -> Any: ...
1432
+ def __lt__(self, arg: int, /) -> bool: ...
1433
+ def __mul__(self, other) -> Any: ...
1434
+ def __neg__(self) -> Any: ...
1435
+ @overload
1436
+ def __or__(self, arg: int, /) -> int: ...
1437
+ @overload
1438
+ def __or__(self, arg: lief.ELF.HEXAGON_EFLAGS, /) -> lief.ELF.HEXAGON_EFLAGS: ...
1439
+ def __radd__(self, other) -> Any: ...
1440
+ def __rand__(self, arg: int, /) -> int: ...
1441
+ def __rfloordiv__(self, other) -> Any: ...
1442
+ def __rlshift__(self, other) -> Any: ...
1443
+ def __rmul__(self, other) -> Any: ...
1444
+ def __ror__(self, arg: int, /) -> int: ...
1445
+ def __rrshift__(self, other) -> Any: ...
1446
+ def __rshift__(self, other) -> Any: ...
1447
+ def __rsub__(self, other) -> Any: ...
1448
+ def __rxor__(self, arg: int, /) -> int: ...
1449
+ def __sub__(self, other) -> Any: ...
1450
+ @overload
1451
+ def __xor__(self, arg: int, /) -> int: ...
1452
+ @overload
1453
+ def __xor__(self, arg: lief.ELF.HEXAGON_EFLAGS, /) -> int: ...
1454
+ @property
1455
+ def value(self) -> int: ...
1456
+
1457
+ class Header(lief.Object):
1458
+ entrypoint: int
1459
+ file_type: lief.ELF.E_TYPE
1460
+ header_size: int
1461
+ identity: list[int]
1462
+ identity_abi_version: int
1463
+ identity_class: lief.ELF.ELF_CLASS
1464
+ identity_data: lief.ELF.ELF_DATA
1465
+ identity_os_abi: lief.ELF.OS_ABI
1466
+ identity_version: lief.ELF.VERSION
1467
+ machine_type: lief.ELF.ARCH
1468
+ numberof_sections: int
1469
+ numberof_segments: int
1470
+ object_file_version: lief.ELF.VERSION
1471
+ processor_flag: int
1472
+ program_header_offset: int
1473
+ program_header_size: int
1474
+ section_header_offset: int
1475
+ section_header_size: int
1476
+ section_name_table_idx: int
1477
+ def __init__(self) -> None: ...
1478
+ @overload
1479
+ def __contains__(self, arg: lief.ELF.ARM_EFLAGS, /) -> bool: ...
1480
+ @overload
1481
+ def __contains__(self, arg: lief.ELF.MIPS_EFLAGS, /) -> bool: ...
1482
+ @overload
1483
+ def __contains__(self, arg: lief.ELF.PPC64_EFLAGS, /) -> bool: ...
1484
+ @overload
1485
+ def __contains__(self, arg: lief.ELF.HEXAGON_EFLAGS, /) -> bool: ...
1486
+ @overload
1487
+ def __contains__(self, arg: lief.ELF.LOONGARCH_EFLAGS, /) -> bool: ...
1488
+ @property
1489
+ def arm_flags_list(self) -> set[lief.ELF.ARM_EFLAGS]: ...
1490
+ @property
1491
+ def hexagon_flags_list(self) -> set[lief.ELF.HEXAGON_EFLAGS]: ...
1492
+ @property
1493
+ def loongarch_flags_list(self) -> set[lief.ELF.LOONGARCH_EFLAGS]: ...
1494
+ @property
1495
+ def mips_flags_list(self) -> set[lief.ELF.MIPS_EFLAGS]: ...
1496
+ @property
1497
+ def ppc64_flags_list(self) -> set[lief.ELF.PPC64_EFLAGS]: ...
1498
+
1499
+ class IDENTITY:
1500
+ ABIVERSION: ClassVar[IDENTITY] = ...
1501
+ CLASS: ClassVar[IDENTITY] = ...
1502
+ DATA: ClassVar[IDENTITY] = ...
1503
+ MAG0: ClassVar[IDENTITY] = ...
1504
+ MAG1: ClassVar[IDENTITY] = ...
1505
+ MAG2: ClassVar[IDENTITY] = ...
1506
+ MAG3: ClassVar[IDENTITY] = ...
1507
+ NIDENT: ClassVar[IDENTITY] = ...
1508
+ OSABI: ClassVar[IDENTITY] = ...
1509
+ PAD: ClassVar[IDENTITY] = ...
1510
+ VERSION: ClassVar[IDENTITY] = ...
1511
+ __name__: str
1512
+ def __init__(self, *args, **kwargs) -> None: ...
1513
+ @staticmethod
1514
+ def from_value(arg: int, /) -> lief.ELF.IDENTITY: ...
1515
+ def __ge__(self, other) -> bool: ...
1516
+ def __gt__(self, other) -> bool: ...
1517
+ def __hash__(self) -> int: ...
1518
+ def __index__(self) -> Any: ...
1519
+ def __int__(self) -> int: ...
1520
+ def __le__(self, other) -> bool: ...
1521
+ def __lt__(self, other) -> bool: ...
1522
+ @property
1523
+ def value(self) -> int: ...
1524
+
1525
+ class LOONGARCH_EFLAGS:
1526
+ ABI_DOUBLE_FLOAT: ClassVar[LOONGARCH_EFLAGS] = ...
1527
+ ABI_SINGLE_FLOAT: ClassVar[LOONGARCH_EFLAGS] = ...
1528
+ ABI_SOFT_FLOAT: ClassVar[LOONGARCH_EFLAGS] = ...
1529
+ __name__: str
1530
+ def __init__(self, *args, **kwargs) -> None: ...
1531
+ @staticmethod
1532
+ def from_value(arg: int, /) -> lief.ELF.LOONGARCH_EFLAGS: ...
1533
+ def __abs__(self) -> Any: ...
1534
+ def __add__(self, other) -> Any: ...
1535
+ @overload
1536
+ def __and__(self, arg: int, /) -> int: ...
1537
+ @overload
1538
+ def __and__(self, arg: lief.ELF.LOONGARCH_EFLAGS, /) -> int: ...
1539
+ def __floordiv__(self, other) -> Any: ...
1540
+ def __ge__(self, arg: int, /) -> bool: ...
1541
+ def __gt__(self, arg: int, /) -> bool: ...
1542
+ def __hash__(self) -> int: ...
1543
+ def __index__(self) -> Any: ...
1544
+ def __int__(self) -> int: ...
1545
+ def __invert__(self) -> int: ...
1546
+ def __le__(self, arg: int, /) -> bool: ...
1547
+ def __lshift__(self, other) -> Any: ...
1548
+ def __lt__(self, arg: int, /) -> bool: ...
1549
+ def __mul__(self, other) -> Any: ...
1550
+ def __neg__(self) -> Any: ...
1551
+ @overload
1552
+ def __or__(self, arg: int, /) -> int: ...
1553
+ @overload
1554
+ def __or__(self, arg: lief.ELF.LOONGARCH_EFLAGS, /) -> lief.ELF.LOONGARCH_EFLAGS: ...
1555
+ def __radd__(self, other) -> Any: ...
1556
+ def __rand__(self, arg: int, /) -> int: ...
1557
+ def __rfloordiv__(self, other) -> Any: ...
1558
+ def __rlshift__(self, other) -> Any: ...
1559
+ def __rmul__(self, other) -> Any: ...
1560
+ def __ror__(self, arg: int, /) -> int: ...
1561
+ def __rrshift__(self, other) -> Any: ...
1562
+ def __rshift__(self, other) -> Any: ...
1563
+ def __rsub__(self, other) -> Any: ...
1564
+ def __rxor__(self, arg: int, /) -> int: ...
1565
+ def __sub__(self, other) -> Any: ...
1566
+ @overload
1567
+ def __xor__(self, arg: int, /) -> int: ...
1568
+ @overload
1569
+ def __xor__(self, arg: lief.ELF.LOONGARCH_EFLAGS, /) -> int: ...
1570
+ @property
1571
+ def value(self) -> int: ...
1572
+
1573
+ class MIPS_EFLAGS:
1574
+ ABI2: ClassVar[MIPS_EFLAGS] = ...
1575
+ ABI_EABI32: ClassVar[MIPS_EFLAGS] = ...
1576
+ ABI_EABI64: ClassVar[MIPS_EFLAGS] = ...
1577
+ ABI_O32: ClassVar[MIPS_EFLAGS] = ...
1578
+ ABI_O64: ClassVar[MIPS_EFLAGS] = ...
1579
+ ARCH_1: ClassVar[MIPS_EFLAGS] = ...
1580
+ ARCH_2: ClassVar[MIPS_EFLAGS] = ...
1581
+ ARCH_3: ClassVar[MIPS_EFLAGS] = ...
1582
+ ARCH_32: ClassVar[MIPS_EFLAGS] = ...
1583
+ ARCH_32R2: ClassVar[MIPS_EFLAGS] = ...
1584
+ ARCH_32R6: ClassVar[MIPS_EFLAGS] = ...
1585
+ ARCH_4: ClassVar[MIPS_EFLAGS] = ...
1586
+ ARCH_5: ClassVar[MIPS_EFLAGS] = ...
1587
+ ARCH_64: ClassVar[MIPS_EFLAGS] = ...
1588
+ ARCH_64R2: ClassVar[MIPS_EFLAGS] = ...
1589
+ ARCH_64R6: ClassVar[MIPS_EFLAGS] = ...
1590
+ ARCH_ASE_M16: ClassVar[MIPS_EFLAGS] = ...
1591
+ ARCH_ASE_MDMX: ClassVar[MIPS_EFLAGS] = ...
1592
+ CPIC: ClassVar[MIPS_EFLAGS] = ...
1593
+ FP64: ClassVar[MIPS_EFLAGS] = ...
1594
+ MACH_3900: ClassVar[MIPS_EFLAGS] = ...
1595
+ MACH_4010: ClassVar[MIPS_EFLAGS] = ...
1596
+ MACH_4100: ClassVar[MIPS_EFLAGS] = ...
1597
+ MACH_4111: ClassVar[MIPS_EFLAGS] = ...
1598
+ MACH_4120: ClassVar[MIPS_EFLAGS] = ...
1599
+ MACH_4650: ClassVar[MIPS_EFLAGS] = ...
1600
+ MACH_5400: ClassVar[MIPS_EFLAGS] = ...
1601
+ MACH_5500: ClassVar[MIPS_EFLAGS] = ...
1602
+ MACH_5900: ClassVar[MIPS_EFLAGS] = ...
1603
+ MACH_9000: ClassVar[MIPS_EFLAGS] = ...
1604
+ MACH_LS2E: ClassVar[MIPS_EFLAGS] = ...
1605
+ MACH_LS2F: ClassVar[MIPS_EFLAGS] = ...
1606
+ MACH_LS3A: ClassVar[MIPS_EFLAGS] = ...
1607
+ MACH_OCTEON: ClassVar[MIPS_EFLAGS] = ...
1608
+ MACH_OCTEON2: ClassVar[MIPS_EFLAGS] = ...
1609
+ MACH_OCTEON3: ClassVar[MIPS_EFLAGS] = ...
1610
+ MACH_SB1: ClassVar[MIPS_EFLAGS] = ...
1611
+ MACH_XLR: ClassVar[MIPS_EFLAGS] = ...
1612
+ MICROMIPS: ClassVar[MIPS_EFLAGS] = ...
1613
+ NAN2008: ClassVar[MIPS_EFLAGS] = ...
1614
+ NOREORDER: ClassVar[MIPS_EFLAGS] = ...
1615
+ PIC: ClassVar[MIPS_EFLAGS] = ...
1616
+ _32BITMODE: ClassVar[MIPS_EFLAGS] = ...
1617
+ __name__: str
1618
+ def __init__(self, *args, **kwargs) -> None: ...
1619
+ @staticmethod
1620
+ def from_value(arg: int, /) -> lief.ELF.MIPS_EFLAGS: ...
1621
+ def __abs__(self) -> Any: ...
1622
+ def __add__(self, other) -> Any: ...
1623
+ @overload
1624
+ def __and__(self, arg: int, /) -> int: ...
1625
+ @overload
1626
+ def __and__(self, arg: lief.ELF.MIPS_EFLAGS, /) -> int: ...
1627
+ def __floordiv__(self, other) -> Any: ...
1628
+ def __ge__(self, arg: int, /) -> bool: ...
1629
+ def __gt__(self, arg: int, /) -> bool: ...
1630
+ def __hash__(self) -> int: ...
1631
+ def __index__(self) -> Any: ...
1632
+ def __int__(self) -> int: ...
1633
+ def __invert__(self) -> int: ...
1634
+ def __le__(self, arg: int, /) -> bool: ...
1635
+ def __lshift__(self, other) -> Any: ...
1636
+ def __lt__(self, arg: int, /) -> bool: ...
1637
+ def __mul__(self, other) -> Any: ...
1638
+ def __neg__(self) -> Any: ...
1639
+ @overload
1640
+ def __or__(self, arg: int, /) -> int: ...
1641
+ @overload
1642
+ def __or__(self, arg: lief.ELF.MIPS_EFLAGS, /) -> lief.ELF.MIPS_EFLAGS: ...
1643
+ def __radd__(self, other) -> Any: ...
1644
+ def __rand__(self, arg: int, /) -> int: ...
1645
+ def __rfloordiv__(self, other) -> Any: ...
1646
+ def __rlshift__(self, other) -> Any: ...
1647
+ def __rmul__(self, other) -> Any: ...
1648
+ def __ror__(self, arg: int, /) -> int: ...
1649
+ def __rrshift__(self, other) -> Any: ...
1650
+ def __rshift__(self, other) -> Any: ...
1651
+ def __rsub__(self, other) -> Any: ...
1652
+ def __rxor__(self, arg: int, /) -> int: ...
1653
+ def __sub__(self, other) -> Any: ...
1654
+ @overload
1655
+ def __xor__(self, arg: int, /) -> int: ...
1656
+ @overload
1657
+ def __xor__(self, arg: lief.ELF.MIPS_EFLAGS, /) -> int: ...
1658
+ @property
1659
+ def value(self) -> int: ...
1660
+
1661
+ class Note(lief.Object):
1662
+ class TYPE:
1663
+ ANDROID_IDENT: ClassVar[Note.TYPE] = ...
1664
+ ANDROID_KUSER: ClassVar[Note.TYPE] = ...
1665
+ ANDROID_MEMTAG: ClassVar[Note.TYPE] = ...
1666
+ CORE_ARM_HW_BREAK: ClassVar[Note.TYPE] = ...
1667
+ CORE_ARM_HW_WATCH: ClassVar[Note.TYPE] = ...
1668
+ CORE_ARM_PACA_KEYS: ClassVar[Note.TYPE] = ...
1669
+ CORE_ARM_PACG_KEYS: ClassVar[Note.TYPE] = ...
1670
+ CORE_ARM_PAC_MASK: ClassVar[Note.TYPE] = ...
1671
+ CORE_ARM_SVE: ClassVar[Note.TYPE] = ...
1672
+ CORE_ARM_SYSTEM_CALL: ClassVar[Note.TYPE] = ...
1673
+ CORE_ARM_TLS: ClassVar[Note.TYPE] = ...
1674
+ CORE_ARM_VFP: ClassVar[Note.TYPE] = ...
1675
+ CORE_AUXV: ClassVar[Note.TYPE] = ...
1676
+ CORE_FILE: ClassVar[Note.TYPE] = ...
1677
+ CORE_FPREGS: ClassVar[Note.TYPE] = ...
1678
+ CORE_FPREGSET: ClassVar[Note.TYPE] = ...
1679
+ CORE_LWPSINFO: ClassVar[Note.TYPE] = ...
1680
+ CORE_LWPSTATUS: ClassVar[Note.TYPE] = ...
1681
+ CORE_PAC_ENABLED_KEYS: ClassVar[Note.TYPE] = ...
1682
+ CORE_PRPSINFO: ClassVar[Note.TYPE] = ...
1683
+ CORE_PRSTATUS: ClassVar[Note.TYPE] = ...
1684
+ CORE_PRXFPREG: ClassVar[Note.TYPE] = ...
1685
+ CORE_PSINFO: ClassVar[Note.TYPE] = ...
1686
+ CORE_PSTATUS: ClassVar[Note.TYPE] = ...
1687
+ CORE_SIGINFO: ClassVar[Note.TYPE] = ...
1688
+ CORE_TAGGED_ADDR_CTRL: ClassVar[Note.TYPE] = ...
1689
+ CORE_TASKSTRUCT: ClassVar[Note.TYPE] = ...
1690
+ CORE_WIN32PSTATUS: ClassVar[Note.TYPE] = ...
1691
+ CORE_X86_CET: ClassVar[Note.TYPE] = ...
1692
+ CORE_X86_IOPERM: ClassVar[Note.TYPE] = ...
1693
+ CORE_X86_TLS: ClassVar[Note.TYPE] = ...
1694
+ CORE_X86_XSTATE: ClassVar[Note.TYPE] = ...
1695
+ CRASHPAD: ClassVar[Note.TYPE] = ...
1696
+ GNU_ABI_TAG: ClassVar[Note.TYPE] = ...
1697
+ GNU_BUILD_ATTRIBUTE_FUNC: ClassVar[Note.TYPE] = ...
1698
+ GNU_BUILD_ATTRIBUTE_OPEN: ClassVar[Note.TYPE] = ...
1699
+ GNU_BUILD_ID: ClassVar[Note.TYPE] = ...
1700
+ GNU_GOLD_VERSION: ClassVar[Note.TYPE] = ...
1701
+ GNU_HWCAP: ClassVar[Note.TYPE] = ...
1702
+ GNU_PROPERTY_TYPE_0: ClassVar[Note.TYPE] = ...
1703
+ GO_BUILDID: ClassVar[Note.TYPE] = ...
1704
+ STAPSDT: ClassVar[Note.TYPE] = ...
1705
+ UNKNOWN: ClassVar[Note.TYPE] = ...
1706
+ __name__: str
1707
+ def __init__(self, *args, **kwargs) -> None: ...
1708
+ @staticmethod
1709
+ def from_value(arg: int, /) -> lief.ELF.Note.TYPE: ...
1710
+ def __ge__(self, other) -> bool: ...
1711
+ def __gt__(self, other) -> bool: ...
1712
+ def __hash__(self) -> int: ...
1713
+ def __index__(self) -> Any: ...
1714
+ def __int__(self) -> int: ...
1715
+ def __le__(self, other) -> bool: ...
1716
+ def __lt__(self, other) -> bool: ...
1717
+ @property
1718
+ def value(self) -> int: ...
1719
+ description: memoryview
1720
+ name: str
1721
+ def __init__(self, *args, **kwargs) -> None: ...
1722
+ def copy(self) -> Optional[lief.ELF.Note]: ...
1723
+ @overload
1724
+ @staticmethod
1725
+ def create(name: str, original_type: int, description: list[int], file_type: lief.ELF.E_TYPE = ..., arch: lief.ELF.ARCH = ..., cls: lief.ELF.ELF_CLASS = ...) -> Optional[lief.ELF.Note]: ...
1726
+ @overload
1727
+ @staticmethod
1728
+ def create(raw: bytes, file_type: lief.ELF.E_TYPE = ..., arch: lief.ELF.ARCH = ..., cls: lief.ELF.ELF_CLASS = ...) -> Optional[lief.ELF.Note]: ...
1729
+ @overload
1730
+ @staticmethod
1731
+ def create(name: str, type: lief.ELF.Note.TYPE, description: list[int], arch: lief.ELF.ARCH = ..., cls: lief.ELF.ELF_CLASS = ...) -> Optional[lief.ELF.Note]: ...
1732
+ @property
1733
+ def original_type(self) -> int: ...
1734
+ @property
1735
+ def size(self) -> int: ...
1736
+ @property
1737
+ def type(self) -> lief.ELF.Note.TYPE: ...
1738
+
1739
+ class NoteAbi(Note):
1740
+ class ABI:
1741
+ FREEBSD: ClassVar[NoteAbi.ABI] = ...
1742
+ GNU: ClassVar[NoteAbi.ABI] = ...
1743
+ LINUX: ClassVar[NoteAbi.ABI] = ...
1744
+ NACL: ClassVar[NoteAbi.ABI] = ...
1745
+ NETBSD: ClassVar[NoteAbi.ABI] = ...
1746
+ SOLARIS2: ClassVar[NoteAbi.ABI] = ...
1747
+ SYLLABLE: ClassVar[NoteAbi.ABI] = ...
1748
+ __name__: str
1749
+ def __init__(self, *args, **kwargs) -> None: ...
1750
+ @staticmethod
1751
+ def from_value(arg: int, /) -> lief.ELF.NoteAbi.ABI: ...
1752
+ def __ge__(self, other) -> bool: ...
1753
+ def __gt__(self, other) -> bool: ...
1754
+ def __hash__(self) -> int: ...
1755
+ def __index__(self) -> Any: ...
1756
+ def __int__(self) -> int: ...
1757
+ def __le__(self, other) -> bool: ...
1758
+ def __lt__(self, other) -> bool: ...
1759
+ @property
1760
+ def value(self) -> int: ...
1761
+ def __init__(self, *args, **kwargs) -> None: ...
1762
+ @property
1763
+ def abi(self) -> Optional[lief.ELF.NoteAbi.ABI]: ...
1764
+ @property
1765
+ def version(self) -> Optional[list[int]]: ...
1766
+
1767
+ class NoteGnuProperty(Note):
1768
+ class Property:
1769
+ class TYPE:
1770
+ AARCH64_FEATURES: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1771
+ GENERIC: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1772
+ NEEDED: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1773
+ NO_COPY_ON_PROTECTED: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1774
+ STACK_SIZE: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1775
+ UNKNOWN: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1776
+ X86_FEATURE: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1777
+ X86_ISA: ClassVar[NoteGnuProperty.Property.TYPE] = ...
1778
+ __name__: str
1779
+ def __init__(self, *args, **kwargs) -> None: ...
1780
+ @staticmethod
1781
+ def from_value(arg: int, /) -> lief.ELF.NoteGnuProperty.Property.TYPE: ...
1782
+ def __ge__(self, other) -> bool: ...
1783
+ def __gt__(self, other) -> bool: ...
1784
+ def __hash__(self) -> int: ...
1785
+ def __index__(self) -> Any: ...
1786
+ def __int__(self) -> int: ...
1787
+ def __le__(self, other) -> bool: ...
1788
+ def __lt__(self, other) -> bool: ...
1789
+ @property
1790
+ def value(self) -> int: ...
1791
+ def __init__(self, *args, **kwargs) -> None: ...
1792
+ @property
1793
+ def type(self) -> lief.ELF.NoteGnuProperty.Property.TYPE: ...
1794
+ def __init__(self, *args, **kwargs) -> None: ...
1795
+ def find(self, arg: lief.ELF.NoteGnuProperty.Property.TYPE, /) -> Optional[lief.ELF.NoteGnuProperty.Property]: ...
1796
+ @property
1797
+ def properties(self) -> list[Optional[lief.ELF.NoteGnuProperty.Property]]: ...
1798
+
1799
+ class NoteNoCopyOnProtected(NoteGnuProperty.Property):
1800
+ def __init__(self, *args, **kwargs) -> None: ...
1801
+
1802
+ class OS_ABI:
1803
+ AIX: ClassVar[OS_ABI] = ...
1804
+ AMDGPU_HSA: ClassVar[OS_ABI] = ...
1805
+ ARM: ClassVar[OS_ABI] = ...
1806
+ AROS: ClassVar[OS_ABI] = ...
1807
+ C6000_ELFABI: ClassVar[OS_ABI] = ...
1808
+ C6000_LINUX: ClassVar[OS_ABI] = ...
1809
+ CLOUDABI: ClassVar[OS_ABI] = ...
1810
+ FENIXOS: ClassVar[OS_ABI] = ...
1811
+ FREEBSD: ClassVar[OS_ABI] = ...
1812
+ GNU: ClassVar[OS_ABI] = ...
1813
+ HPUX: ClassVar[OS_ABI] = ...
1814
+ HURD: ClassVar[OS_ABI] = ...
1815
+ IRIX: ClassVar[OS_ABI] = ...
1816
+ LINUX: ClassVar[OS_ABI] = ...
1817
+ MODESTO: ClassVar[OS_ABI] = ...
1818
+ NETBSD: ClassVar[OS_ABI] = ...
1819
+ NSK: ClassVar[OS_ABI] = ...
1820
+ OPENBSD: ClassVar[OS_ABI] = ...
1821
+ OPENVMS: ClassVar[OS_ABI] = ...
1822
+ SOLARIS: ClassVar[OS_ABI] = ...
1823
+ STANDALONE: ClassVar[OS_ABI] = ...
1824
+ SYSTEMV: ClassVar[OS_ABI] = ...
1825
+ TRU64: ClassVar[OS_ABI] = ...
1826
+ __name__: str
1827
+ def __init__(self, *args, **kwargs) -> None: ...
1828
+ @staticmethod
1829
+ def from_value(arg: int, /) -> lief.ELF.OS_ABI: ...
1830
+ def __ge__(self, other) -> bool: ...
1831
+ def __gt__(self, other) -> bool: ...
1832
+ def __hash__(self) -> int: ...
1833
+ def __index__(self) -> Any: ...
1834
+ def __int__(self) -> int: ...
1835
+ def __le__(self, other) -> bool: ...
1836
+ def __lt__(self, other) -> bool: ...
1837
+ @property
1838
+ def value(self) -> int: ...
1839
+
1840
+ class PPC64_EFLAGS:
1841
+ ABI: ClassVar[PPC64_EFLAGS] = ...
1842
+ __name__: str
1843
+ def __init__(self, *args, **kwargs) -> None: ...
1844
+ @staticmethod
1845
+ def from_value(arg: int, /) -> lief.ELF.PPC64_EFLAGS: ...
1846
+ def __abs__(self) -> Any: ...
1847
+ def __add__(self, other) -> Any: ...
1848
+ @overload
1849
+ def __and__(self, arg: int, /) -> int: ...
1850
+ @overload
1851
+ def __and__(self, arg: lief.ELF.PPC64_EFLAGS, /) -> int: ...
1852
+ def __floordiv__(self, other) -> Any: ...
1853
+ def __ge__(self, arg: int, /) -> bool: ...
1854
+ def __gt__(self, arg: int, /) -> bool: ...
1855
+ def __hash__(self) -> int: ...
1856
+ def __index__(self) -> Any: ...
1857
+ def __int__(self) -> int: ...
1858
+ def __invert__(self) -> int: ...
1859
+ def __le__(self, arg: int, /) -> bool: ...
1860
+ def __lshift__(self, other) -> Any: ...
1861
+ def __lt__(self, arg: int, /) -> bool: ...
1862
+ def __mul__(self, other) -> Any: ...
1863
+ def __neg__(self) -> Any: ...
1864
+ @overload
1865
+ def __or__(self, arg: int, /) -> int: ...
1866
+ @overload
1867
+ def __or__(self, arg: lief.ELF.PPC64_EFLAGS, /) -> lief.ELF.PPC64_EFLAGS: ...
1868
+ def __radd__(self, other) -> Any: ...
1869
+ def __rand__(self, arg: int, /) -> int: ...
1870
+ def __rfloordiv__(self, other) -> Any: ...
1871
+ def __rlshift__(self, other) -> Any: ...
1872
+ def __rmul__(self, other) -> Any: ...
1873
+ def __ror__(self, arg: int, /) -> int: ...
1874
+ def __rrshift__(self, other) -> Any: ...
1875
+ def __rshift__(self, other) -> Any: ...
1876
+ def __rsub__(self, other) -> Any: ...
1877
+ def __rxor__(self, arg: int, /) -> int: ...
1878
+ def __sub__(self, other) -> Any: ...
1879
+ @overload
1880
+ def __xor__(self, arg: int, /) -> int: ...
1881
+ @overload
1882
+ def __xor__(self, arg: lief.ELF.PPC64_EFLAGS, /) -> int: ...
1883
+ @property
1884
+ def value(self) -> int: ...
1885
+
1886
+ class ParserConfig:
1887
+ count_mtd: lief.ELF.DYNSYM_COUNT_METHODS
1888
+ parse_dyn_symbols: bool
1889
+ parse_notes: bool
1890
+ parse_overlay: bool
1891
+ parse_relocations: bool
1892
+ parse_static_symbols: bool
1893
+ parse_symbol_versions: bool
1894
+ def __init__(self) -> None: ...
1895
+ @property
1896
+ def all(self) -> lief.ELF.ParserConfig: ...
1897
+
1898
+ class RELOCATION_AARCH64:
1899
+ ABS16: ClassVar[RELOCATION_AARCH64] = ...
1900
+ ABS32: ClassVar[RELOCATION_AARCH64] = ...
1901
+ ABS64: ClassVar[RELOCATION_AARCH64] = ...
1902
+ ADD_ABS_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1903
+ ADR_GOT_PAGE: ClassVar[RELOCATION_AARCH64] = ...
1904
+ ADR_PREL_LO21: ClassVar[RELOCATION_AARCH64] = ...
1905
+ ADR_PREL_PG_HI21: ClassVar[RELOCATION_AARCH64] = ...
1906
+ ADR_PREL_PG_HI21_NC: ClassVar[RELOCATION_AARCH64] = ...
1907
+ CALL26: ClassVar[RELOCATION_AARCH64] = ...
1908
+ CONDBR19: ClassVar[RELOCATION_AARCH64] = ...
1909
+ COPY: ClassVar[RELOCATION_AARCH64] = ...
1910
+ GLOB_DAT: ClassVar[RELOCATION_AARCH64] = ...
1911
+ GOTREL32: ClassVar[RELOCATION_AARCH64] = ...
1912
+ GOTREL64: ClassVar[RELOCATION_AARCH64] = ...
1913
+ GOT_LD_PREL19: ClassVar[RELOCATION_AARCH64] = ...
1914
+ IRELATIVE: ClassVar[RELOCATION_AARCH64] = ...
1915
+ JUMP26: ClassVar[RELOCATION_AARCH64] = ...
1916
+ JUMP_SLOT: ClassVar[RELOCATION_AARCH64] = ...
1917
+ LD64_GOTOFF_LO15: ClassVar[RELOCATION_AARCH64] = ...
1918
+ LD64_GOTPAGE_LO15: ClassVar[RELOCATION_AARCH64] = ...
1919
+ LD64_GOT_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1920
+ LDST128_ABS_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1921
+ LDST16_ABS_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1922
+ LDST32_ABS_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1923
+ LDST64_ABS_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1924
+ LDST8_ABS_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1925
+ LD_PREL_LO19: ClassVar[RELOCATION_AARCH64] = ...
1926
+ MOVW_GOTOFF_G0: ClassVar[RELOCATION_AARCH64] = ...
1927
+ MOVW_GOTOFF_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1928
+ MOVW_GOTOFF_G1: ClassVar[RELOCATION_AARCH64] = ...
1929
+ MOVW_GOTOFF_G1_NC: ClassVar[RELOCATION_AARCH64] = ...
1930
+ MOVW_GOTOFF_G2: ClassVar[RELOCATION_AARCH64] = ...
1931
+ MOVW_GOTOFF_G2_NC: ClassVar[RELOCATION_AARCH64] = ...
1932
+ MOVW_GOTOFF_G3: ClassVar[RELOCATION_AARCH64] = ...
1933
+ MOVW_PREL_G0: ClassVar[RELOCATION_AARCH64] = ...
1934
+ MOVW_PREL_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1935
+ MOVW_PREL_G1: ClassVar[RELOCATION_AARCH64] = ...
1936
+ MOVW_PREL_G1_NC: ClassVar[RELOCATION_AARCH64] = ...
1937
+ MOVW_PREL_G2: ClassVar[RELOCATION_AARCH64] = ...
1938
+ MOVW_PREL_G2_NC: ClassVar[RELOCATION_AARCH64] = ...
1939
+ MOVW_PREL_G3: ClassVar[RELOCATION_AARCH64] = ...
1940
+ MOVW_SABS_G0: ClassVar[RELOCATION_AARCH64] = ...
1941
+ MOVW_SABS_G1: ClassVar[RELOCATION_AARCH64] = ...
1942
+ MOVW_SABS_G2: ClassVar[RELOCATION_AARCH64] = ...
1943
+ MOVW_UABS_G0: ClassVar[RELOCATION_AARCH64] = ...
1944
+ MOVW_UABS_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1945
+ MOVW_UABS_G1: ClassVar[RELOCATION_AARCH64] = ...
1946
+ MOVW_UABS_G1_NC: ClassVar[RELOCATION_AARCH64] = ...
1947
+ MOVW_UABS_G2: ClassVar[RELOCATION_AARCH64] = ...
1948
+ MOVW_UABS_G2_NC: ClassVar[RELOCATION_AARCH64] = ...
1949
+ MOVW_UABS_G3: ClassVar[RELOCATION_AARCH64] = ...
1950
+ NONE: ClassVar[RELOCATION_AARCH64] = ...
1951
+ PREL16: ClassVar[RELOCATION_AARCH64] = ...
1952
+ PREL32: ClassVar[RELOCATION_AARCH64] = ...
1953
+ PREL64: ClassVar[RELOCATION_AARCH64] = ...
1954
+ RELATIVE: ClassVar[RELOCATION_AARCH64] = ...
1955
+ TLSDESC: ClassVar[RELOCATION_AARCH64] = ...
1956
+ TLSDESC_ADD: ClassVar[RELOCATION_AARCH64] = ...
1957
+ TLSDESC_ADD_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1958
+ TLSDESC_ADR_PAGE21: ClassVar[RELOCATION_AARCH64] = ...
1959
+ TLSDESC_ADR_PREL21: ClassVar[RELOCATION_AARCH64] = ...
1960
+ TLSDESC_CALL: ClassVar[RELOCATION_AARCH64] = ...
1961
+ TLSDESC_LD64_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1962
+ TLSDESC_LDR: ClassVar[RELOCATION_AARCH64] = ...
1963
+ TLSDESC_LD_PREL19: ClassVar[RELOCATION_AARCH64] = ...
1964
+ TLSDESC_OFF_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1965
+ TLSDESC_OFF_G1: ClassVar[RELOCATION_AARCH64] = ...
1966
+ TLSGD_ADD_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1967
+ TLSGD_ADR_PAGE21: ClassVar[RELOCATION_AARCH64] = ...
1968
+ TLSGD_ADR_PREL21: ClassVar[RELOCATION_AARCH64] = ...
1969
+ TLSGD_MOVW_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1970
+ TLSGD_MOVW_G1: ClassVar[RELOCATION_AARCH64] = ...
1971
+ TLSIE_ADR_GOTTPREL_PAGE21: ClassVar[RELOCATION_AARCH64] = ...
1972
+ TLSIE_LD64_GOTTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1973
+ TLSIE_LD_GOTTPREL_PREL19: ClassVar[RELOCATION_AARCH64] = ...
1974
+ TLSIE_MOVW_GOTTPREL_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1975
+ TLSIE_MOVW_GOTTPREL_G1: ClassVar[RELOCATION_AARCH64] = ...
1976
+ TLSLD_ADD_DTPREL_HI12: ClassVar[RELOCATION_AARCH64] = ...
1977
+ TLSLD_ADD_DTPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
1978
+ TLSLD_ADD_DTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1979
+ TLSLD_ADD_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1980
+ TLSLD_ADR_PAGE21: ClassVar[RELOCATION_AARCH64] = ...
1981
+ TLSLD_ADR_PREL21: ClassVar[RELOCATION_AARCH64] = ...
1982
+ TLSLD_LDST128_DTPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
1983
+ TLSLD_LDST128_DTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1984
+ TLSLD_LDST16_DTPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
1985
+ TLSLD_LDST16_DTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1986
+ TLSLD_LDST32_DTPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
1987
+ TLSLD_LDST32_DTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1988
+ TLSLD_LDST64_DTPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
1989
+ TLSLD_LDST64_DTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1990
+ TLSLD_LDST8_DTPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
1991
+ TLSLD_LDST8_DTPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
1992
+ TLSLD_LD_PREL19: ClassVar[RELOCATION_AARCH64] = ...
1993
+ TLSLD_MOVW_DTPREL_G0: ClassVar[RELOCATION_AARCH64] = ...
1994
+ TLSLD_MOVW_DTPREL_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1995
+ TLSLD_MOVW_DTPREL_G1: ClassVar[RELOCATION_AARCH64] = ...
1996
+ TLSLD_MOVW_DTPREL_G1_NC: ClassVar[RELOCATION_AARCH64] = ...
1997
+ TLSLD_MOVW_DTPREL_G2: ClassVar[RELOCATION_AARCH64] = ...
1998
+ TLSLD_MOVW_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
1999
+ TLSLD_MOVW_G1: ClassVar[RELOCATION_AARCH64] = ...
2000
+ TLSLE_ADD_TPREL_HI12: ClassVar[RELOCATION_AARCH64] = ...
2001
+ TLSLE_ADD_TPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
2002
+ TLSLE_ADD_TPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
2003
+ TLSLE_LDST128_TPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
2004
+ TLSLE_LDST128_TPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
2005
+ TLSLE_LDST16_TPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
2006
+ TLSLE_LDST16_TPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
2007
+ TLSLE_LDST32_TPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
2008
+ TLSLE_LDST32_TPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
2009
+ TLSLE_LDST64_TPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
2010
+ TLSLE_LDST64_TPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
2011
+ TLSLE_LDST8_TPREL_LO12: ClassVar[RELOCATION_AARCH64] = ...
2012
+ TLSLE_LDST8_TPREL_LO12_NC: ClassVar[RELOCATION_AARCH64] = ...
2013
+ TLSLE_MOVW_TPREL_G0: ClassVar[RELOCATION_AARCH64] = ...
2014
+ TLSLE_MOVW_TPREL_G0_NC: ClassVar[RELOCATION_AARCH64] = ...
2015
+ TLSLE_MOVW_TPREL_G1: ClassVar[RELOCATION_AARCH64] = ...
2016
+ TLSLE_MOVW_TPREL_G1_NC: ClassVar[RELOCATION_AARCH64] = ...
2017
+ TLSLE_MOVW_TPREL_G2: ClassVar[RELOCATION_AARCH64] = ...
2018
+ TLS_DTPMOD64: ClassVar[RELOCATION_AARCH64] = ...
2019
+ TLS_DTPREL64: ClassVar[RELOCATION_AARCH64] = ...
2020
+ TLS_TPREL64: ClassVar[RELOCATION_AARCH64] = ...
2021
+ TSTBR14: ClassVar[RELOCATION_AARCH64] = ...
2022
+ __name__: str
2023
+ def __init__(self, *args, **kwargs) -> None: ...
2024
+ @staticmethod
2025
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_AARCH64: ...
2026
+ def __ge__(self, other) -> bool: ...
2027
+ def __gt__(self, other) -> bool: ...
2028
+ def __hash__(self) -> int: ...
2029
+ def __index__(self) -> Any: ...
2030
+ def __int__(self) -> int: ...
2031
+ def __le__(self, other) -> bool: ...
2032
+ def __lt__(self, other) -> bool: ...
2033
+ @property
2034
+ def value(self) -> int: ...
2035
+
2036
+ class RELOCATION_ARM:
2037
+ ABS12: ClassVar[RELOCATION_ARM] = ...
2038
+ ABS16: ClassVar[RELOCATION_ARM] = ...
2039
+ ABS32: ClassVar[RELOCATION_ARM] = ...
2040
+ ABS32_NOI: ClassVar[RELOCATION_ARM] = ...
2041
+ ABS8: ClassVar[RELOCATION_ARM] = ...
2042
+ ALU_PCREL_15_8: ClassVar[RELOCATION_ARM] = ...
2043
+ ALU_PCREL_23_15: ClassVar[RELOCATION_ARM] = ...
2044
+ ALU_PCREL_7_0: ClassVar[RELOCATION_ARM] = ...
2045
+ ALU_PC_G0: ClassVar[RELOCATION_ARM] = ...
2046
+ ALU_PC_G0_NC: ClassVar[RELOCATION_ARM] = ...
2047
+ ALU_PC_G1: ClassVar[RELOCATION_ARM] = ...
2048
+ ALU_PC_G1_NC: ClassVar[RELOCATION_ARM] = ...
2049
+ ALU_PC_G2: ClassVar[RELOCATION_ARM] = ...
2050
+ ALU_SBREL_19_12_NC: ClassVar[RELOCATION_ARM] = ...
2051
+ ALU_SBREL_27_20_CK: ClassVar[RELOCATION_ARM] = ...
2052
+ ALU_SB_G0: ClassVar[RELOCATION_ARM] = ...
2053
+ ALU_SB_G0_NC: ClassVar[RELOCATION_ARM] = ...
2054
+ ALU_SB_G1: ClassVar[RELOCATION_ARM] = ...
2055
+ ALU_SB_G1_NC: ClassVar[RELOCATION_ARM] = ...
2056
+ ALU_SB_G2: ClassVar[RELOCATION_ARM] = ...
2057
+ BASE_ABS: ClassVar[RELOCATION_ARM] = ...
2058
+ BASE_PREL: ClassVar[RELOCATION_ARM] = ...
2059
+ BREL_ADJ: ClassVar[RELOCATION_ARM] = ...
2060
+ CALL: ClassVar[RELOCATION_ARM] = ...
2061
+ COPY: ClassVar[RELOCATION_ARM] = ...
2062
+ GLOB_DAT: ClassVar[RELOCATION_ARM] = ...
2063
+ GNU_VTENTRY: ClassVar[RELOCATION_ARM] = ...
2064
+ GNU_VTINHERIT: ClassVar[RELOCATION_ARM] = ...
2065
+ GOTOFF12: ClassVar[RELOCATION_ARM] = ...
2066
+ GOTOFF32: ClassVar[RELOCATION_ARM] = ...
2067
+ GOTRELAX: ClassVar[RELOCATION_ARM] = ...
2068
+ GOT_ABS: ClassVar[RELOCATION_ARM] = ...
2069
+ GOT_BREL: ClassVar[RELOCATION_ARM] = ...
2070
+ GOT_BREL12: ClassVar[RELOCATION_ARM] = ...
2071
+ GOT_PREL: ClassVar[RELOCATION_ARM] = ...
2072
+ IRELATIVE: ClassVar[RELOCATION_ARM] = ...
2073
+ JUMP24: ClassVar[RELOCATION_ARM] = ...
2074
+ JUMP_SLOT: ClassVar[RELOCATION_ARM] = ...
2075
+ LDC_PC_G0: ClassVar[RELOCATION_ARM] = ...
2076
+ LDC_PC_G1: ClassVar[RELOCATION_ARM] = ...
2077
+ LDC_PC_G2: ClassVar[RELOCATION_ARM] = ...
2078
+ LDC_SB_G0: ClassVar[RELOCATION_ARM] = ...
2079
+ LDC_SB_G1: ClassVar[RELOCATION_ARM] = ...
2080
+ LDC_SB_G2: ClassVar[RELOCATION_ARM] = ...
2081
+ LDRS_PC_G0: ClassVar[RELOCATION_ARM] = ...
2082
+ LDRS_PC_G1: ClassVar[RELOCATION_ARM] = ...
2083
+ LDRS_PC_G2: ClassVar[RELOCATION_ARM] = ...
2084
+ LDRS_SB_G0: ClassVar[RELOCATION_ARM] = ...
2085
+ LDRS_SB_G1: ClassVar[RELOCATION_ARM] = ...
2086
+ LDRS_SB_G2: ClassVar[RELOCATION_ARM] = ...
2087
+ LDR_PC_G0: ClassVar[RELOCATION_ARM] = ...
2088
+ LDR_PC_G1: ClassVar[RELOCATION_ARM] = ...
2089
+ LDR_PC_G2: ClassVar[RELOCATION_ARM] = ...
2090
+ LDR_SBREL_11_0_NC: ClassVar[RELOCATION_ARM] = ...
2091
+ LDR_SB_G0: ClassVar[RELOCATION_ARM] = ...
2092
+ LDR_SB_G1: ClassVar[RELOCATION_ARM] = ...
2093
+ LDR_SB_G2: ClassVar[RELOCATION_ARM] = ...
2094
+ ME_TOO: ClassVar[RELOCATION_ARM] = ...
2095
+ MOVT_ABS: ClassVar[RELOCATION_ARM] = ...
2096
+ MOVT_BREL: ClassVar[RELOCATION_ARM] = ...
2097
+ MOVT_PREL: ClassVar[RELOCATION_ARM] = ...
2098
+ MOVW_ABS_NC: ClassVar[RELOCATION_ARM] = ...
2099
+ MOVW_BREL: ClassVar[RELOCATION_ARM] = ...
2100
+ MOVW_BREL_NC: ClassVar[RELOCATION_ARM] = ...
2101
+ MOVW_PREL_NC: ClassVar[RELOCATION_ARM] = ...
2102
+ NONE: ClassVar[RELOCATION_ARM] = ...
2103
+ PC24: ClassVar[RELOCATION_ARM] = ...
2104
+ PLT32: ClassVar[RELOCATION_ARM] = ...
2105
+ PLT32_ABS: ClassVar[RELOCATION_ARM] = ...
2106
+ PREL31: ClassVar[RELOCATION_ARM] = ...
2107
+ PRIVATE_0: ClassVar[RELOCATION_ARM] = ...
2108
+ PRIVATE_1: ClassVar[RELOCATION_ARM] = ...
2109
+ PRIVATE_10: ClassVar[RELOCATION_ARM] = ...
2110
+ PRIVATE_11: ClassVar[RELOCATION_ARM] = ...
2111
+ PRIVATE_12: ClassVar[RELOCATION_ARM] = ...
2112
+ PRIVATE_13: ClassVar[RELOCATION_ARM] = ...
2113
+ PRIVATE_14: ClassVar[RELOCATION_ARM] = ...
2114
+ PRIVATE_15: ClassVar[RELOCATION_ARM] = ...
2115
+ PRIVATE_2: ClassVar[RELOCATION_ARM] = ...
2116
+ PRIVATE_3: ClassVar[RELOCATION_ARM] = ...
2117
+ PRIVATE_4: ClassVar[RELOCATION_ARM] = ...
2118
+ PRIVATE_5: ClassVar[RELOCATION_ARM] = ...
2119
+ PRIVATE_6: ClassVar[RELOCATION_ARM] = ...
2120
+ PRIVATE_7: ClassVar[RELOCATION_ARM] = ...
2121
+ PRIVATE_8: ClassVar[RELOCATION_ARM] = ...
2122
+ PRIVATE_9: ClassVar[RELOCATION_ARM] = ...
2123
+ RBASE: ClassVar[RELOCATION_ARM] = ...
2124
+ REL32: ClassVar[RELOCATION_ARM] = ...
2125
+ REL32_NOI: ClassVar[RELOCATION_ARM] = ...
2126
+ RELATIVE: ClassVar[RELOCATION_ARM] = ...
2127
+ RPC24: ClassVar[RELOCATION_ARM] = ...
2128
+ RREL32: ClassVar[RELOCATION_ARM] = ...
2129
+ RSBREL32: ClassVar[RELOCATION_ARM] = ...
2130
+ RXPC25: ClassVar[RELOCATION_ARM] = ...
2131
+ SBREL31: ClassVar[RELOCATION_ARM] = ...
2132
+ SBREL32: ClassVar[RELOCATION_ARM] = ...
2133
+ TARGET1: ClassVar[RELOCATION_ARM] = ...
2134
+ TARGET2: ClassVar[RELOCATION_ARM] = ...
2135
+ THM_ABS5: ClassVar[RELOCATION_ARM] = ...
2136
+ THM_ALU_PREL_11_0: ClassVar[RELOCATION_ARM] = ...
2137
+ THM_CALL: ClassVar[RELOCATION_ARM] = ...
2138
+ THM_JUMP11: ClassVar[RELOCATION_ARM] = ...
2139
+ THM_JUMP19: ClassVar[RELOCATION_ARM] = ...
2140
+ THM_JUMP24: ClassVar[RELOCATION_ARM] = ...
2141
+ THM_JUMP6: ClassVar[RELOCATION_ARM] = ...
2142
+ THM_JUMP8: ClassVar[RELOCATION_ARM] = ...
2143
+ THM_MOVT_ABS: ClassVar[RELOCATION_ARM] = ...
2144
+ THM_MOVT_BREL: ClassVar[RELOCATION_ARM] = ...
2145
+ THM_MOVT_PREL: ClassVar[RELOCATION_ARM] = ...
2146
+ THM_MOVW_ABS_NC: ClassVar[RELOCATION_ARM] = ...
2147
+ THM_MOVW_BREL: ClassVar[RELOCATION_ARM] = ...
2148
+ THM_MOVW_BREL_NC: ClassVar[RELOCATION_ARM] = ...
2149
+ THM_MOVW_PREL_NC: ClassVar[RELOCATION_ARM] = ...
2150
+ THM_PC12: ClassVar[RELOCATION_ARM] = ...
2151
+ THM_PC8: ClassVar[RELOCATION_ARM] = ...
2152
+ THM_RPC22: ClassVar[RELOCATION_ARM] = ...
2153
+ THM_SWI8: ClassVar[RELOCATION_ARM] = ...
2154
+ THM_TLS_CALL: ClassVar[RELOCATION_ARM] = ...
2155
+ THM_TLS_DESCSEQ16: ClassVar[RELOCATION_ARM] = ...
2156
+ THM_TLS_DESCSEQ32: ClassVar[RELOCATION_ARM] = ...
2157
+ THM_XPC22: ClassVar[RELOCATION_ARM] = ...
2158
+ TLS_CALL: ClassVar[RELOCATION_ARM] = ...
2159
+ TLS_DESC: ClassVar[RELOCATION_ARM] = ...
2160
+ TLS_DESCSEQ: ClassVar[RELOCATION_ARM] = ...
2161
+ TLS_DTPMOD32: ClassVar[RELOCATION_ARM] = ...
2162
+ TLS_DTPOFF32: ClassVar[RELOCATION_ARM] = ...
2163
+ TLS_GD32: ClassVar[RELOCATION_ARM] = ...
2164
+ TLS_GOTDESC: ClassVar[RELOCATION_ARM] = ...
2165
+ TLS_IE12GP: ClassVar[RELOCATION_ARM] = ...
2166
+ TLS_IE32: ClassVar[RELOCATION_ARM] = ...
2167
+ TLS_LDM32: ClassVar[RELOCATION_ARM] = ...
2168
+ TLS_LDO12: ClassVar[RELOCATION_ARM] = ...
2169
+ TLS_LDO32: ClassVar[RELOCATION_ARM] = ...
2170
+ TLS_LE12: ClassVar[RELOCATION_ARM] = ...
2171
+ TLS_LE32: ClassVar[RELOCATION_ARM] = ...
2172
+ TLS_TPOFF32: ClassVar[RELOCATION_ARM] = ...
2173
+ V4BX: ClassVar[RELOCATION_ARM] = ...
2174
+ XPC25: ClassVar[RELOCATION_ARM] = ...
2175
+ __name__: str
2176
+ def __init__(self, *args, **kwargs) -> None: ...
2177
+ @staticmethod
2178
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_ARM: ...
2179
+ def __ge__(self, other) -> bool: ...
2180
+ def __gt__(self, other) -> bool: ...
2181
+ def __hash__(self) -> int: ...
2182
+ def __index__(self) -> Any: ...
2183
+ def __int__(self) -> int: ...
2184
+ def __le__(self, other) -> bool: ...
2185
+ def __lt__(self, other) -> bool: ...
2186
+ @property
2187
+ def value(self) -> int: ...
2188
+
2189
+ class RELOCATION_LOONGARCH:
2190
+ LARCH_32: ClassVar[RELOCATION_LOONGARCH] = ...
2191
+ LARCH_32_PCREL: ClassVar[RELOCATION_LOONGARCH] = ...
2192
+ LARCH_64: ClassVar[RELOCATION_LOONGARCH] = ...
2193
+ LARCH_ABS64_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2194
+ LARCH_ABS64_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2195
+ LARCH_ABS_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2196
+ LARCH_ABS_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2197
+ LARCH_ADD16: ClassVar[RELOCATION_LOONGARCH] = ...
2198
+ LARCH_ADD24: ClassVar[RELOCATION_LOONGARCH] = ...
2199
+ LARCH_ADD32: ClassVar[RELOCATION_LOONGARCH] = ...
2200
+ LARCH_ADD64: ClassVar[RELOCATION_LOONGARCH] = ...
2201
+ LARCH_ADD8: ClassVar[RELOCATION_LOONGARCH] = ...
2202
+ LARCH_B16: ClassVar[RELOCATION_LOONGARCH] = ...
2203
+ LARCH_B21: ClassVar[RELOCATION_LOONGARCH] = ...
2204
+ LARCH_B26: ClassVar[RELOCATION_LOONGARCH] = ...
2205
+ LARCH_COPY: ClassVar[RELOCATION_LOONGARCH] = ...
2206
+ LARCH_GNU_VTENTRY: ClassVar[RELOCATION_LOONGARCH] = ...
2207
+ LARCH_GNU_VTINHERIT: ClassVar[RELOCATION_LOONGARCH] = ...
2208
+ LARCH_GOT64_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2209
+ LARCH_GOT64_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2210
+ LARCH_GOT64_PC_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2211
+ LARCH_GOT64_PC_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2212
+ LARCH_GOT_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2213
+ LARCH_GOT_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2214
+ LARCH_GOT_PC_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2215
+ LARCH_GOT_PC_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2216
+ LARCH_IRELATIVE: ClassVar[RELOCATION_LOONGARCH] = ...
2217
+ LARCH_JUMP_SLOT: ClassVar[RELOCATION_LOONGARCH] = ...
2218
+ LARCH_MARK_LA: ClassVar[RELOCATION_LOONGARCH] = ...
2219
+ LARCH_MARK_PCREL: ClassVar[RELOCATION_LOONGARCH] = ...
2220
+ LARCH_NONE: ClassVar[RELOCATION_LOONGARCH] = ...
2221
+ LARCH_PCALA64_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2222
+ LARCH_PCALA64_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2223
+ LARCH_PCALA_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2224
+ LARCH_PCALA_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2225
+ LARCH_RELATIVE: ClassVar[RELOCATION_LOONGARCH] = ...
2226
+ LARCH_RELAX: ClassVar[RELOCATION_LOONGARCH] = ...
2227
+ LARCH_SOP_ADD: ClassVar[RELOCATION_LOONGARCH] = ...
2228
+ LARCH_SOP_AND: ClassVar[RELOCATION_LOONGARCH] = ...
2229
+ LARCH_SOP_ASSERT: ClassVar[RELOCATION_LOONGARCH] = ...
2230
+ LARCH_SOP_IF_ELSE: ClassVar[RELOCATION_LOONGARCH] = ...
2231
+ LARCH_SOP_NOT: ClassVar[RELOCATION_LOONGARCH] = ...
2232
+ LARCH_SOP_POP_32_S_0_10_10_16_S2: ClassVar[RELOCATION_LOONGARCH] = ...
2233
+ LARCH_SOP_POP_32_S_0_5_10_16_S2: ClassVar[RELOCATION_LOONGARCH] = ...
2234
+ LARCH_SOP_POP_32_S_10_12: ClassVar[RELOCATION_LOONGARCH] = ...
2235
+ LARCH_SOP_POP_32_S_10_16: ClassVar[RELOCATION_LOONGARCH] = ...
2236
+ LARCH_SOP_POP_32_S_10_16_S2: ClassVar[RELOCATION_LOONGARCH] = ...
2237
+ LARCH_SOP_POP_32_S_10_5: ClassVar[RELOCATION_LOONGARCH] = ...
2238
+ LARCH_SOP_POP_32_S_5_20: ClassVar[RELOCATION_LOONGARCH] = ...
2239
+ LARCH_SOP_POP_32_U: ClassVar[RELOCATION_LOONGARCH] = ...
2240
+ LARCH_SOP_POP_32_U_10_12: ClassVar[RELOCATION_LOONGARCH] = ...
2241
+ LARCH_SOP_PUSH_ABSOLUTE: ClassVar[RELOCATION_LOONGARCH] = ...
2242
+ LARCH_SOP_PUSH_DUP: ClassVar[RELOCATION_LOONGARCH] = ...
2243
+ LARCH_SOP_PUSH_GPREL: ClassVar[RELOCATION_LOONGARCH] = ...
2244
+ LARCH_SOP_PUSH_PCREL: ClassVar[RELOCATION_LOONGARCH] = ...
2245
+ LARCH_SOP_PUSH_PLT_PCREL: ClassVar[RELOCATION_LOONGARCH] = ...
2246
+ LARCH_SOP_PUSH_TLS_GD: ClassVar[RELOCATION_LOONGARCH] = ...
2247
+ LARCH_SOP_PUSH_TLS_GOT: ClassVar[RELOCATION_LOONGARCH] = ...
2248
+ LARCH_SOP_PUSH_TLS_TPREL: ClassVar[RELOCATION_LOONGARCH] = ...
2249
+ LARCH_SOP_SL: ClassVar[RELOCATION_LOONGARCH] = ...
2250
+ LARCH_SOP_SR: ClassVar[RELOCATION_LOONGARCH] = ...
2251
+ LARCH_SOP_SUB: ClassVar[RELOCATION_LOONGARCH] = ...
2252
+ LARCH_SUB16: ClassVar[RELOCATION_LOONGARCH] = ...
2253
+ LARCH_SUB24: ClassVar[RELOCATION_LOONGARCH] = ...
2254
+ LARCH_SUB32: ClassVar[RELOCATION_LOONGARCH] = ...
2255
+ LARCH_SUB64: ClassVar[RELOCATION_LOONGARCH] = ...
2256
+ LARCH_SUB8: ClassVar[RELOCATION_LOONGARCH] = ...
2257
+ LARCH_TLS_DTPMOD32: ClassVar[RELOCATION_LOONGARCH] = ...
2258
+ LARCH_TLS_DTPMOD64: ClassVar[RELOCATION_LOONGARCH] = ...
2259
+ LARCH_TLS_DTPREL32: ClassVar[RELOCATION_LOONGARCH] = ...
2260
+ LARCH_TLS_DTPREL64: ClassVar[RELOCATION_LOONGARCH] = ...
2261
+ LARCH_TLS_GD_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2262
+ LARCH_TLS_GD_PC_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2263
+ LARCH_TLS_IE64_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2264
+ LARCH_TLS_IE64_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2265
+ LARCH_TLS_IE64_PC_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2266
+ LARCH_TLS_IE64_PC_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2267
+ LARCH_TLS_IE_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2268
+ LARCH_TLS_IE_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2269
+ LARCH_TLS_IE_PC_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2270
+ LARCH_TLS_IE_PC_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2271
+ LARCH_TLS_LD_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2272
+ LARCH_TLS_LD_PC_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2273
+ LARCH_TLS_LE64_HI12: ClassVar[RELOCATION_LOONGARCH] = ...
2274
+ LARCH_TLS_LE64_LO20: ClassVar[RELOCATION_LOONGARCH] = ...
2275
+ LARCH_TLS_LE_HI20: ClassVar[RELOCATION_LOONGARCH] = ...
2276
+ LARCH_TLS_LE_LO12: ClassVar[RELOCATION_LOONGARCH] = ...
2277
+ LARCH_TLS_TPREL32: ClassVar[RELOCATION_LOONGARCH] = ...
2278
+ LARCH_TLS_TPREL64: ClassVar[RELOCATION_LOONGARCH] = ...
2279
+ __name__: str
2280
+ def __init__(self, *args, **kwargs) -> None: ...
2281
+ @staticmethod
2282
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_LOONGARCH: ...
2283
+ def __ge__(self, other) -> bool: ...
2284
+ def __gt__(self, other) -> bool: ...
2285
+ def __hash__(self) -> int: ...
2286
+ def __index__(self) -> Any: ...
2287
+ def __int__(self) -> int: ...
2288
+ def __le__(self, other) -> bool: ...
2289
+ def __lt__(self, other) -> bool: ...
2290
+ @property
2291
+ def value(self) -> int: ...
2292
+
2293
+ class RELOCATION_MIPS:
2294
+ MIPS16_16: ClassVar[RELOCATION_MIPS] = ...
2295
+ MIPS16_26: ClassVar[RELOCATION_MIPS] = ...
2296
+ MIPS16_CALL16: ClassVar[RELOCATION_MIPS] = ...
2297
+ MIPS16_GOT16: ClassVar[RELOCATION_MIPS] = ...
2298
+ MIPS16_GPREL: ClassVar[RELOCATION_MIPS] = ...
2299
+ MIPS16_HI16: ClassVar[RELOCATION_MIPS] = ...
2300
+ MIPS16_LO16: ClassVar[RELOCATION_MIPS] = ...
2301
+ MIPS16_TLS_DTPREL_HI16: ClassVar[RELOCATION_MIPS] = ...
2302
+ MIPS16_TLS_DTPREL_LO16: ClassVar[RELOCATION_MIPS] = ...
2303
+ MIPS16_TLS_GD: ClassVar[RELOCATION_MIPS] = ...
2304
+ MIPS16_TLS_GOTTPREL: ClassVar[RELOCATION_MIPS] = ...
2305
+ MIPS16_TLS_LDM: ClassVar[RELOCATION_MIPS] = ...
2306
+ MIPS16_TLS_TPREL_HI16: ClassVar[RELOCATION_MIPS] = ...
2307
+ MIPS16_TLS_TPREL_LO16: ClassVar[RELOCATION_MIPS] = ...
2308
+ MIPS_26: ClassVar[RELOCATION_MIPS] = ...
2309
+ MIPS_32: ClassVar[RELOCATION_MIPS] = ...
2310
+ MIPS_64: ClassVar[RELOCATION_MIPS] = ...
2311
+ MIPS_ADD_IMMEDIATE: ClassVar[RELOCATION_MIPS] = ...
2312
+ MIPS_CALL16: ClassVar[RELOCATION_MIPS] = ...
2313
+ MIPS_CALL_HI16: ClassVar[RELOCATION_MIPS] = ...
2314
+ MIPS_CALL_LO16: ClassVar[RELOCATION_MIPS] = ...
2315
+ MIPS_COPY: ClassVar[RELOCATION_MIPS] = ...
2316
+ MIPS_DELETE: ClassVar[RELOCATION_MIPS] = ...
2317
+ MIPS_GLOB_DAT: ClassVar[RELOCATION_MIPS] = ...
2318
+ MIPS_GOT16: ClassVar[RELOCATION_MIPS] = ...
2319
+ MIPS_GOT_DISP: ClassVar[RELOCATION_MIPS] = ...
2320
+ MIPS_GOT_HI16: ClassVar[RELOCATION_MIPS] = ...
2321
+ MIPS_GOT_LO16: ClassVar[RELOCATION_MIPS] = ...
2322
+ MIPS_GOT_OFST: ClassVar[RELOCATION_MIPS] = ...
2323
+ MIPS_GOT_PAGE: ClassVar[RELOCATION_MIPS] = ...
2324
+ MIPS_GPREL16: ClassVar[RELOCATION_MIPS] = ...
2325
+ MIPS_GPREL32: ClassVar[RELOCATION_MIPS] = ...
2326
+ MIPS_HI16: ClassVar[RELOCATION_MIPS] = ...
2327
+ MIPS_HIGHER: ClassVar[RELOCATION_MIPS] = ...
2328
+ MIPS_HIGHEST: ClassVar[RELOCATION_MIPS] = ...
2329
+ MIPS_INSERT_A: ClassVar[RELOCATION_MIPS] = ...
2330
+ MIPS_INSERT_B: ClassVar[RELOCATION_MIPS] = ...
2331
+ MIPS_JALR: ClassVar[RELOCATION_MIPS] = ...
2332
+ MIPS_JUMP_SLOT: ClassVar[RELOCATION_MIPS] = ...
2333
+ MIPS_LITERAL: ClassVar[RELOCATION_MIPS] = ...
2334
+ MIPS_LO16: ClassVar[RELOCATION_MIPS] = ...
2335
+ MIPS_NONE: ClassVar[RELOCATION_MIPS] = ...
2336
+ MIPS_PC16: ClassVar[RELOCATION_MIPS] = ...
2337
+ MIPS_PC18_S3: ClassVar[RELOCATION_MIPS] = ...
2338
+ MIPS_PC19_S2: ClassVar[RELOCATION_MIPS] = ...
2339
+ MIPS_PC21_S2: ClassVar[RELOCATION_MIPS] = ...
2340
+ MIPS_PC26_S2: ClassVar[RELOCATION_MIPS] = ...
2341
+ MIPS_PCHI16: ClassVar[RELOCATION_MIPS] = ...
2342
+ MIPS_PCLO16: ClassVar[RELOCATION_MIPS] = ...
2343
+ MIPS_PJUMP: ClassVar[RELOCATION_MIPS] = ...
2344
+ MIPS_REL16: ClassVar[RELOCATION_MIPS] = ...
2345
+ MIPS_REL32: ClassVar[RELOCATION_MIPS] = ...
2346
+ MIPS_RELGOT: ClassVar[RELOCATION_MIPS] = ...
2347
+ MIPS_SCN_DISP: ClassVar[RELOCATION_MIPS] = ...
2348
+ MIPS_SHIFT5: ClassVar[RELOCATION_MIPS] = ...
2349
+ MIPS_SHIFT6: ClassVar[RELOCATION_MIPS] = ...
2350
+ MIPS_SUB: ClassVar[RELOCATION_MIPS] = ...
2351
+ MIPS_TLS_DTPMOD32: ClassVar[RELOCATION_MIPS] = ...
2352
+ MIPS_TLS_DTPMOD64: ClassVar[RELOCATION_MIPS] = ...
2353
+ MIPS_TLS_DTPREL32: ClassVar[RELOCATION_MIPS] = ...
2354
+ MIPS_TLS_DTPREL64: ClassVar[RELOCATION_MIPS] = ...
2355
+ MIPS_TLS_DTPREL_HI16: ClassVar[RELOCATION_MIPS] = ...
2356
+ MIPS_TLS_DTPREL_LO16: ClassVar[RELOCATION_MIPS] = ...
2357
+ MIPS_TLS_GD: ClassVar[RELOCATION_MIPS] = ...
2358
+ MIPS_TLS_GOTTPREL: ClassVar[RELOCATION_MIPS] = ...
2359
+ MIPS_TLS_LDM: ClassVar[RELOCATION_MIPS] = ...
2360
+ MIPS_TLS_TPREL32: ClassVar[RELOCATION_MIPS] = ...
2361
+ MIPS_TLS_TPREL64: ClassVar[RELOCATION_MIPS] = ...
2362
+ MIPS_TLS_TPREL_HI16: ClassVar[RELOCATION_MIPS] = ...
2363
+ MIPS_TLS_TPREL_LO16: ClassVar[RELOCATION_MIPS] = ...
2364
+ MIPS_UNUSED1: ClassVar[RELOCATION_MIPS] = ...
2365
+ MIPS_UNUSED2: ClassVar[RELOCATION_MIPS] = ...
2366
+ MIPS_UNUSED3: ClassVar[RELOCATION_MIPS] = ...
2367
+ MIRCRO_MIPS_26_S1: ClassVar[RELOCATION_MIPS] = ...
2368
+ MIRCRO_MIPS_CALL16: ClassVar[RELOCATION_MIPS] = ...
2369
+ MIRCRO_MIPS_CALL_HI16: ClassVar[RELOCATION_MIPS] = ...
2370
+ MIRCRO_MIPS_CALL_LO16: ClassVar[RELOCATION_MIPS] = ...
2371
+ MIRCRO_MIPS_GOT16: ClassVar[RELOCATION_MIPS] = ...
2372
+ MIRCRO_MIPS_GOT_DISP: ClassVar[RELOCATION_MIPS] = ...
2373
+ MIRCRO_MIPS_GOT_HI16: ClassVar[RELOCATION_MIPS] = ...
2374
+ MIRCRO_MIPS_GOT_LO16: ClassVar[RELOCATION_MIPS] = ...
2375
+ MIRCRO_MIPS_GOT_OFST: ClassVar[RELOCATION_MIPS] = ...
2376
+ MIRCRO_MIPS_GOT_PAGE: ClassVar[RELOCATION_MIPS] = ...
2377
+ MIRCRO_MIPS_GPREL16: ClassVar[RELOCATION_MIPS] = ...
2378
+ MIRCRO_MIPS_GPREL7_S2: ClassVar[RELOCATION_MIPS] = ...
2379
+ MIRCRO_MIPS_HI0_LO16: ClassVar[RELOCATION_MIPS] = ...
2380
+ MIRCRO_MIPS_HI16: ClassVar[RELOCATION_MIPS] = ...
2381
+ MIRCRO_MIPS_HIGHER: ClassVar[RELOCATION_MIPS] = ...
2382
+ MIRCRO_MIPS_HIGHEST: ClassVar[RELOCATION_MIPS] = ...
2383
+ MIRCRO_MIPS_JALR: ClassVar[RELOCATION_MIPS] = ...
2384
+ MIRCRO_MIPS_LITERAL: ClassVar[RELOCATION_MIPS] = ...
2385
+ MIRCRO_MIPS_LO16: ClassVar[RELOCATION_MIPS] = ...
2386
+ MIRCRO_MIPS_PC10_S1: ClassVar[RELOCATION_MIPS] = ...
2387
+ MIRCRO_MIPS_PC16_S1: ClassVar[RELOCATION_MIPS] = ...
2388
+ MIRCRO_MIPS_PC18_S3: ClassVar[RELOCATION_MIPS] = ...
2389
+ MIRCRO_MIPS_PC19_S2: ClassVar[RELOCATION_MIPS] = ...
2390
+ MIRCRO_MIPS_PC21_S2: ClassVar[RELOCATION_MIPS] = ...
2391
+ MIRCRO_MIPS_PC23_S2: ClassVar[RELOCATION_MIPS] = ...
2392
+ MIRCRO_MIPS_PC26_S2: ClassVar[RELOCATION_MIPS] = ...
2393
+ MIRCRO_MIPS_PC7_S1: ClassVar[RELOCATION_MIPS] = ...
2394
+ MIRCRO_MIPS_SCN_DISP: ClassVar[RELOCATION_MIPS] = ...
2395
+ MIRCRO_MIPS_SUB: ClassVar[RELOCATION_MIPS] = ...
2396
+ MIRCRO_MIPS_TLS_DTPREL_HI16: ClassVar[RELOCATION_MIPS] = ...
2397
+ MIRCRO_MIPS_TLS_DTPREL_LO16: ClassVar[RELOCATION_MIPS] = ...
2398
+ MIRCRO_MIPS_TLS_GD: ClassVar[RELOCATION_MIPS] = ...
2399
+ MIRCRO_MIPS_TLS_GOTTPREL: ClassVar[RELOCATION_MIPS] = ...
2400
+ MIRCRO_MIPS_TLS_LDM: ClassVar[RELOCATION_MIPS] = ...
2401
+ MIRCRO_MIPS_TLS_TPREL_HI16: ClassVar[RELOCATION_MIPS] = ...
2402
+ MIRCRO_MIPS_TLS_TPREL_LO16: ClassVar[RELOCATION_MIPS] = ...
2403
+ __name__: str
2404
+ def __init__(self, *args, **kwargs) -> None: ...
2405
+ @staticmethod
2406
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_MIPS: ...
2407
+ def __ge__(self, other) -> bool: ...
2408
+ def __gt__(self, other) -> bool: ...
2409
+ def __hash__(self) -> int: ...
2410
+ def __index__(self) -> Any: ...
2411
+ def __int__(self) -> int: ...
2412
+ def __le__(self, other) -> bool: ...
2413
+ def __lt__(self, other) -> bool: ...
2414
+ @property
2415
+ def value(self) -> int: ...
2416
+
2417
+ class RELOCATION_PPC:
2418
+ ADDR14: ClassVar[RELOCATION_PPC] = ...
2419
+ ADDR14_BRNTAKEN: ClassVar[RELOCATION_PPC] = ...
2420
+ ADDR14_BRTAKEN: ClassVar[RELOCATION_PPC] = ...
2421
+ ADDR16: ClassVar[RELOCATION_PPC] = ...
2422
+ ADDR16_HA: ClassVar[RELOCATION_PPC] = ...
2423
+ ADDR16_HI: ClassVar[RELOCATION_PPC] = ...
2424
+ ADDR16_LO: ClassVar[RELOCATION_PPC] = ...
2425
+ ADDR24: ClassVar[RELOCATION_PPC] = ...
2426
+ ADDR32: ClassVar[RELOCATION_PPC] = ...
2427
+ DTPMOD32: ClassVar[RELOCATION_PPC] = ...
2428
+ DTPREL16: ClassVar[RELOCATION_PPC] = ...
2429
+ DTPREL16_HA: ClassVar[RELOCATION_PPC] = ...
2430
+ DTPREL16_HI: ClassVar[RELOCATION_PPC] = ...
2431
+ DTPREL16_LO: ClassVar[RELOCATION_PPC] = ...
2432
+ DTPREL32: ClassVar[RELOCATION_PPC] = ...
2433
+ GOT16: ClassVar[RELOCATION_PPC] = ...
2434
+ GOT16_HA: ClassVar[RELOCATION_PPC] = ...
2435
+ GOT16_HI: ClassVar[RELOCATION_PPC] = ...
2436
+ GOT16_LO: ClassVar[RELOCATION_PPC] = ...
2437
+ GOT_DTPREL16: ClassVar[RELOCATION_PPC] = ...
2438
+ GOT_DTPREL16_HA: ClassVar[RELOCATION_PPC] = ...
2439
+ GOT_DTPREL16_HI: ClassVar[RELOCATION_PPC] = ...
2440
+ GOT_DTPREL16_LO: ClassVar[RELOCATION_PPC] = ...
2441
+ GOT_TLSGD16: ClassVar[RELOCATION_PPC] = ...
2442
+ GOT_TLSGD16_HA: ClassVar[RELOCATION_PPC] = ...
2443
+ GOT_TLSGD16_HI: ClassVar[RELOCATION_PPC] = ...
2444
+ GOT_TLSGD16_LO: ClassVar[RELOCATION_PPC] = ...
2445
+ GOT_TLSLD16: ClassVar[RELOCATION_PPC] = ...
2446
+ GOT_TLSLD16_HA: ClassVar[RELOCATION_PPC] = ...
2447
+ GOT_TLSLD16_HI: ClassVar[RELOCATION_PPC] = ...
2448
+ GOT_TLSLD16_LO: ClassVar[RELOCATION_PPC] = ...
2449
+ GOT_TPREL16: ClassVar[RELOCATION_PPC] = ...
2450
+ GOT_TPREL16_HA: ClassVar[RELOCATION_PPC] = ...
2451
+ GOT_TPREL16_HI: ClassVar[RELOCATION_PPC] = ...
2452
+ GOT_TPREL16_LO: ClassVar[RELOCATION_PPC] = ...
2453
+ JMP_SLOT: ClassVar[RELOCATION_PPC] = ...
2454
+ LOCAL24PC: ClassVar[RELOCATION_PPC] = ...
2455
+ NONE: ClassVar[RELOCATION_PPC] = ...
2456
+ PLTREL24: ClassVar[RELOCATION_PPC] = ...
2457
+ REL14: ClassVar[RELOCATION_PPC] = ...
2458
+ REL14_BRNTAKEN: ClassVar[RELOCATION_PPC] = ...
2459
+ REL14_BRTAKEN: ClassVar[RELOCATION_PPC] = ...
2460
+ REL16: ClassVar[RELOCATION_PPC] = ...
2461
+ REL16_HA: ClassVar[RELOCATION_PPC] = ...
2462
+ REL16_HI: ClassVar[RELOCATION_PPC] = ...
2463
+ REL16_LO: ClassVar[RELOCATION_PPC] = ...
2464
+ REL24: ClassVar[RELOCATION_PPC] = ...
2465
+ REL32: ClassVar[RELOCATION_PPC] = ...
2466
+ RELATIVE: ClassVar[RELOCATION_PPC] = ...
2467
+ TLS: ClassVar[RELOCATION_PPC] = ...
2468
+ TLSGD: ClassVar[RELOCATION_PPC] = ...
2469
+ TLSLD: ClassVar[RELOCATION_PPC] = ...
2470
+ TPREL16: ClassVar[RELOCATION_PPC] = ...
2471
+ TPREL16_HA: ClassVar[RELOCATION_PPC] = ...
2472
+ TPREL16_HI: ClassVar[RELOCATION_PPC] = ...
2473
+ TPREL16_LO: ClassVar[RELOCATION_PPC] = ...
2474
+ TPREL32: ClassVar[RELOCATION_PPC] = ...
2475
+ __name__: str
2476
+ def __init__(self, *args, **kwargs) -> None: ...
2477
+ @staticmethod
2478
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_PPC: ...
2479
+ def __ge__(self, other) -> bool: ...
2480
+ def __gt__(self, other) -> bool: ...
2481
+ def __hash__(self) -> int: ...
2482
+ def __index__(self) -> Any: ...
2483
+ def __int__(self) -> int: ...
2484
+ def __le__(self, other) -> bool: ...
2485
+ def __lt__(self, other) -> bool: ...
2486
+ @property
2487
+ def value(self) -> int: ...
2488
+
2489
+ class RELOCATION_PPC64:
2490
+ ADDR14: ClassVar[RELOCATION_PPC64] = ...
2491
+ ADDR14_BRNTAKEN: ClassVar[RELOCATION_PPC64] = ...
2492
+ ADDR14_BRTAKEN: ClassVar[RELOCATION_PPC64] = ...
2493
+ ADDR16: ClassVar[RELOCATION_PPC64] = ...
2494
+ ADDR16_DS: ClassVar[RELOCATION_PPC64] = ...
2495
+ ADDR16_HA: ClassVar[RELOCATION_PPC64] = ...
2496
+ ADDR16_HI: ClassVar[RELOCATION_PPC64] = ...
2497
+ ADDR16_HIGHER: ClassVar[RELOCATION_PPC64] = ...
2498
+ ADDR16_HIGHERA: ClassVar[RELOCATION_PPC64] = ...
2499
+ ADDR16_HIGHEST: ClassVar[RELOCATION_PPC64] = ...
2500
+ ADDR16_HIGHESTA: ClassVar[RELOCATION_PPC64] = ...
2501
+ ADDR16_LO: ClassVar[RELOCATION_PPC64] = ...
2502
+ ADDR16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2503
+ ADDR24: ClassVar[RELOCATION_PPC64] = ...
2504
+ ADDR32: ClassVar[RELOCATION_PPC64] = ...
2505
+ ADDR64: ClassVar[RELOCATION_PPC64] = ...
2506
+ DTPMOD64: ClassVar[RELOCATION_PPC64] = ...
2507
+ DTPREL16: ClassVar[RELOCATION_PPC64] = ...
2508
+ DTPREL16_DS: ClassVar[RELOCATION_PPC64] = ...
2509
+ DTPREL16_HA: ClassVar[RELOCATION_PPC64] = ...
2510
+ DTPREL16_HI: ClassVar[RELOCATION_PPC64] = ...
2511
+ DTPREL16_HIGHER: ClassVar[RELOCATION_PPC64] = ...
2512
+ DTPREL16_HIGHERA: ClassVar[RELOCATION_PPC64] = ...
2513
+ DTPREL16_HIGHEST: ClassVar[RELOCATION_PPC64] = ...
2514
+ DTPREL16_HIGHESTA: ClassVar[RELOCATION_PPC64] = ...
2515
+ DTPREL16_LO: ClassVar[RELOCATION_PPC64] = ...
2516
+ DTPREL16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2517
+ DTPREL64: ClassVar[RELOCATION_PPC64] = ...
2518
+ GOT16: ClassVar[RELOCATION_PPC64] = ...
2519
+ GOT16_DS: ClassVar[RELOCATION_PPC64] = ...
2520
+ GOT16_HA: ClassVar[RELOCATION_PPC64] = ...
2521
+ GOT16_HI: ClassVar[RELOCATION_PPC64] = ...
2522
+ GOT16_LO: ClassVar[RELOCATION_PPC64] = ...
2523
+ GOT16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2524
+ GOT_DTPREL16_DS: ClassVar[RELOCATION_PPC64] = ...
2525
+ GOT_DTPREL16_HA: ClassVar[RELOCATION_PPC64] = ...
2526
+ GOT_DTPREL16_HI: ClassVar[RELOCATION_PPC64] = ...
2527
+ GOT_DTPREL16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2528
+ GOT_TLSGD16: ClassVar[RELOCATION_PPC64] = ...
2529
+ GOT_TLSGD16_HA: ClassVar[RELOCATION_PPC64] = ...
2530
+ GOT_TLSGD16_HI: ClassVar[RELOCATION_PPC64] = ...
2531
+ GOT_TLSGD16_LO: ClassVar[RELOCATION_PPC64] = ...
2532
+ GOT_TLSLD16: ClassVar[RELOCATION_PPC64] = ...
2533
+ GOT_TLSLD16_HA: ClassVar[RELOCATION_PPC64] = ...
2534
+ GOT_TLSLD16_HI: ClassVar[RELOCATION_PPC64] = ...
2535
+ GOT_TLSLD16_LO: ClassVar[RELOCATION_PPC64] = ...
2536
+ GOT_TPREL16_DS: ClassVar[RELOCATION_PPC64] = ...
2537
+ GOT_TPREL16_HA: ClassVar[RELOCATION_PPC64] = ...
2538
+ GOT_TPREL16_HI: ClassVar[RELOCATION_PPC64] = ...
2539
+ GOT_TPREL16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2540
+ JMP_SLOT: ClassVar[RELOCATION_PPC64] = ...
2541
+ NONE: ClassVar[RELOCATION_PPC64] = ...
2542
+ REL14: ClassVar[RELOCATION_PPC64] = ...
2543
+ REL14_BRNTAKEN: ClassVar[RELOCATION_PPC64] = ...
2544
+ REL14_BRTAKEN: ClassVar[RELOCATION_PPC64] = ...
2545
+ REL16: ClassVar[RELOCATION_PPC64] = ...
2546
+ REL16_HA: ClassVar[RELOCATION_PPC64] = ...
2547
+ REL16_HI: ClassVar[RELOCATION_PPC64] = ...
2548
+ REL16_LO: ClassVar[RELOCATION_PPC64] = ...
2549
+ REL24: ClassVar[RELOCATION_PPC64] = ...
2550
+ REL32: ClassVar[RELOCATION_PPC64] = ...
2551
+ REL64: ClassVar[RELOCATION_PPC64] = ...
2552
+ RELATIVE: ClassVar[RELOCATION_PPC64] = ...
2553
+ TLS: ClassVar[RELOCATION_PPC64] = ...
2554
+ TLSGD: ClassVar[RELOCATION_PPC64] = ...
2555
+ TLSLD: ClassVar[RELOCATION_PPC64] = ...
2556
+ TOC: ClassVar[RELOCATION_PPC64] = ...
2557
+ TOC16: ClassVar[RELOCATION_PPC64] = ...
2558
+ TOC16_DS: ClassVar[RELOCATION_PPC64] = ...
2559
+ TOC16_HA: ClassVar[RELOCATION_PPC64] = ...
2560
+ TOC16_HI: ClassVar[RELOCATION_PPC64] = ...
2561
+ TOC16_LO: ClassVar[RELOCATION_PPC64] = ...
2562
+ TOC16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2563
+ TPREL16: ClassVar[RELOCATION_PPC64] = ...
2564
+ TPREL16_DS: ClassVar[RELOCATION_PPC64] = ...
2565
+ TPREL16_HA: ClassVar[RELOCATION_PPC64] = ...
2566
+ TPREL16_HI: ClassVar[RELOCATION_PPC64] = ...
2567
+ TPREL16_HIGHER: ClassVar[RELOCATION_PPC64] = ...
2568
+ TPREL16_HIGHERA: ClassVar[RELOCATION_PPC64] = ...
2569
+ TPREL16_HIGHEST: ClassVar[RELOCATION_PPC64] = ...
2570
+ TPREL16_HIGHESTA: ClassVar[RELOCATION_PPC64] = ...
2571
+ TPREL16_LO: ClassVar[RELOCATION_PPC64] = ...
2572
+ TPREL16_LO_DS: ClassVar[RELOCATION_PPC64] = ...
2573
+ TPREL64: ClassVar[RELOCATION_PPC64] = ...
2574
+ __name__: str
2575
+ def __init__(self, *args, **kwargs) -> None: ...
2576
+ @staticmethod
2577
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_PPC64: ...
2578
+ def __ge__(self, other) -> bool: ...
2579
+ def __gt__(self, other) -> bool: ...
2580
+ def __hash__(self) -> int: ...
2581
+ def __index__(self) -> Any: ...
2582
+ def __int__(self) -> int: ...
2583
+ def __le__(self, other) -> bool: ...
2584
+ def __lt__(self, other) -> bool: ...
2585
+ @property
2586
+ def value(self) -> int: ...
2587
+
2588
+ class RELOCATION_PURPOSES:
2589
+ DYNAMIC: ClassVar[RELOCATION_PURPOSES] = ...
2590
+ NONE: ClassVar[RELOCATION_PURPOSES] = ...
2591
+ OBJECT: ClassVar[RELOCATION_PURPOSES] = ...
2592
+ PLTGOT: ClassVar[RELOCATION_PURPOSES] = ...
2593
+ __name__: str
2594
+ def __init__(self, *args, **kwargs) -> None: ...
2595
+ @staticmethod
2596
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_PURPOSES: ...
2597
+ def __ge__(self, other) -> bool: ...
2598
+ def __gt__(self, other) -> bool: ...
2599
+ def __hash__(self) -> int: ...
2600
+ def __index__(self) -> Any: ...
2601
+ def __int__(self) -> int: ...
2602
+ def __le__(self, other) -> bool: ...
2603
+ def __lt__(self, other) -> bool: ...
2604
+ @property
2605
+ def value(self) -> int: ...
2606
+
2607
+ class RELOCATION_X86_64:
2608
+ COPY: ClassVar[RELOCATION_X86_64] = ...
2609
+ DTPMOD64: ClassVar[RELOCATION_X86_64] = ...
2610
+ DTPOFF32: ClassVar[RELOCATION_X86_64] = ...
2611
+ DTPOFF64: ClassVar[RELOCATION_X86_64] = ...
2612
+ GLOB_DAT: ClassVar[RELOCATION_X86_64] = ...
2613
+ GOT32: ClassVar[RELOCATION_X86_64] = ...
2614
+ GOT64: ClassVar[RELOCATION_X86_64] = ...
2615
+ GOTOFF64: ClassVar[RELOCATION_X86_64] = ...
2616
+ GOTPC32: ClassVar[RELOCATION_X86_64] = ...
2617
+ GOTPC32_TLSDESC: ClassVar[RELOCATION_X86_64] = ...
2618
+ GOTPC64: ClassVar[RELOCATION_X86_64] = ...
2619
+ GOTPCREL: ClassVar[RELOCATION_X86_64] = ...
2620
+ GOTPCREL64: ClassVar[RELOCATION_X86_64] = ...
2621
+ GOTPCRELX: ClassVar[RELOCATION_X86_64] = ...
2622
+ GOTPLT64: ClassVar[RELOCATION_X86_64] = ...
2623
+ GOTTPOFF: ClassVar[RELOCATION_X86_64] = ...
2624
+ IRELATIVE: ClassVar[RELOCATION_X86_64] = ...
2625
+ JUMP_SLOT: ClassVar[RELOCATION_X86_64] = ...
2626
+ NONE: ClassVar[RELOCATION_X86_64] = ...
2627
+ PC16: ClassVar[RELOCATION_X86_64] = ...
2628
+ PC32: ClassVar[RELOCATION_X86_64] = ...
2629
+ PC32_BND: ClassVar[RELOCATION_X86_64] = ...
2630
+ PC64: ClassVar[RELOCATION_X86_64] = ...
2631
+ PC8: ClassVar[RELOCATION_X86_64] = ...
2632
+ PLT32: ClassVar[RELOCATION_X86_64] = ...
2633
+ PLT32_BND: ClassVar[RELOCATION_X86_64] = ...
2634
+ PLTOFF64: ClassVar[RELOCATION_X86_64] = ...
2635
+ R16: ClassVar[RELOCATION_X86_64] = ...
2636
+ R32: ClassVar[RELOCATION_X86_64] = ...
2637
+ R32S: ClassVar[RELOCATION_X86_64] = ...
2638
+ R64: ClassVar[RELOCATION_X86_64] = ...
2639
+ R8: ClassVar[RELOCATION_X86_64] = ...
2640
+ RELATIVE: ClassVar[RELOCATION_X86_64] = ...
2641
+ RELATIVE64: ClassVar[RELOCATION_X86_64] = ...
2642
+ REX_GOTPCRELX: ClassVar[RELOCATION_X86_64] = ...
2643
+ SIZE32: ClassVar[RELOCATION_X86_64] = ...
2644
+ SIZE64: ClassVar[RELOCATION_X86_64] = ...
2645
+ TLSDESC: ClassVar[RELOCATION_X86_64] = ...
2646
+ TLSDESC_CALL: ClassVar[RELOCATION_X86_64] = ...
2647
+ TLSGD: ClassVar[RELOCATION_X86_64] = ...
2648
+ TLSLD: ClassVar[RELOCATION_X86_64] = ...
2649
+ TPOFF32: ClassVar[RELOCATION_X86_64] = ...
2650
+ TPOFF64: ClassVar[RELOCATION_X86_64] = ...
2651
+ __name__: str
2652
+ def __init__(self, *args, **kwargs) -> None: ...
2653
+ @staticmethod
2654
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_X86_64: ...
2655
+ def __ge__(self, other) -> bool: ...
2656
+ def __gt__(self, other) -> bool: ...
2657
+ def __hash__(self) -> int: ...
2658
+ def __index__(self) -> Any: ...
2659
+ def __int__(self) -> int: ...
2660
+ def __le__(self, other) -> bool: ...
2661
+ def __lt__(self, other) -> bool: ...
2662
+ @property
2663
+ def value(self) -> int: ...
2664
+
2665
+ class RELOCATION_i386:
2666
+ COPY: ClassVar[RELOCATION_i386] = ...
2667
+ GLOB_DAT: ClassVar[RELOCATION_i386] = ...
2668
+ GOT32: ClassVar[RELOCATION_i386] = ...
2669
+ GOTOFF: ClassVar[RELOCATION_i386] = ...
2670
+ GOTPC: ClassVar[RELOCATION_i386] = ...
2671
+ IRELATIVE: ClassVar[RELOCATION_i386] = ...
2672
+ JUMP_SLOT: ClassVar[RELOCATION_i386] = ...
2673
+ NONE: ClassVar[RELOCATION_i386] = ...
2674
+ NUM: ClassVar[RELOCATION_i386] = ...
2675
+ PC16: ClassVar[RELOCATION_i386] = ...
2676
+ PC32: ClassVar[RELOCATION_i386] = ...
2677
+ PC8: ClassVar[RELOCATION_i386] = ...
2678
+ PLT32: ClassVar[RELOCATION_i386] = ...
2679
+ R16: ClassVar[RELOCATION_i386] = ...
2680
+ R32: ClassVar[RELOCATION_i386] = ...
2681
+ R32PLT: ClassVar[RELOCATION_i386] = ...
2682
+ R8: ClassVar[RELOCATION_i386] = ...
2683
+ RELATIVE: ClassVar[RELOCATION_i386] = ...
2684
+ TLS_DESC: ClassVar[RELOCATION_i386] = ...
2685
+ TLS_DESC_CALL: ClassVar[RELOCATION_i386] = ...
2686
+ TLS_DTPMOD32: ClassVar[RELOCATION_i386] = ...
2687
+ TLS_DTPOFF32: ClassVar[RELOCATION_i386] = ...
2688
+ TLS_GD: ClassVar[RELOCATION_i386] = ...
2689
+ TLS_GD_32: ClassVar[RELOCATION_i386] = ...
2690
+ TLS_GD_CALL: ClassVar[RELOCATION_i386] = ...
2691
+ TLS_GD_POP: ClassVar[RELOCATION_i386] = ...
2692
+ TLS_GD_PUSH: ClassVar[RELOCATION_i386] = ...
2693
+ TLS_GOTDESC: ClassVar[RELOCATION_i386] = ...
2694
+ TLS_GOTIE: ClassVar[RELOCATION_i386] = ...
2695
+ TLS_IE: ClassVar[RELOCATION_i386] = ...
2696
+ TLS_IE_32: ClassVar[RELOCATION_i386] = ...
2697
+ TLS_LDM: ClassVar[RELOCATION_i386] = ...
2698
+ TLS_LDM_32: ClassVar[RELOCATION_i386] = ...
2699
+ TLS_LDM_CALL: ClassVar[RELOCATION_i386] = ...
2700
+ TLS_LDM_POP: ClassVar[RELOCATION_i386] = ...
2701
+ TLS_LDM_PUSH: ClassVar[RELOCATION_i386] = ...
2702
+ TLS_LDO_32: ClassVar[RELOCATION_i386] = ...
2703
+ TLS_LE: ClassVar[RELOCATION_i386] = ...
2704
+ TLS_LE_32: ClassVar[RELOCATION_i386] = ...
2705
+ TLS_TPOFF: ClassVar[RELOCATION_i386] = ...
2706
+ TLS_TPOFF32: ClassVar[RELOCATION_i386] = ...
2707
+ __name__: str
2708
+ def __init__(self, *args, **kwargs) -> None: ...
2709
+ @staticmethod
2710
+ def from_value(arg: int, /) -> lief.ELF.RELOCATION_i386: ...
2711
+ def __ge__(self, other) -> bool: ...
2712
+ def __gt__(self, other) -> bool: ...
2713
+ def __hash__(self) -> int: ...
2714
+ def __index__(self) -> Any: ...
2715
+ def __int__(self) -> int: ...
2716
+ def __le__(self, other) -> bool: ...
2717
+ def __lt__(self, other) -> bool: ...
2718
+ @property
2719
+ def value(self) -> int: ...
2720
+
2721
+ class Relocation(lief.Relocation):
2722
+ addend: int
2723
+ info: int
2724
+ purpose: lief.ELF.RELOCATION_PURPOSES
2725
+ symbol: lief.ELF.Symbol
2726
+ type: int
2727
+ @overload
2728
+ def __init__(self) -> None: ...
2729
+ @overload
2730
+ def __init__(self, arch: lief.ELF.ARCH) -> None: ...
2731
+ @overload
2732
+ def __init__(self, address: int, type: int = ..., addend: int = ..., is_rela: bool = ...) -> None: ...
2733
+ @property
2734
+ def has_section(self) -> bool: ...
2735
+ @property
2736
+ def has_symbol(self) -> bool: ...
2737
+ @property
2738
+ def is_rel(self) -> bool: ...
2739
+ @property
2740
+ def is_rela(self) -> bool: ...
2741
+ @property
2742
+ def section(self) -> lief.ELF.Section: ...
2743
+ @property
2744
+ def symbol_table(self) -> lief.ELF.Section: ...
2745
+
2746
+ class SECTION_FLAGS:
2747
+ ALLOC: ClassVar[SECTION_FLAGS] = ...
2748
+ EXECINSTR: ClassVar[SECTION_FLAGS] = ...
2749
+ GROUP: ClassVar[SECTION_FLAGS] = ...
2750
+ HEX_GPREL: ClassVar[SECTION_FLAGS] = ...
2751
+ INFO_LINK: ClassVar[SECTION_FLAGS] = ...
2752
+ LINK_ORDER: ClassVar[SECTION_FLAGS] = ...
2753
+ MASKOS: ClassVar[SECTION_FLAGS] = ...
2754
+ MASKPROC: ClassVar[SECTION_FLAGS] = ...
2755
+ MERGE: ClassVar[SECTION_FLAGS] = ...
2756
+ MIPS_STRING: ClassVar[SECTION_FLAGS] = ...
2757
+ NONE: ClassVar[SECTION_FLAGS] = ...
2758
+ OS_NONCONFORMING: ClassVar[SECTION_FLAGS] = ...
2759
+ SHF_CP_SECTION: ClassVar[SECTION_FLAGS] = ...
2760
+ STRINGS: ClassVar[SECTION_FLAGS] = ...
2761
+ TLS: ClassVar[SECTION_FLAGS] = ...
2762
+ WRITE: ClassVar[SECTION_FLAGS] = ...
2763
+ XCORE_SHF_CP_SECTION: ClassVar[SECTION_FLAGS] = ...
2764
+ __name__: str
2765
+ def __init__(self, *args, **kwargs) -> None: ...
2766
+ @staticmethod
2767
+ def from_value(arg: int, /) -> lief.ELF.SECTION_FLAGS: ...
2768
+ def __abs__(self) -> Any: ...
2769
+ def __add__(self, other) -> Any: ...
2770
+ @overload
2771
+ def __and__(self, arg: int, /) -> int: ...
2772
+ @overload
2773
+ def __and__(self, arg: lief.ELF.SECTION_FLAGS, /) -> int: ...
2774
+ def __floordiv__(self, other) -> Any: ...
2775
+ def __ge__(self, arg: int, /) -> bool: ...
2776
+ def __gt__(self, arg: int, /) -> bool: ...
2777
+ def __hash__(self) -> int: ...
2778
+ def __index__(self) -> Any: ...
2779
+ def __int__(self) -> int: ...
2780
+ def __invert__(self) -> int: ...
2781
+ def __le__(self, arg: int, /) -> bool: ...
2782
+ def __lshift__(self, other) -> Any: ...
2783
+ def __lt__(self, arg: int, /) -> bool: ...
2784
+ def __mul__(self, other) -> Any: ...
2785
+ def __neg__(self) -> Any: ...
2786
+ @overload
2787
+ def __or__(self, arg: int, /) -> int: ...
2788
+ @overload
2789
+ def __or__(self, arg: lief.ELF.SECTION_FLAGS, /) -> lief.ELF.SECTION_FLAGS: ...
2790
+ def __radd__(self, other) -> Any: ...
2791
+ def __rand__(self, arg: int, /) -> int: ...
2792
+ def __rfloordiv__(self, other) -> Any: ...
2793
+ def __rlshift__(self, other) -> Any: ...
2794
+ def __rmul__(self, other) -> Any: ...
2795
+ def __ror__(self, arg: int, /) -> int: ...
2796
+ def __rrshift__(self, other) -> Any: ...
2797
+ def __rshift__(self, other) -> Any: ...
2798
+ def __rsub__(self, other) -> Any: ...
2799
+ def __rxor__(self, arg: int, /) -> int: ...
2800
+ def __sub__(self, other) -> Any: ...
2801
+ @overload
2802
+ def __xor__(self, arg: int, /) -> int: ...
2803
+ @overload
2804
+ def __xor__(self, arg: lief.ELF.SECTION_FLAGS, /) -> int: ...
2805
+ @property
2806
+ def value(self) -> int: ...
2807
+
2808
+ class SECTION_TYPES:
2809
+ ANDROID_REL: ClassVar[SECTION_TYPES] = ...
2810
+ ANDROID_RELA: ClassVar[SECTION_TYPES] = ...
2811
+ ARM_ATTRIBUTES: ClassVar[SECTION_TYPES] = ...
2812
+ ARM_DEBUGOVERLAY: ClassVar[SECTION_TYPES] = ...
2813
+ ARM_EXIDX: ClassVar[SECTION_TYPES] = ...
2814
+ ARM_OVERLAYSECTION: ClassVar[SECTION_TYPES] = ...
2815
+ ARM_PREEMPTMAP: ClassVar[SECTION_TYPES] = ...
2816
+ DYNAMIC: ClassVar[SECTION_TYPES] = ...
2817
+ DYNSYM: ClassVar[SECTION_TYPES] = ...
2818
+ FINI_ARRAY: ClassVar[SECTION_TYPES] = ...
2819
+ GNU_ATTRIBUTES: ClassVar[SECTION_TYPES] = ...
2820
+ GNU_HASH: ClassVar[SECTION_TYPES] = ...
2821
+ GNU_VERDEF: ClassVar[SECTION_TYPES] = ...
2822
+ GNU_VERNEED: ClassVar[SECTION_TYPES] = ...
2823
+ GROUP: ClassVar[SECTION_TYPES] = ...
2824
+ HASH: ClassVar[SECTION_TYPES] = ...
2825
+ HIOS: ClassVar[SECTION_TYPES] = ...
2826
+ HIPROC: ClassVar[SECTION_TYPES] = ...
2827
+ HIUSER: ClassVar[SECTION_TYPES] = ...
2828
+ INIT_ARRAY: ClassVar[SECTION_TYPES] = ...
2829
+ LLVM_ADDRSIG: ClassVar[SECTION_TYPES] = ...
2830
+ LOOS: ClassVar[SECTION_TYPES] = ...
2831
+ LOPROC: ClassVar[SECTION_TYPES] = ...
2832
+ LOUSER: ClassVar[SECTION_TYPES] = ...
2833
+ NOBITS: ClassVar[SECTION_TYPES] = ...
2834
+ NOTE: ClassVar[SECTION_TYPES] = ...
2835
+ NULL: ClassVar[SECTION_TYPES] = ...
2836
+ PREINIT_ARRAY: ClassVar[SECTION_TYPES] = ...
2837
+ PROGBITS: ClassVar[SECTION_TYPES] = ...
2838
+ REL: ClassVar[SECTION_TYPES] = ...
2839
+ RELA: ClassVar[SECTION_TYPES] = ...
2840
+ RELR: ClassVar[SECTION_TYPES] = ...
2841
+ SHLIB: ClassVar[SECTION_TYPES] = ...
2842
+ STRTAB: ClassVar[SECTION_TYPES] = ...
2843
+ SYMTAB: ClassVar[SECTION_TYPES] = ...
2844
+ SYMTAB_SHNDX: ClassVar[SECTION_TYPES] = ...
2845
+ X86_64_UNWIND: ClassVar[SECTION_TYPES] = ...
2846
+ __name__: str
2847
+ def __init__(self, *args, **kwargs) -> None: ...
2848
+ @staticmethod
2849
+ def from_value(arg: int, /) -> lief.ELF.SECTION_TYPES: ...
2850
+ def __ge__(self, other) -> bool: ...
2851
+ def __gt__(self, other) -> bool: ...
2852
+ def __hash__(self) -> int: ...
2853
+ def __index__(self) -> Any: ...
2854
+ def __int__(self) -> int: ...
2855
+ def __le__(self, other) -> bool: ...
2856
+ def __lt__(self, other) -> bool: ...
2857
+ @property
2858
+ def value(self) -> int: ...
2859
+
2860
+ class SEGMENT_FLAGS:
2861
+ NONE: ClassVar[SEGMENT_FLAGS] = ...
2862
+ R: ClassVar[SEGMENT_FLAGS] = ...
2863
+ W: ClassVar[SEGMENT_FLAGS] = ...
2864
+ X: ClassVar[SEGMENT_FLAGS] = ...
2865
+ __name__: str
2866
+ def __init__(self, *args, **kwargs) -> None: ...
2867
+ @staticmethod
2868
+ def from_value(arg: int, /) -> lief.ELF.SEGMENT_FLAGS: ...
2869
+ def __abs__(self) -> Any: ...
2870
+ def __add__(self, other) -> Any: ...
2871
+ @overload
2872
+ def __and__(self, arg: int, /) -> int: ...
2873
+ @overload
2874
+ def __and__(self, arg: lief.ELF.SEGMENT_FLAGS, /) -> int: ...
2875
+ def __floordiv__(self, other) -> Any: ...
2876
+ def __ge__(self, arg: int, /) -> bool: ...
2877
+ def __gt__(self, arg: int, /) -> bool: ...
2878
+ def __hash__(self) -> int: ...
2879
+ def __index__(self) -> Any: ...
2880
+ def __int__(self) -> int: ...
2881
+ def __invert__(self) -> int: ...
2882
+ def __le__(self, arg: int, /) -> bool: ...
2883
+ def __lshift__(self, other) -> Any: ...
2884
+ def __lt__(self, arg: int, /) -> bool: ...
2885
+ def __mul__(self, other) -> Any: ...
2886
+ def __neg__(self) -> Any: ...
2887
+ @overload
2888
+ def __or__(self, arg: int, /) -> int: ...
2889
+ @overload
2890
+ def __or__(self, arg: lief.ELF.SEGMENT_FLAGS, /) -> lief.ELF.SEGMENT_FLAGS: ...
2891
+ def __radd__(self, other) -> Any: ...
2892
+ def __rand__(self, arg: int, /) -> int: ...
2893
+ def __rfloordiv__(self, other) -> Any: ...
2894
+ def __rlshift__(self, other) -> Any: ...
2895
+ def __rmul__(self, other) -> Any: ...
2896
+ def __ror__(self, arg: int, /) -> int: ...
2897
+ def __rrshift__(self, other) -> Any: ...
2898
+ def __rshift__(self, other) -> Any: ...
2899
+ def __rsub__(self, other) -> Any: ...
2900
+ def __rxor__(self, arg: int, /) -> int: ...
2901
+ def __sub__(self, other) -> Any: ...
2902
+ @overload
2903
+ def __xor__(self, arg: int, /) -> int: ...
2904
+ @overload
2905
+ def __xor__(self, arg: lief.ELF.SEGMENT_FLAGS, /) -> int: ...
2906
+ @property
2907
+ def value(self) -> int: ...
2908
+
2909
+ class SEGMENT_TYPES:
2910
+ ARM_ARCHEXT: ClassVar[SEGMENT_TYPES] = ...
2911
+ ARM_UNWIND: ClassVar[SEGMENT_TYPES] = ...
2912
+ DYNAMIC: ClassVar[SEGMENT_TYPES] = ...
2913
+ GNU_EH_FRAME: ClassVar[SEGMENT_TYPES] = ...
2914
+ GNU_PROPERTY: ClassVar[SEGMENT_TYPES] = ...
2915
+ GNU_RELRO: ClassVar[SEGMENT_TYPES] = ...
2916
+ GNU_STACK: ClassVar[SEGMENT_TYPES] = ...
2917
+ INTERP: ClassVar[SEGMENT_TYPES] = ...
2918
+ LOAD: ClassVar[SEGMENT_TYPES] = ...
2919
+ NOTE: ClassVar[SEGMENT_TYPES] = ...
2920
+ NULL: ClassVar[SEGMENT_TYPES] = ...
2921
+ PHDR: ClassVar[SEGMENT_TYPES] = ...
2922
+ SHLIB: ClassVar[SEGMENT_TYPES] = ...
2923
+ TLS: ClassVar[SEGMENT_TYPES] = ...
2924
+ UNWIND: ClassVar[SEGMENT_TYPES] = ...
2925
+ __name__: str
2926
+ def __init__(self, *args, **kwargs) -> None: ...
2927
+ @staticmethod
2928
+ def from_value(arg: int, /) -> lief.ELF.SEGMENT_TYPES: ...
2929
+ def __ge__(self, other) -> bool: ...
2930
+ def __gt__(self, other) -> bool: ...
2931
+ def __hash__(self) -> int: ...
2932
+ def __index__(self) -> Any: ...
2933
+ def __int__(self) -> int: ...
2934
+ def __le__(self, other) -> bool: ...
2935
+ def __lt__(self, other) -> bool: ...
2936
+ @property
2937
+ def value(self) -> int: ...
2938
+
2939
+ class SYMBOL_BINDINGS:
2940
+ GLOBAL: ClassVar[SYMBOL_BINDINGS] = ...
2941
+ GNU_UNIQUE: ClassVar[SYMBOL_BINDINGS] = ...
2942
+ LOCAL: ClassVar[SYMBOL_BINDINGS] = ...
2943
+ WEAK: ClassVar[SYMBOL_BINDINGS] = ...
2944
+ __name__: str
2945
+ def __init__(self, *args, **kwargs) -> None: ...
2946
+ @staticmethod
2947
+ def from_value(arg: int, /) -> lief.ELF.SYMBOL_BINDINGS: ...
2948
+ def __ge__(self, other) -> bool: ...
2949
+ def __gt__(self, other) -> bool: ...
2950
+ def __hash__(self) -> int: ...
2951
+ def __index__(self) -> Any: ...
2952
+ def __int__(self) -> int: ...
2953
+ def __le__(self, other) -> bool: ...
2954
+ def __lt__(self, other) -> bool: ...
2955
+ @property
2956
+ def value(self) -> int: ...
2957
+
2958
+ class SYMBOL_SECTION_INDEX:
2959
+ ABS: ClassVar[SYMBOL_SECTION_INDEX] = ...
2960
+ COMMON: ClassVar[SYMBOL_SECTION_INDEX] = ...
2961
+ UNDEF: ClassVar[SYMBOL_SECTION_INDEX] = ...
2962
+ XINDEX: ClassVar[SYMBOL_SECTION_INDEX] = ...
2963
+ __name__: str
2964
+ def __init__(self, *args, **kwargs) -> None: ...
2965
+ @staticmethod
2966
+ def from_value(arg: int, /) -> lief.ELF.SYMBOL_SECTION_INDEX: ...
2967
+ def __ge__(self, other) -> bool: ...
2968
+ def __gt__(self, other) -> bool: ...
2969
+ def __hash__(self) -> int: ...
2970
+ def __index__(self) -> Any: ...
2971
+ def __int__(self) -> int: ...
2972
+ def __le__(self, other) -> bool: ...
2973
+ def __lt__(self, other) -> bool: ...
2974
+ @property
2975
+ def value(self) -> int: ...
2976
+
2977
+ class SYMBOL_TYPES:
2978
+ COMMON: ClassVar[SYMBOL_TYPES] = ...
2979
+ FILE: ClassVar[SYMBOL_TYPES] = ...
2980
+ FUNC: ClassVar[SYMBOL_TYPES] = ...
2981
+ GNU_IFUNC: ClassVar[SYMBOL_TYPES] = ...
2982
+ NOTYPE: ClassVar[SYMBOL_TYPES] = ...
2983
+ OBJECT: ClassVar[SYMBOL_TYPES] = ...
2984
+ SECTION: ClassVar[SYMBOL_TYPES] = ...
2985
+ TLS: ClassVar[SYMBOL_TYPES] = ...
2986
+ __name__: str
2987
+ def __init__(self, *args, **kwargs) -> None: ...
2988
+ @staticmethod
2989
+ def from_value(arg: int, /) -> lief.ELF.SYMBOL_TYPES: ...
2990
+ def __ge__(self, other) -> bool: ...
2991
+ def __gt__(self, other) -> bool: ...
2992
+ def __hash__(self) -> int: ...
2993
+ def __index__(self) -> Any: ...
2994
+ def __int__(self) -> int: ...
2995
+ def __le__(self, other) -> bool: ...
2996
+ def __lt__(self, other) -> bool: ...
2997
+ @property
2998
+ def value(self) -> int: ...
2999
+
3000
+ class SYMBOL_VISIBILITY:
3001
+ DEFAULT: ClassVar[SYMBOL_VISIBILITY] = ...
3002
+ HIDDEN: ClassVar[SYMBOL_VISIBILITY] = ...
3003
+ INTERNAL: ClassVar[SYMBOL_VISIBILITY] = ...
3004
+ PROTECTED: ClassVar[SYMBOL_VISIBILITY] = ...
3005
+ __name__: str
3006
+ def __init__(self, *args, **kwargs) -> None: ...
3007
+ @staticmethod
3008
+ def from_value(arg: int, /) -> lief.ELF.SYMBOL_VISIBILITY: ...
3009
+ def __ge__(self, other) -> bool: ...
3010
+ def __gt__(self, other) -> bool: ...
3011
+ def __hash__(self) -> int: ...
3012
+ def __index__(self) -> Any: ...
3013
+ def __int__(self) -> int: ...
3014
+ def __le__(self, other) -> bool: ...
3015
+ def __lt__(self, other) -> bool: ...
3016
+ @property
3017
+ def value(self) -> int: ...
3018
+
3019
+ class Section(lief.Section):
3020
+ class it_segments:
3021
+ def __init__(self, *args, **kwargs) -> None: ...
3022
+ def __getitem__(self, arg: int, /) -> lief.ELF.Segment: ...
3023
+ def __iter__(self) -> lief.ELF.Section.it_segments: ...
3024
+ def __len__(self) -> int: ...
3025
+ def __next__(self) -> lief.ELF.Segment: ...
3026
+ alignment: int
3027
+ entry_size: int
3028
+ file_offset: int
3029
+ flags: int
3030
+ information: int
3031
+ link: int
3032
+ type: lief.ELF.SECTION_TYPES
3033
+ @overload
3034
+ def __init__(self) -> None: ...
3035
+ @overload
3036
+ def __init__(self, name: str, type: lief.ELF.SECTION_TYPES = ...) -> None: ...
3037
+ def add(self, flag: lief.ELF.SECTION_FLAGS) -> None: ...
3038
+ def as_frame(self) -> lief.ELF.Section: ...
3039
+ def clear(self, value: int = ...) -> lief.ELF.Section: ...
3040
+ @overload
3041
+ def has(self, flag: lief.ELF.SECTION_FLAGS) -> bool: ...
3042
+ @overload
3043
+ def has(self, segment: lief.ELF.Segment) -> bool: ...
3044
+ def remove(self, flag: lief.ELF.SECTION_FLAGS) -> None: ...
3045
+ @overload
3046
+ def __contains__(self, arg: lief.ELF.SECTION_FLAGS, /) -> bool: ...
3047
+ @overload
3048
+ def __contains__(self, arg: lief.ELF.Segment, /) -> bool: ...
3049
+ def __iadd__(self, arg: lief.ELF.SECTION_FLAGS, /) -> lief.ELF.Section: ...
3050
+ def __isub__(self, arg: lief.ELF.SECTION_FLAGS, /) -> lief.ELF.Section: ...
3051
+ @property
3052
+ def flags_list(self) -> set[lief.ELF.SECTION_FLAGS]: ...
3053
+ @property
3054
+ def is_frame(self) -> bool: ...
3055
+ @property
3056
+ def original_size(self) -> int: ...
3057
+ @property
3058
+ def segments(self) -> lief.ELF.Section.it_segments: ...
3059
+
3060
+ class Segment(lief.Object):
3061
+ class it_sections:
3062
+ def __init__(self, *args, **kwargs) -> None: ...
3063
+ def __getitem__(self, arg: int, /) -> lief.ELF.Section: ...
3064
+ def __iter__(self) -> lief.ELF.Segment.it_sections: ...
3065
+ def __len__(self) -> int: ...
3066
+ def __next__(self) -> lief.ELF.Section: ...
3067
+ alignment: int
3068
+ content: memoryview
3069
+ file_offset: int
3070
+ flags: lief.ELF.SEGMENT_FLAGS
3071
+ physical_address: int
3072
+ physical_size: int
3073
+ type: lief.ELF.SEGMENT_TYPES
3074
+ virtual_address: int
3075
+ virtual_size: int
3076
+ def __init__(self) -> None: ...
3077
+ def add(self, flag: lief.ELF.SEGMENT_FLAGS) -> None: ...
3078
+ @staticmethod
3079
+ def from_raw(arg: bytes, /) -> Union[lief.ELF.Segment,lief.lief_errors]: ...
3080
+ @overload
3081
+ def has(self, flag: lief.ELF.SEGMENT_FLAGS) -> bool: ...
3082
+ @overload
3083
+ def has(self, section: lief.ELF.Section) -> bool: ...
3084
+ @overload
3085
+ def has(self, section_name: str) -> bool: ...
3086
+ def remove(self, flag: lief.ELF.SEGMENT_FLAGS) -> None: ...
3087
+ @overload
3088
+ def __contains__(self, arg: lief.ELF.SEGMENT_FLAGS, /) -> bool: ...
3089
+ @overload
3090
+ def __contains__(self, arg: lief.ELF.Section, /) -> bool: ...
3091
+ @overload
3092
+ def __contains__(self, arg: str, /) -> bool: ...
3093
+ def __iadd__(self, arg: lief.ELF.SEGMENT_FLAGS, /) -> lief.ELF.Segment: ...
3094
+ def __isub__(self, arg: lief.ELF.SEGMENT_FLAGS, /) -> lief.ELF.Segment: ...
3095
+ @property
3096
+ def sections(self) -> lief.ELF.Segment.it_sections: ...
3097
+
3098
+ class StackSize(NoteGnuProperty.Property):
3099
+ def __init__(self, *args, **kwargs) -> None: ...
3100
+ @property
3101
+ def stack_size(self) -> int: ...
3102
+
3103
+ class Symbol(lief.Symbol):
3104
+ binding: lief.ELF.SYMBOL_BINDINGS
3105
+ exported: bool
3106
+ imported: bool
3107
+ information: int
3108
+ other: int
3109
+ shndx: int
3110
+ size: int
3111
+ type: lief.ELF.SYMBOL_TYPES
3112
+ value: int
3113
+ visibility: lief.ELF.SYMBOL_VISIBILITY
3114
+ def __init__(self) -> None: ...
3115
+ @property
3116
+ def demangled_name(self) -> str: ...
3117
+ @property
3118
+ def has_version(self) -> bool: ...
3119
+ @property
3120
+ def is_function(self) -> bool: ...
3121
+ @property
3122
+ def is_static(self) -> bool: ...
3123
+ @property
3124
+ def is_variable(self) -> bool: ...
3125
+ @property
3126
+ def section(self) -> lief.ELF.Section: ...
3127
+ @property
3128
+ def symbol_version(self) -> lief.ELF.SymbolVersion: ...
3129
+
3130
+ class SymbolVersion(lief.Object):
3131
+ symbol_version_auxiliary: lief.ELF.SymbolVersionAux
3132
+ value: int
3133
+ @overload
3134
+ def __init__(self) -> None: ...
3135
+ @overload
3136
+ def __init__(self, arg: int, /) -> None: ...
3137
+ @property
3138
+ def global_(self) -> lief.ELF.SymbolVersion: ...
3139
+ @property
3140
+ def has_auxiliary_version(self) -> bool: ...
3141
+ @property
3142
+ def local(self) -> lief.ELF.SymbolVersion: ...
3143
+
3144
+ class SymbolVersionAux(lief.Object):
3145
+ name: Union[str,bytes]
3146
+ def __init__(self, *args, **kwargs) -> None: ...
3147
+
3148
+ class SymbolVersionAuxRequirement(SymbolVersionAux):
3149
+ flags: int
3150
+ hash: int
3151
+ other: int
3152
+ def __init__(self) -> None: ...
3153
+
3154
+ class SymbolVersionDefinition(lief.Object):
3155
+ class it_version_aux:
3156
+ def __init__(self, *args, **kwargs) -> None: ...
3157
+ def __getitem__(self, arg: int, /) -> lief.ELF.SymbolVersionAux: ...
3158
+ def __iter__(self) -> lief.ELF.SymbolVersionDefinition.it_version_aux: ...
3159
+ def __len__(self) -> int: ...
3160
+ def __next__(self) -> lief.ELF.SymbolVersionAux: ...
3161
+ flags: int
3162
+ hash: int
3163
+ version: int
3164
+ def __init__(self, *args, **kwargs) -> None: ...
3165
+ @property
3166
+ def auxiliary_symbols(self) -> lief.ELF.SymbolVersionDefinition.it_version_aux: ...
3167
+ @property
3168
+ def ndx(self) -> int: ...
3169
+
3170
+ class SymbolVersionRequirement(lief.Object):
3171
+ class it_aux_requirement:
3172
+ def __init__(self, *args, **kwargs) -> None: ...
3173
+ def __getitem__(self, arg: int, /) -> lief.ELF.SymbolVersionAuxRequirement: ...
3174
+ def __iter__(self) -> lief.ELF.SymbolVersionRequirement.it_aux_requirement: ...
3175
+ def __len__(self) -> int: ...
3176
+ def __next__(self) -> lief.ELF.SymbolVersionAuxRequirement: ...
3177
+ name: str
3178
+ version: int
3179
+ def __init__(self, *args, **kwargs) -> None: ...
3180
+ def add_auxiliary_requirement(self, arg: lief.ELF.SymbolVersionAuxRequirement, /) -> lief.ELF.SymbolVersionAuxRequirement: ...
3181
+ def get_auxiliary_symbols(self) -> lief.ELF.SymbolVersionRequirement.it_aux_requirement: ...
3182
+
3183
+ class SysvHash(lief.Object):
3184
+ nchain: int
3185
+ def __init__(self) -> None: ...
3186
+ @property
3187
+ def buckets(self) -> list[int]: ...
3188
+ @property
3189
+ def chains(self) -> list[int]: ...
3190
+ @property
3191
+ def nbucket(self) -> int: ...
3192
+
3193
+ class VERSION:
3194
+ CURRENT: ClassVar[VERSION] = ...
3195
+ NONE: ClassVar[VERSION] = ...
3196
+ __name__: str
3197
+ def __init__(self, *args, **kwargs) -> None: ...
3198
+ @staticmethod
3199
+ def from_value(arg: int, /) -> lief.ELF.VERSION: ...
3200
+ def __ge__(self, other) -> bool: ...
3201
+ def __gt__(self, other) -> bool: ...
3202
+ def __hash__(self) -> int: ...
3203
+ def __index__(self) -> Any: ...
3204
+ def __int__(self) -> int: ...
3205
+ def __le__(self, other) -> bool: ...
3206
+ def __lt__(self, other) -> bool: ...
3207
+ @property
3208
+ def value(self) -> int: ...
3209
+
3210
+ class X86Features(NoteGnuProperty.Property):
3211
+ class FEATURE:
3212
+ FXSR: ClassVar[X86Features.FEATURE] = ...
3213
+ IBT: ClassVar[X86Features.FEATURE] = ...
3214
+ LAM_U48: ClassVar[X86Features.FEATURE] = ...
3215
+ LAM_U57: ClassVar[X86Features.FEATURE] = ...
3216
+ MASK: ClassVar[X86Features.FEATURE] = ...
3217
+ MMX: ClassVar[X86Features.FEATURE] = ...
3218
+ SHSTK: ClassVar[X86Features.FEATURE] = ...
3219
+ TMM: ClassVar[X86Features.FEATURE] = ...
3220
+ UNKNOWN: ClassVar[X86Features.FEATURE] = ...
3221
+ X86: ClassVar[X86Features.FEATURE] = ...
3222
+ X87: ClassVar[X86Features.FEATURE] = ...
3223
+ XMM: ClassVar[X86Features.FEATURE] = ...
3224
+ XSAVE: ClassVar[X86Features.FEATURE] = ...
3225
+ XSAVEC: ClassVar[X86Features.FEATURE] = ...
3226
+ XSAVEOPT: ClassVar[X86Features.FEATURE] = ...
3227
+ YMM: ClassVar[X86Features.FEATURE] = ...
3228
+ ZMM: ClassVar[X86Features.FEATURE] = ...
3229
+ __name__: str
3230
+ def __init__(self, *args, **kwargs) -> None: ...
3231
+ @staticmethod
3232
+ def from_value(arg: int, /) -> lief.ELF.X86Features.FEATURE: ...
3233
+ def __ge__(self, other) -> bool: ...
3234
+ def __gt__(self, other) -> bool: ...
3235
+ def __hash__(self) -> int: ...
3236
+ def __index__(self) -> Any: ...
3237
+ def __int__(self) -> int: ...
3238
+ def __le__(self, other) -> bool: ...
3239
+ def __lt__(self, other) -> bool: ...
3240
+ @property
3241
+ def value(self) -> int: ...
3242
+
3243
+ class FLAG:
3244
+ NEEDED: ClassVar[X86Features.FLAG] = ...
3245
+ NONE: ClassVar[X86Features.FLAG] = ...
3246
+ USED: ClassVar[X86Features.FLAG] = ...
3247
+ __name__: str
3248
+ def __init__(self, *args, **kwargs) -> None: ...
3249
+ @staticmethod
3250
+ def from_value(arg: int, /) -> lief.ELF.X86Features.FLAG: ...
3251
+ def __ge__(self, other) -> bool: ...
3252
+ def __gt__(self, other) -> bool: ...
3253
+ def __hash__(self) -> int: ...
3254
+ def __index__(self) -> Any: ...
3255
+ def __int__(self) -> int: ...
3256
+ def __le__(self, other) -> bool: ...
3257
+ def __lt__(self, other) -> bool: ...
3258
+ @property
3259
+ def value(self) -> int: ...
3260
+ def __init__(self, *args, **kwargs) -> None: ...
3261
+ @property
3262
+ def features(self) -> list[tuple[lief.ELF.X86Features.FLAG,lief.ELF.X86Features.FEATURE]]: ...
3263
+
3264
+ class X86ISA(NoteGnuProperty.Property):
3265
+ class FLAG:
3266
+ NEEDED: ClassVar[X86ISA.FLAG] = ...
3267
+ NONE: ClassVar[X86ISA.FLAG] = ...
3268
+ USED: ClassVar[X86ISA.FLAG] = ...
3269
+ __name__: str
3270
+ def __init__(self, *args, **kwargs) -> None: ...
3271
+ @staticmethod
3272
+ def from_value(arg: int, /) -> lief.ELF.X86ISA.FLAG: ...
3273
+ def __ge__(self, other) -> bool: ...
3274
+ def __gt__(self, other) -> bool: ...
3275
+ def __hash__(self) -> int: ...
3276
+ def __index__(self) -> Any: ...
3277
+ def __int__(self) -> int: ...
3278
+ def __le__(self, other) -> bool: ...
3279
+ def __lt__(self, other) -> bool: ...
3280
+ @property
3281
+ def value(self) -> int: ...
3282
+
3283
+ class ISA:
3284
+ AVX: ClassVar[X86ISA.ISA] = ...
3285
+ AVX2: ClassVar[X86ISA.ISA] = ...
3286
+ AVX512BW: ClassVar[X86ISA.ISA] = ...
3287
+ AVX512CD: ClassVar[X86ISA.ISA] = ...
3288
+ AVX512DQ: ClassVar[X86ISA.ISA] = ...
3289
+ AVX512ER: ClassVar[X86ISA.ISA] = ...
3290
+ AVX512F: ClassVar[X86ISA.ISA] = ...
3291
+ AVX512PF: ClassVar[X86ISA.ISA] = ...
3292
+ AVX512VL: ClassVar[X86ISA.ISA] = ...
3293
+ AVX512_4FMAPS: ClassVar[X86ISA.ISA] = ...
3294
+ AVX512_4VNNIW: ClassVar[X86ISA.ISA] = ...
3295
+ AVX512_BF16: ClassVar[X86ISA.ISA] = ...
3296
+ AVX512_BITALG: ClassVar[X86ISA.ISA] = ...
3297
+ AVX512_IFMA: ClassVar[X86ISA.ISA] = ...
3298
+ AVX512_VBMI: ClassVar[X86ISA.ISA] = ...
3299
+ AVX512_VBMI2: ClassVar[X86ISA.ISA] = ...
3300
+ AVX512_VNNI: ClassVar[X86ISA.ISA] = ...
3301
+ BASELINE: ClassVar[X86ISA.ISA] = ...
3302
+ CMOV: ClassVar[X86ISA.ISA] = ...
3303
+ FMA: ClassVar[X86ISA.ISA] = ...
3304
+ I486: ClassVar[X86ISA.ISA] = ...
3305
+ I586: ClassVar[X86ISA.ISA] = ...
3306
+ I686: ClassVar[X86ISA.ISA] = ...
3307
+ SSE: ClassVar[X86ISA.ISA] = ...
3308
+ SSE2: ClassVar[X86ISA.ISA] = ...
3309
+ SSE3: ClassVar[X86ISA.ISA] = ...
3310
+ SSE4_1: ClassVar[X86ISA.ISA] = ...
3311
+ SSE4_2: ClassVar[X86ISA.ISA] = ...
3312
+ SSSE3: ClassVar[X86ISA.ISA] = ...
3313
+ UNKNOWN: ClassVar[X86ISA.ISA] = ...
3314
+ V2: ClassVar[X86ISA.ISA] = ...
3315
+ V3: ClassVar[X86ISA.ISA] = ...
3316
+ V4: ClassVar[X86ISA.ISA] = ...
3317
+ __name__: str
3318
+ def __init__(self, *args, **kwargs) -> None: ...
3319
+ @staticmethod
3320
+ def from_value(arg: int, /) -> lief.ELF.X86ISA.ISA: ...
3321
+ def __ge__(self, other) -> bool: ...
3322
+ def __gt__(self, other) -> bool: ...
3323
+ def __hash__(self) -> int: ...
3324
+ def __index__(self) -> Any: ...
3325
+ def __int__(self) -> int: ...
3326
+ def __le__(self, other) -> bool: ...
3327
+ def __lt__(self, other) -> bool: ...
3328
+ @property
3329
+ def value(self) -> int: ...
3330
+ def __init__(self, *args, **kwargs) -> None: ...
3331
+ @property
3332
+ def values(self) -> list[tuple[lief.ELF.X86ISA.FLAG,lief.ELF.X86ISA.ISA]]: ...
3333
+
3334
+ @overload
3335
+ def parse(filename: str, config: lief.ELF.ParserConfig = ...) -> Optional[lief.ELF.Binary]: ...
3336
+ @overload
3337
+ def parse(raw: list[int], config: lief.ELF.ParserConfig = ...) -> Optional[lief.ELF.Binary]: ...
3338
+ @overload
3339
+ def parse(obj: Union[io.IOBase|os.PathLike], config: lief.ELF.ParserConfig = ...) -> Optional[lief.ELF.Binary]: ...