lief 0.15.1__cp312-cp312-win32.whl → 0.16.1__cp312-cp312-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.

Files changed (45) hide show
  1. lief/{ART.pyi → ART/__init__.pyi} +65 -45
  2. lief/Android/__init__.pyi +33 -0
  3. lief/DEX/__init__.pyi +512 -0
  4. lief/ELF/__init__.pyi +5342 -0
  5. lief/MachO/__init__.pyi +2678 -0
  6. lief/OAT/__init__.pyi +348 -0
  7. lief/PE/__init__.pyi +4098 -0
  8. lief/VDEX/__init__.pyi +54 -0
  9. lief/__init__.py +3 -0
  10. lief/__init__.pyi +457 -316
  11. lief/_lief.pyd +0 -0
  12. lief/assembly/__init__.pyi +104 -0
  13. lief/assembly/aarch64/__init__.pyi +20200 -0
  14. lief/assembly/aarch64/operands/__init__.pyi +48 -0
  15. lief/assembly/arm/__init__.pyi +9004 -0
  16. lief/assembly/ebpf/__init__.pyi +984 -0
  17. lief/assembly/mips/__init__.pyi +5798 -0
  18. lief/assembly/powerpc/__init__.pyi +5714 -0
  19. lief/assembly/riscv/__init__.pyi +27674 -0
  20. lief/assembly/x86/__init__.pyi +40433 -0
  21. lief/assembly/x86/operands/__init__.pyi +32 -0
  22. lief/dsc/__init__.pyi +220 -0
  23. lief/dwarf/__init__.pyi +224 -125
  24. lief/dwarf/parameters/__init__.pyi +14 -0
  25. lief/dwarf/types/__init__.pyi +167 -0
  26. lief/logging/__init__.pyi +44 -0
  27. lief/objc/__init__.pyi +89 -0
  28. lief/pdb/__init__.pyi +66 -50
  29. lief/pdb/types/__init__.pyi +69 -0
  30. lief-0.16.1.dist-info/METADATA +86 -0
  31. lief-0.16.1.dist-info/RECORD +33 -0
  32. lief/Android.pyi +0 -29
  33. lief/DEX.pyi +0 -382
  34. lief/ELF.pyi +0 -3179
  35. lief/MachO.pyi +0 -1717
  36. lief/OAT.pyi +0 -271
  37. lief/PE.pyi +0 -2951
  38. lief/VDEX.pyi +0 -49
  39. lief/dwarf/types.pyi +0 -72
  40. lief/logging.pyi +0 -27
  41. lief/objc.pyi +0 -68
  42. lief/pdb/types.pyi +0 -68
  43. lief-0.15.1.dist-info/METADATA +0 -157
  44. lief-0.15.1.dist-info/RECORD +0 -21
  45. {lief-0.15.1.dist-info → lief-0.16.1.dist-info}/WHEEL +0 -0
lief/PE.pyi DELETED
@@ -1,2951 +0,0 @@
1
- from typing import Any, ClassVar, Optional, Union
2
-
3
- from typing import overload
4
- import io
5
- import lief # type: ignore
6
- import lief.PE # type: ignore
7
- import lief.PE.Attribute # type: ignore
8
- import lief.PE.Binary # type: ignore
9
- import lief.PE.CodeView # type: ignore
10
- import lief.PE.ContentInfo # type: ignore
11
- import lief.PE.DataDirectory # type: ignore
12
- import lief.PE.Debug # type: ignore
13
- import lief.PE.DelayImport # type: ignore
14
- import lief.PE.Export # type: ignore
15
- import lief.PE.ExportEntry # type: ignore
16
- import lief.PE.Header # type: ignore
17
- import lief.PE.Import # type: ignore
18
- import lief.PE.LoadConfiguration # type: ignore
19
- import lief.PE.LoadConfigurationV1 # type: ignore
20
- import lief.PE.MsCounterSign # type: ignore
21
- import lief.PE.OptionalHeader # type: ignore
22
- import lief.PE.Pogo # type: ignore
23
- import lief.PE.Relocation # type: ignore
24
- import lief.PE.RelocationEntry # type: ignore
25
- import lief.PE.ResourceDialog # type: ignore
26
- import lief.PE.ResourceNode # type: ignore
27
- import lief.PE.ResourcesManager # type: ignore
28
- import lief.PE.RichHeader # type: ignore
29
- import lief.PE.Section # type: ignore
30
- import lief.PE.Signature # type: ignore
31
- import lief.PE.SignerInfo # type: ignore
32
- import lief.PE.x509 # type: ignore
33
- import os
34
-
35
- class ACCELERATOR_FLAGS:
36
- END: ClassVar[ACCELERATOR_FLAGS] = ...
37
- FALT: ClassVar[ACCELERATOR_FLAGS] = ...
38
- FCONTROL: ClassVar[ACCELERATOR_FLAGS] = ...
39
- FNOINVERT: ClassVar[ACCELERATOR_FLAGS] = ...
40
- FSHIFT: ClassVar[ACCELERATOR_FLAGS] = ...
41
- FVIRTKEY: ClassVar[ACCELERATOR_FLAGS] = ...
42
- __name__: str
43
- def __init__(self, *args, **kwargs) -> None: ...
44
- @staticmethod
45
- def from_value(arg: int, /) -> lief.PE.ACCELERATOR_FLAGS: ...
46
- def __abs__(self) -> Any: ...
47
- def __add__(self, other) -> Any: ...
48
- @overload
49
- def __and__(self, arg: int, /) -> int: ...
50
- @overload
51
- def __and__(self, arg: lief.PE.ACCELERATOR_FLAGS, /) -> int: ...
52
- def __floordiv__(self, other) -> Any: ...
53
- def __ge__(self, arg: int, /) -> bool: ...
54
- def __gt__(self, arg: int, /) -> bool: ...
55
- def __hash__(self) -> int: ...
56
- def __index__(self) -> Any: ...
57
- def __int__(self) -> int: ...
58
- def __invert__(self) -> int: ...
59
- def __le__(self, arg: int, /) -> bool: ...
60
- def __lshift__(self, other) -> Any: ...
61
- def __lt__(self, arg: int, /) -> bool: ...
62
- def __mul__(self, other) -> Any: ...
63
- def __neg__(self) -> Any: ...
64
- @overload
65
- def __or__(self, arg: int, /) -> int: ...
66
- @overload
67
- def __or__(self, arg: lief.PE.ACCELERATOR_FLAGS, /) -> lief.PE.ACCELERATOR_FLAGS: ...
68
- def __radd__(self, other) -> Any: ...
69
- def __rand__(self, arg: int, /) -> int: ...
70
- def __rfloordiv__(self, other) -> Any: ...
71
- def __rlshift__(self, other) -> Any: ...
72
- def __rmul__(self, other) -> Any: ...
73
- def __ror__(self, arg: int, /) -> int: ...
74
- def __rrshift__(self, other) -> Any: ...
75
- def __rshift__(self, other) -> Any: ...
76
- def __rsub__(self, other) -> Any: ...
77
- def __rxor__(self, arg: int, /) -> int: ...
78
- def __sub__(self, other) -> Any: ...
79
- @overload
80
- def __xor__(self, arg: int, /) -> int: ...
81
- @overload
82
- def __xor__(self, arg: lief.PE.ACCELERATOR_FLAGS, /) -> int: ...
83
- @property
84
- def value(self) -> int: ...
85
-
86
- class ACCELERATOR_VK_CODES:
87
- VK_0: ClassVar[ACCELERATOR_VK_CODES] = ...
88
- VK_1: ClassVar[ACCELERATOR_VK_CODES] = ...
89
- VK_2: ClassVar[ACCELERATOR_VK_CODES] = ...
90
- VK_3: ClassVar[ACCELERATOR_VK_CODES] = ...
91
- VK_4: ClassVar[ACCELERATOR_VK_CODES] = ...
92
- VK_5: ClassVar[ACCELERATOR_VK_CODES] = ...
93
- VK_6: ClassVar[ACCELERATOR_VK_CODES] = ...
94
- VK_7: ClassVar[ACCELERATOR_VK_CODES] = ...
95
- VK_8: ClassVar[ACCELERATOR_VK_CODES] = ...
96
- VK_9: ClassVar[ACCELERATOR_VK_CODES] = ...
97
- VK_A: ClassVar[ACCELERATOR_VK_CODES] = ...
98
- VK_ACCEPT: ClassVar[ACCELERATOR_VK_CODES] = ...
99
- VK_ADD: ClassVar[ACCELERATOR_VK_CODES] = ...
100
- VK_APPS: ClassVar[ACCELERATOR_VK_CODES] = ...
101
- VK_ATTN: ClassVar[ACCELERATOR_VK_CODES] = ...
102
- VK_B: ClassVar[ACCELERATOR_VK_CODES] = ...
103
- VK_BACK: ClassVar[ACCELERATOR_VK_CODES] = ...
104
- VK_BROWSER_BACK: ClassVar[ACCELERATOR_VK_CODES] = ...
105
- VK_BROWSER_FAVORITES: ClassVar[ACCELERATOR_VK_CODES] = ...
106
- VK_BROWSER_FORWARD: ClassVar[ACCELERATOR_VK_CODES] = ...
107
- VK_BROWSER_HOME: ClassVar[ACCELERATOR_VK_CODES] = ...
108
- VK_BROWSER_REFRESH: ClassVar[ACCELERATOR_VK_CODES] = ...
109
- VK_BROWSER_SEARCH: ClassVar[ACCELERATOR_VK_CODES] = ...
110
- VK_BROWSER_STOP: ClassVar[ACCELERATOR_VK_CODES] = ...
111
- VK_C: ClassVar[ACCELERATOR_VK_CODES] = ...
112
- VK_CANCEL: ClassVar[ACCELERATOR_VK_CODES] = ...
113
- VK_CAPITAL: ClassVar[ACCELERATOR_VK_CODES] = ...
114
- VK_CLEAR: ClassVar[ACCELERATOR_VK_CODES] = ...
115
- VK_CONTROL: ClassVar[ACCELERATOR_VK_CODES] = ...
116
- VK_CONVERT: ClassVar[ACCELERATOR_VK_CODES] = ...
117
- VK_CRSEL: ClassVar[ACCELERATOR_VK_CODES] = ...
118
- VK_D: ClassVar[ACCELERATOR_VK_CODES] = ...
119
- VK_DECIMAL: ClassVar[ACCELERATOR_VK_CODES] = ...
120
- VK_DELETE: ClassVar[ACCELERATOR_VK_CODES] = ...
121
- VK_DIVIDE: ClassVar[ACCELERATOR_VK_CODES] = ...
122
- VK_DOWN: ClassVar[ACCELERATOR_VK_CODES] = ...
123
- VK_E: ClassVar[ACCELERATOR_VK_CODES] = ...
124
- VK_END: ClassVar[ACCELERATOR_VK_CODES] = ...
125
- VK_EREOF: ClassVar[ACCELERATOR_VK_CODES] = ...
126
- VK_ESCAPE: ClassVar[ACCELERATOR_VK_CODES] = ...
127
- VK_EXECUTE: ClassVar[ACCELERATOR_VK_CODES] = ...
128
- VK_EXSEL: ClassVar[ACCELERATOR_VK_CODES] = ...
129
- VK_F: ClassVar[ACCELERATOR_VK_CODES] = ...
130
- VK_F1: ClassVar[ACCELERATOR_VK_CODES] = ...
131
- VK_F10: ClassVar[ACCELERATOR_VK_CODES] = ...
132
- VK_F11: ClassVar[ACCELERATOR_VK_CODES] = ...
133
- VK_F12: ClassVar[ACCELERATOR_VK_CODES] = ...
134
- VK_F13: ClassVar[ACCELERATOR_VK_CODES] = ...
135
- VK_F14: ClassVar[ACCELERATOR_VK_CODES] = ...
136
- VK_F15: ClassVar[ACCELERATOR_VK_CODES] = ...
137
- VK_F16: ClassVar[ACCELERATOR_VK_CODES] = ...
138
- VK_F17: ClassVar[ACCELERATOR_VK_CODES] = ...
139
- VK_F18: ClassVar[ACCELERATOR_VK_CODES] = ...
140
- VK_F19: ClassVar[ACCELERATOR_VK_CODES] = ...
141
- VK_F2: ClassVar[ACCELERATOR_VK_CODES] = ...
142
- VK_F20: ClassVar[ACCELERATOR_VK_CODES] = ...
143
- VK_F21: ClassVar[ACCELERATOR_VK_CODES] = ...
144
- VK_F22: ClassVar[ACCELERATOR_VK_CODES] = ...
145
- VK_F23: ClassVar[ACCELERATOR_VK_CODES] = ...
146
- VK_F24: ClassVar[ACCELERATOR_VK_CODES] = ...
147
- VK_F3: ClassVar[ACCELERATOR_VK_CODES] = ...
148
- VK_F4: ClassVar[ACCELERATOR_VK_CODES] = ...
149
- VK_F5: ClassVar[ACCELERATOR_VK_CODES] = ...
150
- VK_F6: ClassVar[ACCELERATOR_VK_CODES] = ...
151
- VK_F7: ClassVar[ACCELERATOR_VK_CODES] = ...
152
- VK_F8: ClassVar[ACCELERATOR_VK_CODES] = ...
153
- VK_F9: ClassVar[ACCELERATOR_VK_CODES] = ...
154
- VK_FINAL: ClassVar[ACCELERATOR_VK_CODES] = ...
155
- VK_G: ClassVar[ACCELERATOR_VK_CODES] = ...
156
- VK_H: ClassVar[ACCELERATOR_VK_CODES] = ...
157
- VK_HANGUEL: ClassVar[ACCELERATOR_VK_CODES] = ...
158
- VK_HANGUL: ClassVar[ACCELERATOR_VK_CODES] = ...
159
- VK_HANJA: ClassVar[ACCELERATOR_VK_CODES] = ...
160
- VK_HELP: ClassVar[ACCELERATOR_VK_CODES] = ...
161
- VK_HOME: ClassVar[ACCELERATOR_VK_CODES] = ...
162
- VK_I: ClassVar[ACCELERATOR_VK_CODES] = ...
163
- VK_IME_OFF: ClassVar[ACCELERATOR_VK_CODES] = ...
164
- VK_IME_ON: ClassVar[ACCELERATOR_VK_CODES] = ...
165
- VK_INSERT: ClassVar[ACCELERATOR_VK_CODES] = ...
166
- VK_J: ClassVar[ACCELERATOR_VK_CODES] = ...
167
- VK_JUNJA: ClassVar[ACCELERATOR_VK_CODES] = ...
168
- VK_K: ClassVar[ACCELERATOR_VK_CODES] = ...
169
- VK_KANA: ClassVar[ACCELERATOR_VK_CODES] = ...
170
- VK_KANJI: ClassVar[ACCELERATOR_VK_CODES] = ...
171
- VK_L: ClassVar[ACCELERATOR_VK_CODES] = ...
172
- VK_LAUNCH_APP1: ClassVar[ACCELERATOR_VK_CODES] = ...
173
- VK_LAUNCH_APP2: ClassVar[ACCELERATOR_VK_CODES] = ...
174
- VK_LAUNCH_MAIL: ClassVar[ACCELERATOR_VK_CODES] = ...
175
- VK_LAUNCH_MEDIA_SELECT: ClassVar[ACCELERATOR_VK_CODES] = ...
176
- VK_LBUTTON: ClassVar[ACCELERATOR_VK_CODES] = ...
177
- VK_LCONTROL: ClassVar[ACCELERATOR_VK_CODES] = ...
178
- VK_LEFT: ClassVar[ACCELERATOR_VK_CODES] = ...
179
- VK_LMENU: ClassVar[ACCELERATOR_VK_CODES] = ...
180
- VK_LSHIFT: ClassVar[ACCELERATOR_VK_CODES] = ...
181
- VK_LWIN: ClassVar[ACCELERATOR_VK_CODES] = ...
182
- VK_M: ClassVar[ACCELERATOR_VK_CODES] = ...
183
- VK_MBUTTON: ClassVar[ACCELERATOR_VK_CODES] = ...
184
- VK_MEDIA_NEXT_TRACK: ClassVar[ACCELERATOR_VK_CODES] = ...
185
- VK_MEDIA_PLAY_PAUSE: ClassVar[ACCELERATOR_VK_CODES] = ...
186
- VK_MEDIA_PREV_TRACK: ClassVar[ACCELERATOR_VK_CODES] = ...
187
- VK_MEDIA_STOP: ClassVar[ACCELERATOR_VK_CODES] = ...
188
- VK_MENU: ClassVar[ACCELERATOR_VK_CODES] = ...
189
- VK_MODECHANGE: ClassVar[ACCELERATOR_VK_CODES] = ...
190
- VK_MULTIPLY: ClassVar[ACCELERATOR_VK_CODES] = ...
191
- VK_N: ClassVar[ACCELERATOR_VK_CODES] = ...
192
- VK_NEXT: ClassVar[ACCELERATOR_VK_CODES] = ...
193
- VK_NONAME: ClassVar[ACCELERATOR_VK_CODES] = ...
194
- VK_NONCONVERT: ClassVar[ACCELERATOR_VK_CODES] = ...
195
- VK_NUMLOCK: ClassVar[ACCELERATOR_VK_CODES] = ...
196
- VK_NUMPAD0: ClassVar[ACCELERATOR_VK_CODES] = ...
197
- VK_NUMPAD1: ClassVar[ACCELERATOR_VK_CODES] = ...
198
- VK_NUMPAD2: ClassVar[ACCELERATOR_VK_CODES] = ...
199
- VK_NUMPAD3: ClassVar[ACCELERATOR_VK_CODES] = ...
200
- VK_NUMPAD4: ClassVar[ACCELERATOR_VK_CODES] = ...
201
- VK_NUMPAD5: ClassVar[ACCELERATOR_VK_CODES] = ...
202
- VK_NUMPAD6: ClassVar[ACCELERATOR_VK_CODES] = ...
203
- VK_NUMPAD7: ClassVar[ACCELERATOR_VK_CODES] = ...
204
- VK_NUMPAD8: ClassVar[ACCELERATOR_VK_CODES] = ...
205
- VK_NUMPAD9: ClassVar[ACCELERATOR_VK_CODES] = ...
206
- VK_O: ClassVar[ACCELERATOR_VK_CODES] = ...
207
- VK_OEM_1: ClassVar[ACCELERATOR_VK_CODES] = ...
208
- VK_OEM_102: ClassVar[ACCELERATOR_VK_CODES] = ...
209
- VK_OEM_2: ClassVar[ACCELERATOR_VK_CODES] = ...
210
- VK_OEM_4: ClassVar[ACCELERATOR_VK_CODES] = ...
211
- VK_OEM_5: ClassVar[ACCELERATOR_VK_CODES] = ...
212
- VK_OEM_6: ClassVar[ACCELERATOR_VK_CODES] = ...
213
- VK_OEM_7: ClassVar[ACCELERATOR_VK_CODES] = ...
214
- VK_OEM_8: ClassVar[ACCELERATOR_VK_CODES] = ...
215
- VK_OEM_CLEAR: ClassVar[ACCELERATOR_VK_CODES] = ...
216
- VK_OEM_COMMA: ClassVar[ACCELERATOR_VK_CODES] = ...
217
- VK_OEM_MINUS: ClassVar[ACCELERATOR_VK_CODES] = ...
218
- VK_OEM_PERIOD: ClassVar[ACCELERATOR_VK_CODES] = ...
219
- VK_OEM_PLUS: ClassVar[ACCELERATOR_VK_CODES] = ...
220
- VK_P: ClassVar[ACCELERATOR_VK_CODES] = ...
221
- VK_PA1: ClassVar[ACCELERATOR_VK_CODES] = ...
222
- VK_PACKET: ClassVar[ACCELERATOR_VK_CODES] = ...
223
- VK_PAUSE: ClassVar[ACCELERATOR_VK_CODES] = ...
224
- VK_PLAY: ClassVar[ACCELERATOR_VK_CODES] = ...
225
- VK_PRINT: ClassVar[ACCELERATOR_VK_CODES] = ...
226
- VK_PRIOR: ClassVar[ACCELERATOR_VK_CODES] = ...
227
- VK_PROCESSKEY: ClassVar[ACCELERATOR_VK_CODES] = ...
228
- VK_Q: ClassVar[ACCELERATOR_VK_CODES] = ...
229
- VK_R: ClassVar[ACCELERATOR_VK_CODES] = ...
230
- VK_RBUTTON: ClassVar[ACCELERATOR_VK_CODES] = ...
231
- VK_RCONTROL: ClassVar[ACCELERATOR_VK_CODES] = ...
232
- VK_RETURN: ClassVar[ACCELERATOR_VK_CODES] = ...
233
- VK_RIGHT: ClassVar[ACCELERATOR_VK_CODES] = ...
234
- VK_RMENU: ClassVar[ACCELERATOR_VK_CODES] = ...
235
- VK_RSHIFT: ClassVar[ACCELERATOR_VK_CODES] = ...
236
- VK_RWIN: ClassVar[ACCELERATOR_VK_CODES] = ...
237
- VK_S: ClassVar[ACCELERATOR_VK_CODES] = ...
238
- VK_SCROLL: ClassVar[ACCELERATOR_VK_CODES] = ...
239
- VK_SELECT: ClassVar[ACCELERATOR_VK_CODES] = ...
240
- VK_SEPARATOR: ClassVar[ACCELERATOR_VK_CODES] = ...
241
- VK_SHIFT: ClassVar[ACCELERATOR_VK_CODES] = ...
242
- VK_SLEEP: ClassVar[ACCELERATOR_VK_CODES] = ...
243
- VK_SNAPSHOT: ClassVar[ACCELERATOR_VK_CODES] = ...
244
- VK_SPACE: ClassVar[ACCELERATOR_VK_CODES] = ...
245
- VK_SUBTRACT: ClassVar[ACCELERATOR_VK_CODES] = ...
246
- VK_T: ClassVar[ACCELERATOR_VK_CODES] = ...
247
- VK_TAB: ClassVar[ACCELERATOR_VK_CODES] = ...
248
- VK_U: ClassVar[ACCELERATOR_VK_CODES] = ...
249
- VK_UP: ClassVar[ACCELERATOR_VK_CODES] = ...
250
- VK_V: ClassVar[ACCELERATOR_VK_CODES] = ...
251
- VK_VOLUME_DOWN: ClassVar[ACCELERATOR_VK_CODES] = ...
252
- VK_VOLUME_MUTE: ClassVar[ACCELERATOR_VK_CODES] = ...
253
- VK_VOLUME_UP: ClassVar[ACCELERATOR_VK_CODES] = ...
254
- VK_W: ClassVar[ACCELERATOR_VK_CODES] = ...
255
- VK_X: ClassVar[ACCELERATOR_VK_CODES] = ...
256
- VK_XBUTTON1: ClassVar[ACCELERATOR_VK_CODES] = ...
257
- VK_XBUTTON2: ClassVar[ACCELERATOR_VK_CODES] = ...
258
- VK_Y: ClassVar[ACCELERATOR_VK_CODES] = ...
259
- VK_Z: ClassVar[ACCELERATOR_VK_CODES] = ...
260
- VK_ZOOM: ClassVar[ACCELERATOR_VK_CODES] = ...
261
- __name__: str
262
- def __init__(self, *args, **kwargs) -> None: ...
263
- @staticmethod
264
- def from_value(arg: int, /) -> lief.PE.ACCELERATOR_VK_CODES: ...
265
- def __ge__(self, other) -> bool: ...
266
- def __gt__(self, other) -> bool: ...
267
- def __hash__(self) -> int: ...
268
- def __index__(self) -> Any: ...
269
- def __int__(self) -> int: ...
270
- def __le__(self, other) -> bool: ...
271
- def __lt__(self, other) -> bool: ...
272
- @property
273
- def value(self) -> int: ...
274
-
275
- class ALGORITHMS:
276
- EC: ClassVar[ALGORITHMS] = ...
277
- MD2: ClassVar[ALGORITHMS] = ...
278
- MD4: ClassVar[ALGORITHMS] = ...
279
- MD5: ClassVar[ALGORITHMS] = ...
280
- MD5_RSA: ClassVar[ALGORITHMS] = ...
281
- RSA: ClassVar[ALGORITHMS] = ...
282
- SHA1_DSA: ClassVar[ALGORITHMS] = ...
283
- SHA1_ECDSA: ClassVar[ALGORITHMS] = ...
284
- SHA1_RSA: ClassVar[ALGORITHMS] = ...
285
- SHA_1: ClassVar[ALGORITHMS] = ...
286
- SHA_256: ClassVar[ALGORITHMS] = ...
287
- SHA_256_ECDSA: ClassVar[ALGORITHMS] = ...
288
- SHA_256_RSA: ClassVar[ALGORITHMS] = ...
289
- SHA_384: ClassVar[ALGORITHMS] = ...
290
- SHA_384_ECDSA: ClassVar[ALGORITHMS] = ...
291
- SHA_384_RSA: ClassVar[ALGORITHMS] = ...
292
- SHA_512: ClassVar[ALGORITHMS] = ...
293
- SHA_512_ECDSA: ClassVar[ALGORITHMS] = ...
294
- SHA_512_RSA: ClassVar[ALGORITHMS] = ...
295
- UNKNOWN: ClassVar[ALGORITHMS] = ...
296
- __name__: str
297
- def __init__(self, *args, **kwargs) -> None: ...
298
- @staticmethod
299
- def from_value(arg: int, /) -> lief.PE.ALGORITHMS: ...
300
- def __ge__(self, other) -> bool: ...
301
- def __gt__(self, other) -> bool: ...
302
- def __hash__(self) -> int: ...
303
- def __index__(self) -> Any: ...
304
- def __int__(self) -> int: ...
305
- def __le__(self, other) -> bool: ...
306
- def __lt__(self, other) -> bool: ...
307
- @property
308
- def value(self) -> int: ...
309
-
310
- class Attribute(lief.Object):
311
- class TYPE:
312
- CONTENT_TYPE: ClassVar[Attribute.TYPE] = ...
313
- GENERIC_TYPE: ClassVar[Attribute.TYPE] = ...
314
- MS_COUNTER_SIGN: ClassVar[Attribute.TYPE] = ...
315
- MS_PLATFORM_MANIFEST_BINARY_ID: ClassVar[Attribute.TYPE] = ...
316
- MS_SPC_NESTED_SIGN: ClassVar[Attribute.TYPE] = ...
317
- MS_SPC_STATEMENT_TYPE: ClassVar[Attribute.TYPE] = ...
318
- PKCS9_AT_SEQUENCE_NUMBER: ClassVar[Attribute.TYPE] = ...
319
- PKCS9_COUNTER_SIGNATURE: ClassVar[Attribute.TYPE] = ...
320
- PKCS9_MESSAGE_DIGEST: ClassVar[Attribute.TYPE] = ...
321
- PKCS9_SIGNING_TIME: ClassVar[Attribute.TYPE] = ...
322
- SIGNING_CERTIFICATE_V2: ClassVar[Attribute.TYPE] = ...
323
- SPC_RELAXED_PE_MARKER_CHECK: ClassVar[Attribute.TYPE] = ...
324
- SPC_SP_OPUS_INFO: ClassVar[Attribute.TYPE] = ...
325
- UNKNOWN: ClassVar[Attribute.TYPE] = ...
326
- __name__: str
327
- def __init__(self, *args, **kwargs) -> None: ...
328
- @staticmethod
329
- def from_value(arg: int, /) -> lief.PE.Attribute.TYPE: ...
330
- def __ge__(self, other) -> bool: ...
331
- def __gt__(self, other) -> bool: ...
332
- def __hash__(self) -> int: ...
333
- def __index__(self) -> Any: ...
334
- def __int__(self) -> int: ...
335
- def __le__(self, other) -> bool: ...
336
- def __lt__(self, other) -> bool: ...
337
- @property
338
- def value(self) -> int: ...
339
- def __init__(self, *args, **kwargs) -> None: ...
340
- @property
341
- def type(self) -> lief.PE.Attribute.TYPE: ...
342
-
343
- class Binary(lief.Binary):
344
- class it_const_signatures:
345
- def __init__(self, *args, **kwargs) -> None: ...
346
- def __getitem__(self, arg: int, /) -> lief.PE.Signature: ...
347
- def __iter__(self) -> lief.PE.Binary.it_const_signatures: ...
348
- def __len__(self) -> int: ...
349
- def __next__(self) -> lief.PE.Signature: ...
350
-
351
- class it_data_directories:
352
- def __init__(self, *args, **kwargs) -> None: ...
353
- def __getitem__(self, arg: int, /) -> lief.PE.DataDirectory: ...
354
- def __iter__(self) -> lief.PE.Binary.it_data_directories: ...
355
- def __len__(self) -> int: ...
356
- def __next__(self) -> lief.PE.DataDirectory: ...
357
-
358
- class it_debug:
359
- def __init__(self, *args, **kwargs) -> None: ...
360
- def __getitem__(self, arg: int, /) -> lief.PE.Debug: ...
361
- def __iter__(self) -> lief.PE.Binary.it_debug: ...
362
- def __len__(self) -> int: ...
363
- def __next__(self) -> lief.PE.Debug: ...
364
-
365
- class it_delay_imports:
366
- def __init__(self, *args, **kwargs) -> None: ...
367
- def __getitem__(self, arg: int, /) -> lief.PE.DelayImport: ...
368
- def __iter__(self) -> lief.PE.Binary.it_delay_imports: ...
369
- def __len__(self) -> int: ...
370
- def __next__(self) -> lief.PE.DelayImport: ...
371
-
372
- class it_imports:
373
- def __init__(self, *args, **kwargs) -> None: ...
374
- def __getitem__(self, arg: int, /) -> lief.PE.Import: ...
375
- def __iter__(self) -> lief.PE.Binary.it_imports: ...
376
- def __len__(self) -> int: ...
377
- def __next__(self) -> lief.PE.Import: ...
378
-
379
- class it_relocations:
380
- def __init__(self, *args, **kwargs) -> None: ...
381
- def __getitem__(self, arg: int, /) -> lief.PE.Relocation: ...
382
- def __iter__(self) -> lief.PE.Binary.it_relocations: ...
383
- def __len__(self) -> int: ...
384
- def __next__(self) -> lief.PE.Relocation: ...
385
-
386
- class it_section:
387
- def __init__(self, *args, **kwargs) -> None: ...
388
- def __getitem__(self, arg: int, /) -> lief.PE.Section: ...
389
- def __iter__(self) -> lief.PE.Binary.it_section: ...
390
- def __len__(self) -> int: ...
391
- def __next__(self) -> lief.PE.Section: ...
392
-
393
- class it_symbols:
394
- def __init__(self, *args, **kwargs) -> None: ...
395
- def __getitem__(self, arg: int, /) -> lief.PE.Symbol: ...
396
- def __iter__(self) -> lief.PE.Binary.it_symbols: ...
397
- def __len__(self) -> int: ...
398
- def __next__(self) -> lief.PE.Symbol: ...
399
- dos_stub: memoryview
400
- rich_header: lief.PE.RichHeader
401
- tls: lief.PE.TLS
402
- def __init__(self, type: lief.PE.PE_TYPE) -> None: ...
403
- def add_import_function(self, import_name: str, function_name: str) -> lief.PE.ImportEntry: ...
404
- def add_library(self, import_name: str) -> lief.PE.Import: ...
405
- def add_relocation(self, relocation: lief.PE.Relocation) -> lief.PE.Relocation: ...
406
- def add_section(self, section: lief.PE.Section, type: lief.PE.SECTION_TYPES = ...) -> lief.PE.Section: ...
407
- def authentihash(self, algorithm: lief.PE.ALGORITHMS) -> bytes: ...
408
- def compute_checksum(self) -> int: ...
409
- def data_directory(self, type: lief.PE.DataDirectory.TYPES) -> lief.PE.DataDirectory: ...
410
- def get_delay_import(self, import_name: str) -> lief.PE.DelayImport: ...
411
- def get_export(self) -> lief.PE.Export: ...
412
- def get_import(self, import_name: str) -> lief.PE.Import: ...
413
- def get_section(self, section_name: str) -> lief.PE.Section: ...
414
- def has_delay_import(self, import_name: str) -> bool: ...
415
- def has_import(self, import_name: str) -> bool: ...
416
- def predict_function_rva(self, library: str, function: str) -> int: ...
417
- def remove(self, section: lief.PE.Section, clear: bool = ...) -> None: ...
418
- def remove_all_libraries(self) -> None: ...
419
- def remove_all_relocations(self) -> None: ...
420
- def remove_library(self, import_name: str) -> None: ...
421
- def rva_to_offset(self, rva_address: int) -> int: ...
422
- def section_from_offset(self, offset: int) -> lief.PE.Section: ...
423
- def section_from_rva(self, rva: int) -> lief.PE.Section: ...
424
- def va_to_offset(self, va_address: int) -> int: ...
425
- @overload
426
- def verify_signature(self, checks: lief.PE.Signature.VERIFICATION_CHECKS = ...) -> lief.PE.Signature.VERIFICATION_FLAGS: ...
427
- @overload
428
- def verify_signature(self, signature: lief.PE.Signature, checks: lief.PE.Signature.VERIFICATION_CHECKS = ...) -> lief.PE.Signature.VERIFICATION_FLAGS: ...
429
- def write(self, output_path: str) -> None: ...
430
- @property
431
- def authentihash_md5(self) -> bytes: ...
432
- @property
433
- def authentihash_sha1(self) -> bytes: ...
434
- @property
435
- def authentihash_sha256(self) -> bytes: ...
436
- @property
437
- def authentihash_sha512(self) -> bytes: ...
438
- @property
439
- def codeview_pdb(self) -> lief.PE.CodeViewPDB: ...
440
- @property
441
- def data_directories(self) -> lief.PE.Binary.it_data_directories: ...
442
- @property
443
- def debug(self) -> lief.PE.Binary.it_debug: ...
444
- @property
445
- def delay_imports(self) -> lief.PE.Binary.it_delay_imports: ...
446
- @property
447
- def dos_header(self) -> lief.PE.DosHeader: ...
448
- @property
449
- def exception_functions(self) -> list[lief.Function]: ...
450
- @property
451
- def functions(self) -> list[lief.Function]: ...
452
- @property
453
- def has_configuration(self) -> bool: ...
454
- @property
455
- def has_debug(self) -> bool: ...
456
- @property
457
- def has_delay_imports(self) -> bool: ...
458
- @property
459
- def has_exceptions(self) -> bool: ...
460
- @property
461
- def has_exports(self) -> bool: ...
462
- @property
463
- def has_imports(self) -> bool: ...
464
- @property
465
- def has_relocations(self) -> bool: ...
466
- @property
467
- def has_resources(self) -> bool: ...
468
- @property
469
- def has_rich_header(self) -> bool: ...
470
- @property
471
- def has_signatures(self) -> bool: ...
472
- @property
473
- def has_tls(self) -> bool: ...
474
- @property
475
- def header(self) -> lief.PE.Header: ... # type: ignore
476
- @property
477
- def imports(self) -> lief.PE.Binary.it_imports: ...
478
- @property
479
- def is_reproducible_build(self) -> bool: ...
480
- @property
481
- def load_configuration(self) -> lief.PE.LoadConfiguration: ...
482
- @property
483
- def optional_header(self) -> lief.PE.OptionalHeader: ...
484
- @property
485
- def overlay(self) -> memoryview: ...
486
- @property
487
- def overlay_offset(self) -> int: ...
488
- @property
489
- def relocations(self) -> lief.PE.Binary.it_relocations: ... # type: ignore
490
- @property
491
- def resources(self) -> lief.PE.ResourceNode: ...
492
- @property
493
- def resources_manager(self) -> Union[lief.PE.ResourcesManager,lief.lief_errors]: ...
494
- @property
495
- def sections(self) -> lief.PE.Binary.it_section: ... # type: ignore
496
- @property
497
- def signatures(self) -> lief.PE.Binary.it_const_signatures: ...
498
- @property
499
- def sizeof_headers(self) -> int: ...
500
- @property
501
- def symbols(self) -> list[lief.PE.Symbol]: ... # type: ignore
502
- @property
503
- def virtual_size(self) -> int: ...
504
-
505
- class Builder:
506
- def __init__(self, pe_binary: lief.PE.Binary) -> None: ...
507
- def build(self) -> Union[lief.ok_t,lief.lief_errors]: ...
508
- def build_dos_stub(self, enable: bool = ...) -> lief.PE.Builder: ...
509
- def build_imports(self, enable: bool = ...) -> lief.PE.Builder: ...
510
- def build_overlay(self, enable: bool = ...) -> lief.PE.Builder: ...
511
- def build_relocations(self, enable: bool = ...) -> lief.PE.Builder: ...
512
- def build_resources(self, enable: bool = ...) -> lief.PE.Builder: ...
513
- def build_tls(self, enable: bool = ...) -> lief.PE.Builder: ...
514
- def get_build(self) -> list[int]: ...
515
- def patch_imports(self, enable: bool = ...) -> lief.PE.Builder: ...
516
- def write(self, output: str) -> None: ...
517
-
518
- class CODE_PAGES:
519
- ASMO_708: ClassVar[CODE_PAGES] = ...
520
- BIG5: ClassVar[CODE_PAGES] = ...
521
- CP1025: ClassVar[CODE_PAGES] = ...
522
- CP866: ClassVar[CODE_PAGES] = ...
523
- CP875: ClassVar[CODE_PAGES] = ...
524
- CSISO2022JP: ClassVar[CODE_PAGES] = ...
525
- DOS_720: ClassVar[CODE_PAGES] = ...
526
- DOS_862: ClassVar[CODE_PAGES] = ...
527
- EUC_CN: ClassVar[CODE_PAGES] = ...
528
- EUC_JP: ClassVar[CODE_PAGES] = ...
529
- EUC_JP_JIS: ClassVar[CODE_PAGES] = ...
530
- EUC_KR: ClassVar[CODE_PAGES] = ...
531
- GB18030: ClassVar[CODE_PAGES] = ...
532
- GB2312: ClassVar[CODE_PAGES] = ...
533
- HZ_GB_2312: ClassVar[CODE_PAGES] = ...
534
- IBM00858: ClassVar[CODE_PAGES] = ...
535
- IBM00924: ClassVar[CODE_PAGES] = ...
536
- IBM01047: ClassVar[CODE_PAGES] = ...
537
- IBM01140: ClassVar[CODE_PAGES] = ...
538
- IBM01141: ClassVar[CODE_PAGES] = ...
539
- IBM01142: ClassVar[CODE_PAGES] = ...
540
- IBM01143: ClassVar[CODE_PAGES] = ...
541
- IBM01144: ClassVar[CODE_PAGES] = ...
542
- IBM01145: ClassVar[CODE_PAGES] = ...
543
- IBM01146: ClassVar[CODE_PAGES] = ...
544
- IBM01147: ClassVar[CODE_PAGES] = ...
545
- IBM01148: ClassVar[CODE_PAGES] = ...
546
- IBM01149: ClassVar[CODE_PAGES] = ...
547
- IBM037: ClassVar[CODE_PAGES] = ...
548
- IBM1026: ClassVar[CODE_PAGES] = ...
549
- IBM273: ClassVar[CODE_PAGES] = ...
550
- IBM277: ClassVar[CODE_PAGES] = ...
551
- IBM278: ClassVar[CODE_PAGES] = ...
552
- IBM280: ClassVar[CODE_PAGES] = ...
553
- IBM284: ClassVar[CODE_PAGES] = ...
554
- IBM285: ClassVar[CODE_PAGES] = ...
555
- IBM290: ClassVar[CODE_PAGES] = ...
556
- IBM297: ClassVar[CODE_PAGES] = ...
557
- IBM420: ClassVar[CODE_PAGES] = ...
558
- IBM423: ClassVar[CODE_PAGES] = ...
559
- IBM424: ClassVar[CODE_PAGES] = ...
560
- IBM437: ClassVar[CODE_PAGES] = ...
561
- IBM500: ClassVar[CODE_PAGES] = ...
562
- IBM737: ClassVar[CODE_PAGES] = ...
563
- IBM775: ClassVar[CODE_PAGES] = ...
564
- IBM850: ClassVar[CODE_PAGES] = ...
565
- IBM852: ClassVar[CODE_PAGES] = ...
566
- IBM855: ClassVar[CODE_PAGES] = ...
567
- IBM857: ClassVar[CODE_PAGES] = ...
568
- IBM860: ClassVar[CODE_PAGES] = ...
569
- IBM861: ClassVar[CODE_PAGES] = ...
570
- IBM863: ClassVar[CODE_PAGES] = ...
571
- IBM864: ClassVar[CODE_PAGES] = ...
572
- IBM865: ClassVar[CODE_PAGES] = ...
573
- IBM869: ClassVar[CODE_PAGES] = ...
574
- IBM870: ClassVar[CODE_PAGES] = ...
575
- IBM871: ClassVar[CODE_PAGES] = ...
576
- IBM880: ClassVar[CODE_PAGES] = ...
577
- IBM905: ClassVar[CODE_PAGES] = ...
578
- IBM_THAI: ClassVar[CODE_PAGES] = ...
579
- ISO_2022_JP: ClassVar[CODE_PAGES] = ...
580
- ISO_2022_JP_JIS: ClassVar[CODE_PAGES] = ...
581
- ISO_2022_KR: ClassVar[CODE_PAGES] = ...
582
- ISO_8859_1: ClassVar[CODE_PAGES] = ...
583
- ISO_8859_13: ClassVar[CODE_PAGES] = ...
584
- ISO_8859_15: ClassVar[CODE_PAGES] = ...
585
- ISO_8859_2: ClassVar[CODE_PAGES] = ...
586
- ISO_8859_3: ClassVar[CODE_PAGES] = ...
587
- ISO_8859_4: ClassVar[CODE_PAGES] = ...
588
- ISO_8859_5: ClassVar[CODE_PAGES] = ...
589
- ISO_8859_6: ClassVar[CODE_PAGES] = ...
590
- ISO_8859_7: ClassVar[CODE_PAGES] = ...
591
- ISO_8859_8: ClassVar[CODE_PAGES] = ...
592
- ISO_8859_8_I: ClassVar[CODE_PAGES] = ...
593
- ISO_8859_9: ClassVar[CODE_PAGES] = ...
594
- JOHAB: ClassVar[CODE_PAGES] = ...
595
- KOI8_R: ClassVar[CODE_PAGES] = ...
596
- KOI8_U: ClassVar[CODE_PAGES] = ...
597
- KS_C_5601_1987: ClassVar[CODE_PAGES] = ...
598
- MACINTOSH: ClassVar[CODE_PAGES] = ...
599
- SHIFT_JIS: ClassVar[CODE_PAGES] = ...
600
- UNICODEFFFE: ClassVar[CODE_PAGES] = ...
601
- US_ASCII: ClassVar[CODE_PAGES] = ...
602
- UTF_16: ClassVar[CODE_PAGES] = ...
603
- UTF_32: ClassVar[CODE_PAGES] = ...
604
- UTF_32BE: ClassVar[CODE_PAGES] = ...
605
- UTF_7: ClassVar[CODE_PAGES] = ...
606
- UTF_8: ClassVar[CODE_PAGES] = ...
607
- WINDOWS_1250: ClassVar[CODE_PAGES] = ...
608
- WINDOWS_1251: ClassVar[CODE_PAGES] = ...
609
- WINDOWS_1252: ClassVar[CODE_PAGES] = ...
610
- WINDOWS_1253: ClassVar[CODE_PAGES] = ...
611
- WINDOWS_1254: ClassVar[CODE_PAGES] = ...
612
- WINDOWS_1255: ClassVar[CODE_PAGES] = ...
613
- WINDOWS_1256: ClassVar[CODE_PAGES] = ...
614
- WINDOWS_1257: ClassVar[CODE_PAGES] = ...
615
- WINDOWS_1258: ClassVar[CODE_PAGES] = ...
616
- WINDOWS_874: ClassVar[CODE_PAGES] = ...
617
- X_CHINESE_CNS: ClassVar[CODE_PAGES] = ...
618
- X_CHINESE_ETEN: ClassVar[CODE_PAGES] = ...
619
- X_CP20001: ClassVar[CODE_PAGES] = ...
620
- X_CP20003: ClassVar[CODE_PAGES] = ...
621
- X_CP20004: ClassVar[CODE_PAGES] = ...
622
- X_CP20005: ClassVar[CODE_PAGES] = ...
623
- X_CP20261: ClassVar[CODE_PAGES] = ...
624
- X_CP20269: ClassVar[CODE_PAGES] = ...
625
- X_CP20936: ClassVar[CODE_PAGES] = ...
626
- X_CP20949: ClassVar[CODE_PAGES] = ...
627
- X_CP50227: ClassVar[CODE_PAGES] = ...
628
- X_EBCDIC_KOREANEXTENDED: ClassVar[CODE_PAGES] = ...
629
- X_EUROPA: ClassVar[CODE_PAGES] = ...
630
- X_IA5: ClassVar[CODE_PAGES] = ...
631
- X_IA5_GERMAN: ClassVar[CODE_PAGES] = ...
632
- X_IA5_NORWEGIAN: ClassVar[CODE_PAGES] = ...
633
- X_IA5_SWEDISH: ClassVar[CODE_PAGES] = ...
634
- X_ISCII_AS: ClassVar[CODE_PAGES] = ...
635
- X_ISCII_BE: ClassVar[CODE_PAGES] = ...
636
- X_ISCII_DE: ClassVar[CODE_PAGES] = ...
637
- X_ISCII_GU: ClassVar[CODE_PAGES] = ...
638
- X_ISCII_KA: ClassVar[CODE_PAGES] = ...
639
- X_ISCII_MA: ClassVar[CODE_PAGES] = ...
640
- X_ISCII_OR: ClassVar[CODE_PAGES] = ...
641
- X_ISCII_PA: ClassVar[CODE_PAGES] = ...
642
- X_ISCII_TA: ClassVar[CODE_PAGES] = ...
643
- X_ISCII_TE: ClassVar[CODE_PAGES] = ...
644
- X_MAC_ARABIC: ClassVar[CODE_PAGES] = ...
645
- X_MAC_CE: ClassVar[CODE_PAGES] = ...
646
- X_MAC_CHINESESIMP: ClassVar[CODE_PAGES] = ...
647
- X_MAC_CHINESETRAD: ClassVar[CODE_PAGES] = ...
648
- X_MAC_CROATIAN: ClassVar[CODE_PAGES] = ...
649
- X_MAC_CYRILLIC: ClassVar[CODE_PAGES] = ...
650
- X_MAC_GREEK: ClassVar[CODE_PAGES] = ...
651
- X_MAC_HEBREW: ClassVar[CODE_PAGES] = ...
652
- X_MAC_ICELANDIC: ClassVar[CODE_PAGES] = ...
653
- X_MAC_JAPANESE: ClassVar[CODE_PAGES] = ...
654
- X_MAC_KOREAN: ClassVar[CODE_PAGES] = ...
655
- X_MAC_ROMANIAN: ClassVar[CODE_PAGES] = ...
656
- X_MAC_THAI: ClassVar[CODE_PAGES] = ...
657
- X_MAC_TURKISH: ClassVar[CODE_PAGES] = ...
658
- X_MAC_UKRAINIAN: ClassVar[CODE_PAGES] = ...
659
- __name__: str
660
- def __init__(self, *args, **kwargs) -> None: ...
661
- @staticmethod
662
- def from_value(arg: int, /) -> lief.PE.CODE_PAGES: ...
663
- def __ge__(self, other) -> bool: ...
664
- def __gt__(self, other) -> bool: ...
665
- def __hash__(self) -> int: ...
666
- def __index__(self) -> Any: ...
667
- def __int__(self) -> int: ...
668
- def __le__(self, other) -> bool: ...
669
- def __lt__(self, other) -> bool: ...
670
- @property
671
- def value(self) -> int: ...
672
-
673
- class CodeIntegrity(lief.Object):
674
- catalog: int
675
- catalog_offset: int
676
- flags: int
677
- reserved: int
678
- def __init__(self) -> None: ...
679
-
680
- class CodeView(Debug):
681
- class SIGNATURES:
682
- CV_41: ClassVar[CodeView.SIGNATURES] = ...
683
- CV_50: ClassVar[CodeView.SIGNATURES] = ...
684
- PDB_20: ClassVar[CodeView.SIGNATURES] = ...
685
- PDB_70: ClassVar[CodeView.SIGNATURES] = ...
686
- UNKNOWN: ClassVar[CodeView.SIGNATURES] = ...
687
- __name__: str
688
- def __init__(self, *args, **kwargs) -> None: ...
689
- @staticmethod
690
- def from_value(arg: int, /) -> lief.PE.CodeView.SIGNATURES: ...
691
- def __ge__(self, other) -> bool: ...
692
- def __gt__(self, other) -> bool: ...
693
- def __hash__(self) -> int: ...
694
- def __index__(self) -> Any: ...
695
- def __int__(self) -> int: ...
696
- def __le__(self, other) -> bool: ...
697
- def __lt__(self, other) -> bool: ...
698
- @property
699
- def value(self) -> int: ...
700
- @overload
701
- def __init__(self) -> None: ...
702
- @overload
703
- def __init__(self, arg: lief.PE.CodeView.SIGNATURES, /) -> None: ...
704
- @property
705
- def cv_signature(self) -> lief.PE.CodeView.SIGNATURES: ...
706
-
707
- class CodeViewPDB(CodeView):
708
- age: int
709
- filename: Union[str,bytes]
710
- signature: list[int]
711
- def __init__(self) -> None: ...
712
- @property
713
- def guid(self) -> str: ...
714
- @property
715
- def parent(self) -> lief.PE.CodeView: ...
716
-
717
- class ContentInfo(lief.Object):
718
- class Content(lief.Object):
719
- def __init__(self, *args, **kwargs) -> None: ...
720
- def copy(self) -> Optional[lief.PE.ContentInfo.Content]: ...
721
- @property
722
- def content_type(self) -> str: ...
723
- def __init__(self, *args, **kwargs) -> None: ...
724
- def copy(self) -> lief.PE.ContentInfo: ...
725
- @property
726
- def content_type(self) -> str: ...
727
- @property
728
- def digest(self) -> bytes: ...
729
- @property
730
- def digest_algorithm(self) -> lief.PE.ALGORITHMS: ...
731
- @property
732
- def value(self) -> lief.PE.ContentInfo.Content: ...
733
-
734
- class ContentType(Attribute):
735
- def __init__(self, *args, **kwargs) -> None: ...
736
- @property
737
- def oid(self) -> str: ...
738
-
739
- class DIALOG_BOX_STYLES:
740
- ABSALIGN: ClassVar[DIALOG_BOX_STYLES] = ...
741
- CENTER: ClassVar[DIALOG_BOX_STYLES] = ...
742
- CENTERMOUSE: ClassVar[DIALOG_BOX_STYLES] = ...
743
- CONTEXTHELP: ClassVar[DIALOG_BOX_STYLES] = ...
744
- CONTROL: ClassVar[DIALOG_BOX_STYLES] = ...
745
- D3DLOOK: ClassVar[DIALOG_BOX_STYLES] = ...
746
- FIXEDSYS: ClassVar[DIALOG_BOX_STYLES] = ...
747
- LOCALEDIT: ClassVar[DIALOG_BOX_STYLES] = ...
748
- MODALFRAME: ClassVar[DIALOG_BOX_STYLES] = ...
749
- NOFAILCREATE: ClassVar[DIALOG_BOX_STYLES] = ...
750
- NOIDLEMSG: ClassVar[DIALOG_BOX_STYLES] = ...
751
- SETFONT: ClassVar[DIALOG_BOX_STYLES] = ...
752
- SETFOREGROUND: ClassVar[DIALOG_BOX_STYLES] = ...
753
- SHELLFONT: ClassVar[DIALOG_BOX_STYLES] = ...
754
- SYSMODAL: ClassVar[DIALOG_BOX_STYLES] = ...
755
- __name__: str
756
- def __init__(self, *args, **kwargs) -> None: ...
757
- @staticmethod
758
- def from_value(arg: int, /) -> lief.PE.DIALOG_BOX_STYLES: ...
759
- def __ge__(self, other) -> bool: ...
760
- def __gt__(self, other) -> bool: ...
761
- def __hash__(self) -> int: ...
762
- def __index__(self) -> Any: ...
763
- def __int__(self) -> int: ...
764
- def __le__(self, other) -> bool: ...
765
- def __lt__(self, other) -> bool: ...
766
- @property
767
- def value(self) -> int: ...
768
-
769
- class DataDirectory(lief.Object):
770
- class TYPES:
771
- ARCHITECTURE: ClassVar[DataDirectory.TYPES] = ...
772
- BASE_RELOCATION_TABLE: ClassVar[DataDirectory.TYPES] = ...
773
- BOUND_IMPORT: ClassVar[DataDirectory.TYPES] = ...
774
- CERTIFICATE_TABLE: ClassVar[DataDirectory.TYPES] = ...
775
- CLR_RUNTIME_HEADER: ClassVar[DataDirectory.TYPES] = ...
776
- DEBUG_DIR: ClassVar[DataDirectory.TYPES] = ...
777
- DELAY_IMPORT_DESCRIPTOR: ClassVar[DataDirectory.TYPES] = ...
778
- EXCEPTION_TABLE: ClassVar[DataDirectory.TYPES] = ...
779
- EXPORT_TABLE: ClassVar[DataDirectory.TYPES] = ...
780
- GLOBAL_PTR: ClassVar[DataDirectory.TYPES] = ...
781
- IAT: ClassVar[DataDirectory.TYPES] = ...
782
- IMPORT_TABLE: ClassVar[DataDirectory.TYPES] = ...
783
- LOAD_CONFIG_TABLE: ClassVar[DataDirectory.TYPES] = ...
784
- RESERVED: ClassVar[DataDirectory.TYPES] = ...
785
- RESOURCE_TABLE: ClassVar[DataDirectory.TYPES] = ...
786
- TLS_TABLE: ClassVar[DataDirectory.TYPES] = ...
787
- UNKNOWN: ClassVar[DataDirectory.TYPES] = ...
788
- __name__: str
789
- def __init__(self, *args, **kwargs) -> None: ...
790
- @staticmethod
791
- def from_value(arg: int, /) -> lief.PE.DataDirectory.TYPES: ...
792
- def __ge__(self, other) -> bool: ...
793
- def __gt__(self, other) -> bool: ...
794
- def __hash__(self) -> int: ...
795
- def __index__(self) -> Any: ...
796
- def __int__(self) -> int: ...
797
- def __le__(self, other) -> bool: ...
798
- def __lt__(self, other) -> bool: ...
799
- @property
800
- def value(self) -> int: ...
801
- rva: int
802
- size: int
803
- def __init__(self) -> None: ...
804
- def copy(self) -> lief.PE.DataDirectory: ...
805
- @property
806
- def has_section(self) -> bool: ...
807
- @property
808
- def section(self) -> lief.PE.Section: ...
809
- @property
810
- def type(self) -> lief.PE.DataDirectory.TYPES: ...
811
-
812
- class Debug(lief.Object):
813
- class TYPES:
814
- BORLAND: ClassVar[Debug.TYPES] = ...
815
- CLSID: ClassVar[Debug.TYPES] = ...
816
- CODEVIEW: ClassVar[Debug.TYPES] = ...
817
- COFF: ClassVar[Debug.TYPES] = ...
818
- EXCEPTION: ClassVar[Debug.TYPES] = ...
819
- EX_DLLCHARACTERISTICS: ClassVar[Debug.TYPES] = ...
820
- FIXUP: ClassVar[Debug.TYPES] = ...
821
- FPO: ClassVar[Debug.TYPES] = ...
822
- ILTCG: ClassVar[Debug.TYPES] = ...
823
- MISC: ClassVar[Debug.TYPES] = ...
824
- MPX: ClassVar[Debug.TYPES] = ...
825
- OMAP_FROM_SRC: ClassVar[Debug.TYPES] = ...
826
- OMAP_TO_SRC: ClassVar[Debug.TYPES] = ...
827
- POGO: ClassVar[Debug.TYPES] = ...
828
- REPRO: ClassVar[Debug.TYPES] = ...
829
- RESERVED: ClassVar[Debug.TYPES] = ...
830
- UNKNOWN: ClassVar[Debug.TYPES] = ...
831
- VC_FEATURE: ClassVar[Debug.TYPES] = ...
832
- __name__: str
833
- def __init__(self, *args, **kwargs) -> None: ...
834
- @staticmethod
835
- def from_value(arg: int, /) -> lief.PE.Debug.TYPES: ...
836
- def __ge__(self, other) -> bool: ...
837
- def __gt__(self, other) -> bool: ...
838
- def __hash__(self) -> int: ...
839
- def __index__(self) -> Any: ...
840
- def __int__(self) -> int: ...
841
- def __le__(self, other) -> bool: ...
842
- def __lt__(self, other) -> bool: ...
843
- @property
844
- def value(self) -> int: ...
845
- addressof_rawdata: int
846
- characteristics: int
847
- major_version: int
848
- minor_version: int
849
- pointerto_rawdata: int
850
- sizeof_data: int
851
- timestamp: int
852
- def __init__(self) -> None: ...
853
- def copy(self) -> Optional[lief.PE.Debug]: ...
854
- @property
855
- def type(self) -> lief.PE.Debug.TYPES: ...
856
-
857
- class DelayImport(lief.Object):
858
- class it_entries:
859
- def __init__(self, *args, **kwargs) -> None: ...
860
- def __getitem__(self, arg: int, /) -> lief.PE.DelayImportEntry: ...
861
- def __iter__(self) -> lief.PE.DelayImport.it_entries: ...
862
- def __len__(self) -> int: ...
863
- def __next__(self) -> lief.PE.DelayImportEntry: ...
864
- attribute: int
865
- biat: int
866
- handle: int
867
- iat: int
868
- name: Union[str,bytes]
869
- names_table: int
870
- timestamp: int
871
- uiat: int
872
- def __init__(self, library_name: str) -> None: ...
873
- def copy(self) -> lief.PE.DelayImport: ...
874
- @property
875
- def entries(self) -> lief.PE.DelayImport.it_entries: ...
876
-
877
- class DelayImportEntry(lief.Symbol):
878
- data: int
879
- name: Union[str,bytes]
880
- def __init__(self) -> None: ...
881
- def copy(self) -> lief.PE.DelayImportEntry: ...
882
- @property
883
- def hint(self) -> int: ...
884
- @property
885
- def iat_value(self) -> int: ...
886
- @property
887
- def is_ordinal(self) -> bool: ...
888
- @property
889
- def ordinal(self) -> int: ...
890
-
891
- class DosHeader(lief.Object):
892
- addressof_new_exeheader: int
893
- addressof_relocation_table: int
894
- checksum: int
895
- file_size_in_pages: int
896
- header_size_in_paragraphs: int
897
- initial_ip: int
898
- initial_relative_cs: int
899
- initial_relative_ss: int
900
- initial_sp: int
901
- magic: int
902
- maximum_extra_paragraphs: int
903
- minimum_extra_paragraphs: int
904
- numberof_relocation: int
905
- oem_id: int
906
- oem_info: int
907
- overlay_number: int
908
- used_bytes_in_last_page: int
909
- def __init__(self, *args, **kwargs) -> None: ...
910
- def copy(self) -> lief.PE.DosHeader: ...
911
- @staticmethod
912
- def create(arg: lief.PE.PE_TYPE, /) -> lief.PE.DosHeader: ...
913
-
914
- class EXTENDED_WINDOW_STYLES:
915
- ACCEPTFILES: ClassVar[EXTENDED_WINDOW_STYLES] = ...
916
- APPWINDOW: ClassVar[EXTENDED_WINDOW_STYLES] = ...
917
- CLIENTEDGE: ClassVar[EXTENDED_WINDOW_STYLES] = ...
918
- CONTEXTHELP: ClassVar[EXTENDED_WINDOW_STYLES] = ...
919
- CONTROLPARENT: ClassVar[EXTENDED_WINDOW_STYLES] = ...
920
- DLGMODALFRAME: ClassVar[EXTENDED_WINDOW_STYLES] = ...
921
- LEFT: ClassVar[EXTENDED_WINDOW_STYLES] = ...
922
- LEFTSCROLLBAR: ClassVar[EXTENDED_WINDOW_STYLES] = ...
923
- LTRREADING: ClassVar[EXTENDED_WINDOW_STYLES] = ...
924
- MDICHILD: ClassVar[EXTENDED_WINDOW_STYLES] = ...
925
- NOPARENTNOTIFY: ClassVar[EXTENDED_WINDOW_STYLES] = ...
926
- RIGHT: ClassVar[EXTENDED_WINDOW_STYLES] = ...
927
- RIGHTSCROLLBAR: ClassVar[EXTENDED_WINDOW_STYLES] = ...
928
- RTLREADING: ClassVar[EXTENDED_WINDOW_STYLES] = ...
929
- STATICEDGE: ClassVar[EXTENDED_WINDOW_STYLES] = ...
930
- TOOLWINDOW: ClassVar[EXTENDED_WINDOW_STYLES] = ...
931
- TOPMOST: ClassVar[EXTENDED_WINDOW_STYLES] = ...
932
- TRANSPARENT: ClassVar[EXTENDED_WINDOW_STYLES] = ...
933
- WINDOWEDGE: ClassVar[EXTENDED_WINDOW_STYLES] = ...
934
- __name__: str
935
- def __init__(self, *args, **kwargs) -> None: ...
936
- @staticmethod
937
- def from_value(arg: int, /) -> lief.PE.EXTENDED_WINDOW_STYLES: ...
938
- def __ge__(self, other) -> bool: ...
939
- def __gt__(self, other) -> bool: ...
940
- def __hash__(self) -> int: ...
941
- def __index__(self) -> Any: ...
942
- def __int__(self) -> int: ...
943
- def __le__(self, other) -> bool: ...
944
- def __lt__(self, other) -> bool: ...
945
- @property
946
- def value(self) -> int: ...
947
-
948
- class Export(lief.Object):
949
- class it_entries:
950
- def __init__(self, *args, **kwargs) -> None: ...
951
- def __getitem__(self, arg: int, /) -> lief.PE.ExportEntry: ...
952
- def __iter__(self) -> lief.PE.Export.it_entries: ...
953
- def __len__(self) -> int: ...
954
- def __next__(self) -> lief.PE.ExportEntry: ...
955
- export_flags: int
956
- major_version: int
957
- minor_version: int
958
- name: Union[str,bytes]
959
- ordinal_base: int
960
- timestamp: int
961
- def __init__(self) -> None: ...
962
- def copy(self) -> lief.PE.Export: ...
963
- @property
964
- def entries(self) -> lief.PE.Export.it_entries: ...
965
-
966
- class ExportEntry(lief.Symbol):
967
- class forward_information_t:
968
- function: str
969
- library: str
970
- def __init__(self, *args, **kwargs) -> None: ...
971
- address: int
972
- is_extern: bool
973
- name: Union[str,bytes]
974
- ordinal: int
975
- def __init__(self) -> None: ...
976
- @property
977
- def forward_information(self) -> lief.PE.ExportEntry.forward_information_t: ...
978
- @property
979
- def function_rva(self) -> int: ...
980
- @property
981
- def is_forwarded(self) -> bool: ...
982
-
983
- class FIXED_VERSION_FILE_FLAGS:
984
- DEBUG: ClassVar[FIXED_VERSION_FILE_FLAGS] = ...
985
- INFOINFERRED: ClassVar[FIXED_VERSION_FILE_FLAGS] = ...
986
- PATCHED: ClassVar[FIXED_VERSION_FILE_FLAGS] = ...
987
- PRERELEASE: ClassVar[FIXED_VERSION_FILE_FLAGS] = ...
988
- PRIVATEBUILD: ClassVar[FIXED_VERSION_FILE_FLAGS] = ...
989
- SPECIALBUILD: ClassVar[FIXED_VERSION_FILE_FLAGS] = ...
990
- __name__: str
991
- def __init__(self, *args, **kwargs) -> None: ...
992
- @staticmethod
993
- def from_value(arg: int, /) -> lief.PE.FIXED_VERSION_FILE_FLAGS: ...
994
- def __ge__(self, other) -> bool: ...
995
- def __gt__(self, other) -> bool: ...
996
- def __hash__(self) -> int: ...
997
- def __index__(self) -> Any: ...
998
- def __int__(self) -> int: ...
999
- def __le__(self, other) -> bool: ...
1000
- def __lt__(self, other) -> bool: ...
1001
- @property
1002
- def value(self) -> int: ...
1003
-
1004
- class FIXED_VERSION_FILE_SUB_TYPES:
1005
- DRV_COMM: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1006
- DRV_DISPLAY: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1007
- DRV_INSTALLABLE: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1008
- DRV_KEYBOARD: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1009
- DRV_LANGUAGE: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1010
- DRV_MOUSE: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1011
- DRV_NETWORK: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1012
- DRV_PRINTER: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1013
- DRV_SOUND: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1014
- DRV_SYSTEM: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1015
- DRV_VERSIONED_PRINTER: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1016
- FONT_RASTER: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1017
- FONT_TRUETYPE: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1018
- FONT_VECTOR: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1019
- UNKNOWN: ClassVar[FIXED_VERSION_FILE_SUB_TYPES] = ...
1020
- __name__: str
1021
- def __init__(self, *args, **kwargs) -> None: ...
1022
- @staticmethod
1023
- def from_value(arg: int, /) -> lief.PE.FIXED_VERSION_FILE_SUB_TYPES: ...
1024
- def __ge__(self, other) -> bool: ...
1025
- def __gt__(self, other) -> bool: ...
1026
- def __hash__(self) -> int: ...
1027
- def __index__(self) -> Any: ...
1028
- def __int__(self) -> int: ...
1029
- def __le__(self, other) -> bool: ...
1030
- def __lt__(self, other) -> bool: ...
1031
- @property
1032
- def value(self) -> int: ...
1033
-
1034
- class FIXED_VERSION_FILE_TYPES:
1035
- APP: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1036
- DLL: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1037
- DRV: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1038
- FONT: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1039
- STATIC_LIB: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1040
- UNKNOWN: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1041
- VXD: ClassVar[FIXED_VERSION_FILE_TYPES] = ...
1042
- __name__: str
1043
- def __init__(self, *args, **kwargs) -> None: ...
1044
- @staticmethod
1045
- def from_value(arg: int, /) -> lief.PE.FIXED_VERSION_FILE_TYPES: ...
1046
- def __ge__(self, other) -> bool: ...
1047
- def __gt__(self, other) -> bool: ...
1048
- def __hash__(self) -> int: ...
1049
- def __index__(self) -> Any: ...
1050
- def __int__(self) -> int: ...
1051
- def __le__(self, other) -> bool: ...
1052
- def __lt__(self, other) -> bool: ...
1053
- @property
1054
- def value(self) -> int: ...
1055
-
1056
- class FIXED_VERSION_OS:
1057
- DOS: ClassVar[FIXED_VERSION_OS] = ...
1058
- DOS_WINDOWS16: ClassVar[FIXED_VERSION_OS] = ...
1059
- DOS_WINDOWS32: ClassVar[FIXED_VERSION_OS] = ...
1060
- NT: ClassVar[FIXED_VERSION_OS] = ...
1061
- NT_WINDOWS32: ClassVar[FIXED_VERSION_OS] = ...
1062
- OS216: ClassVar[FIXED_VERSION_OS] = ...
1063
- OS216_PM16: ClassVar[FIXED_VERSION_OS] = ...
1064
- OS232: ClassVar[FIXED_VERSION_OS] = ...
1065
- OS232_PM32: ClassVar[FIXED_VERSION_OS] = ...
1066
- PM16: ClassVar[FIXED_VERSION_OS] = ...
1067
- PM32: ClassVar[FIXED_VERSION_OS] = ...
1068
- UNKNOWN: ClassVar[FIXED_VERSION_OS] = ...
1069
- WINDOWS16: ClassVar[FIXED_VERSION_OS] = ...
1070
- WINDOWS32: ClassVar[FIXED_VERSION_OS] = ...
1071
- __name__: str
1072
- def __init__(self, *args, **kwargs) -> None: ...
1073
- @staticmethod
1074
- def from_value(arg: int, /) -> lief.PE.FIXED_VERSION_OS: ...
1075
- def __ge__(self, other) -> bool: ...
1076
- def __gt__(self, other) -> bool: ...
1077
- def __hash__(self) -> int: ...
1078
- def __index__(self) -> Any: ...
1079
- def __int__(self) -> int: ...
1080
- def __le__(self, other) -> bool: ...
1081
- def __lt__(self, other) -> bool: ...
1082
- @property
1083
- def value(self) -> int: ...
1084
-
1085
- class GenericContent(ContentInfo.Content):
1086
- def __init__(self, *args, **kwargs) -> None: ...
1087
-
1088
- class GenericType(Attribute):
1089
- def __init__(self, *args, **kwargs) -> None: ...
1090
- @property
1091
- def oid(self) -> str: ...
1092
- @property
1093
- def raw_content(self) -> memoryview: ...
1094
-
1095
- class Header(lief.Object):
1096
- class CHARACTERISTICS:
1097
- AGGRESSIVE_WS_TRIM: ClassVar[Header.CHARACTERISTICS] = ...
1098
- BYTES_REVERSED_HI: ClassVar[Header.CHARACTERISTICS] = ...
1099
- BYTES_REVERSED_LO: ClassVar[Header.CHARACTERISTICS] = ...
1100
- DEBUG_STRIPPED: ClassVar[Header.CHARACTERISTICS] = ...
1101
- DLL: ClassVar[Header.CHARACTERISTICS] = ...
1102
- EXECUTABLE_IMAGE: ClassVar[Header.CHARACTERISTICS] = ...
1103
- LARGE_ADDRESS_AWARE: ClassVar[Header.CHARACTERISTICS] = ...
1104
- LINE_NUMS_STRIPPED: ClassVar[Header.CHARACTERISTICS] = ...
1105
- LOCAL_SYMS_STRIPPED: ClassVar[Header.CHARACTERISTICS] = ...
1106
- NEED_32BIT_MACHINE: ClassVar[Header.CHARACTERISTICS] = ...
1107
- NET_RUN_FROM_SWAP: ClassVar[Header.CHARACTERISTICS] = ...
1108
- RELOCS_STRIPPED: ClassVar[Header.CHARACTERISTICS] = ...
1109
- REMOVABLE_RUN_FROM_SWAP: ClassVar[Header.CHARACTERISTICS] = ...
1110
- SYSTEM: ClassVar[Header.CHARACTERISTICS] = ...
1111
- UP_SYSTEM_ONLY: ClassVar[Header.CHARACTERISTICS] = ...
1112
- __name__: str
1113
- def __init__(self, *args, **kwargs) -> None: ...
1114
- @staticmethod
1115
- def from_value(arg: int, /) -> lief.PE.Header.CHARACTERISTICS: ...
1116
- def __abs__(self) -> Any: ...
1117
- def __add__(self, other) -> Any: ...
1118
- @overload
1119
- def __and__(self, arg: int, /) -> int: ...
1120
- @overload
1121
- def __and__(self, arg: lief.PE.Header.CHARACTERISTICS, /) -> int: ...
1122
- def __floordiv__(self, other) -> Any: ...
1123
- def __ge__(self, arg: int, /) -> bool: ...
1124
- def __gt__(self, arg: int, /) -> bool: ...
1125
- def __hash__(self) -> int: ...
1126
- def __index__(self) -> Any: ...
1127
- def __int__(self) -> int: ...
1128
- def __invert__(self) -> int: ...
1129
- def __le__(self, arg: int, /) -> bool: ...
1130
- def __lshift__(self, other) -> Any: ...
1131
- def __lt__(self, arg: int, /) -> bool: ...
1132
- def __mul__(self, other) -> Any: ...
1133
- def __neg__(self) -> Any: ...
1134
- @overload
1135
- def __or__(self, arg: int, /) -> int: ...
1136
- @overload
1137
- def __or__(self, arg: lief.PE.Header.CHARACTERISTICS, /) -> lief.PE.Header.CHARACTERISTICS: ...
1138
- def __radd__(self, other) -> Any: ...
1139
- def __rand__(self, arg: int, /) -> int: ...
1140
- def __rfloordiv__(self, other) -> Any: ...
1141
- def __rlshift__(self, other) -> Any: ...
1142
- def __rmul__(self, other) -> Any: ...
1143
- def __ror__(self, arg: int, /) -> int: ...
1144
- def __rrshift__(self, other) -> Any: ...
1145
- def __rshift__(self, other) -> Any: ...
1146
- def __rsub__(self, other) -> Any: ...
1147
- def __rxor__(self, arg: int, /) -> int: ...
1148
- def __sub__(self, other) -> Any: ...
1149
- @overload
1150
- def __xor__(self, arg: int, /) -> int: ...
1151
- @overload
1152
- def __xor__(self, arg: lief.PE.Header.CHARACTERISTICS, /) -> int: ...
1153
- @property
1154
- def value(self) -> int: ...
1155
-
1156
- class MACHINE_TYPES:
1157
- AM33: ClassVar[Header.MACHINE_TYPES] = ...
1158
- AMD64: ClassVar[Header.MACHINE_TYPES] = ...
1159
- ARM: ClassVar[Header.MACHINE_TYPES] = ...
1160
- ARM64: ClassVar[Header.MACHINE_TYPES] = ...
1161
- ARMNT: ClassVar[Header.MACHINE_TYPES] = ...
1162
- EBC: ClassVar[Header.MACHINE_TYPES] = ...
1163
- I386: ClassVar[Header.MACHINE_TYPES] = ...
1164
- IA64: ClassVar[Header.MACHINE_TYPES] = ...
1165
- M32R: ClassVar[Header.MACHINE_TYPES] = ...
1166
- MIPS16: ClassVar[Header.MACHINE_TYPES] = ...
1167
- MIPSFPU: ClassVar[Header.MACHINE_TYPES] = ...
1168
- MIPSFPU16: ClassVar[Header.MACHINE_TYPES] = ...
1169
- POWERPC: ClassVar[Header.MACHINE_TYPES] = ...
1170
- POWERPCFP: ClassVar[Header.MACHINE_TYPES] = ...
1171
- R4000: ClassVar[Header.MACHINE_TYPES] = ...
1172
- SH3: ClassVar[Header.MACHINE_TYPES] = ...
1173
- SH3DSP: ClassVar[Header.MACHINE_TYPES] = ...
1174
- SH4: ClassVar[Header.MACHINE_TYPES] = ...
1175
- SH5: ClassVar[Header.MACHINE_TYPES] = ...
1176
- THUMB: ClassVar[Header.MACHINE_TYPES] = ...
1177
- UNKNOWN: ClassVar[Header.MACHINE_TYPES] = ...
1178
- WCEMIPSV2: ClassVar[Header.MACHINE_TYPES] = ...
1179
- __name__: str
1180
- def __init__(self, *args, **kwargs) -> None: ...
1181
- @staticmethod
1182
- def from_value(arg: int, /) -> lief.PE.Header.MACHINE_TYPES: ...
1183
- def __ge__(self, other) -> bool: ...
1184
- def __gt__(self, other) -> bool: ...
1185
- def __hash__(self) -> int: ...
1186
- def __index__(self) -> Any: ...
1187
- def __int__(self) -> int: ...
1188
- def __le__(self, other) -> bool: ...
1189
- def __lt__(self, other) -> bool: ...
1190
- @property
1191
- def value(self) -> int: ...
1192
- characteristics: int
1193
- machine: lief.PE.Header.MACHINE_TYPES
1194
- numberof_sections: int
1195
- numberof_symbols: int
1196
- pointerto_symbol_table: int
1197
- signature: list[int]
1198
- sizeof_optional_header: int
1199
- time_date_stamps: int
1200
- def __init__(self, *args, **kwargs) -> None: ...
1201
- def add_characteristic(self, characteristic: lief.PE.Header.CHARACTERISTICS) -> None: ...
1202
- def copy(self) -> lief.PE.Header: ...
1203
- @staticmethod
1204
- def create(type: lief.PE.PE_TYPE) -> lief.PE.Header: ...
1205
- def has_characteristic(self, characteristic: lief.PE.Header.CHARACTERISTICS) -> bool: ...
1206
- def remove_characteristic(self, characteristic: lief.PE.Header.CHARACTERISTICS) -> None: ...
1207
- @property
1208
- def characteristics_list(self) -> list[lief.PE.Header.CHARACTERISTICS]: ...
1209
-
1210
- class IMPHASH_MODE:
1211
- DEFAULT: ClassVar[IMPHASH_MODE] = ...
1212
- LIEF: ClassVar[IMPHASH_MODE] = ...
1213
- PEFILE: ClassVar[IMPHASH_MODE] = ...
1214
- VT: ClassVar[IMPHASH_MODE] = ...
1215
- __name__: str
1216
- def __init__(self, *args, **kwargs) -> None: ...
1217
- def __ge__(self, other) -> bool: ...
1218
- def __gt__(self, other) -> bool: ...
1219
- def __hash__(self) -> int: ...
1220
- def __index__(self) -> Any: ...
1221
- def __int__(self) -> int: ...
1222
- def __le__(self, other) -> bool: ...
1223
- def __lt__(self, other) -> bool: ...
1224
-
1225
- class Import(lief.Object):
1226
- class it_entries:
1227
- def __init__(self, *args, **kwargs) -> None: ...
1228
- def __getitem__(self, arg: int, /) -> lief.PE.ImportEntry: ...
1229
- def __iter__(self) -> lief.PE.Import.it_entries: ...
1230
- def __len__(self) -> int: ...
1231
- def __next__(self) -> lief.PE.ImportEntry: ...
1232
- import_address_table_rva: int
1233
- import_lookup_table_rva: int
1234
- name: Union[str,bytes]
1235
- @overload
1236
- def __init__(self) -> None: ...
1237
- @overload
1238
- def __init__(self, library_name: str) -> None: ...
1239
- @overload
1240
- def add_entry(self, entry: lief.PE.ImportEntry) -> lief.PE.ImportEntry: ...
1241
- @overload
1242
- def add_entry(self, function_name: str) -> lief.PE.ImportEntry: ...
1243
- def get_entry(self, function_name: str) -> lief.PE.ImportEntry: ...
1244
- def get_function_rva_from_iat(self, function_name: str) -> Union[int,lief.lief_errors]: ...
1245
- @property
1246
- def directory(self) -> lief.PE.DataDirectory: ...
1247
- @property
1248
- def entries(self) -> lief.PE.Import.it_entries: ...
1249
- @property
1250
- def forwarder_chain(self) -> int: ...
1251
- @property
1252
- def iat_directory(self) -> lief.PE.DataDirectory: ...
1253
- @property
1254
- def timedatestamp(self) -> int: ...
1255
-
1256
- class ImportEntry(lief.Symbol):
1257
- data: int
1258
- name: Union[str,bytes]
1259
- @overload
1260
- def __init__(self) -> None: ...
1261
- @overload
1262
- def __init__(self, import_name: str) -> None: ...
1263
- @overload
1264
- def __init__(self, data: int, name: str = ...) -> None: ...
1265
- @overload
1266
- def __init__(self, data: int, type: lief.PE.PE_TYPE, name: str = ...) -> None: ...
1267
- @overload
1268
- def __init__(self, name: str, type: lief.PE.PE_TYPE) -> None: ...
1269
- def copy(self) -> lief.PE.ImportEntry: ...
1270
- @property
1271
- def hint(self) -> int: ...
1272
- @property
1273
- def iat_address(self) -> int: ...
1274
- @property
1275
- def iat_value(self) -> int: ...
1276
- @property
1277
- def is_ordinal(self) -> bool: ...
1278
- @property
1279
- def ordinal(self) -> int: ...
1280
-
1281
- class LangCodeItem(lief.Object):
1282
- code_page: lief.PE.CODE_PAGES
1283
- items: dict
1284
- key: str
1285
- lang: int
1286
- sublang: int
1287
- type: int
1288
- def __init__(self, *args, **kwargs) -> None: ...
1289
-
1290
- class LoadConfiguration(lief.Object):
1291
- class VERSION:
1292
- SEH: ClassVar[LoadConfiguration.VERSION] = ...
1293
- UNKNOWN: ClassVar[LoadConfiguration.VERSION] = ...
1294
- WIN_10_0_14286: ClassVar[LoadConfiguration.VERSION] = ...
1295
- WIN_10_0_14383: ClassVar[LoadConfiguration.VERSION] = ...
1296
- WIN_10_0_14901: ClassVar[LoadConfiguration.VERSION] = ...
1297
- WIN_10_0_15002: ClassVar[LoadConfiguration.VERSION] = ...
1298
- WIN_10_0_16237: ClassVar[LoadConfiguration.VERSION] = ...
1299
- WIN_10_0_18362: ClassVar[LoadConfiguration.VERSION] = ...
1300
- WIN_10_0_19534: ClassVar[LoadConfiguration.VERSION] = ...
1301
- WIN_10_0_9879: ClassVar[LoadConfiguration.VERSION] = ...
1302
- WIN_10_0_MSVC_2019: ClassVar[LoadConfiguration.VERSION] = ...
1303
- WIN_10_0_MSVC_2019_16: ClassVar[LoadConfiguration.VERSION] = ...
1304
- WIN_8_1: ClassVar[LoadConfiguration.VERSION] = ...
1305
- __name__: str
1306
- def __init__(self, *args, **kwargs) -> None: ...
1307
- @staticmethod
1308
- def from_value(arg: int, /) -> lief.PE.LoadConfiguration.VERSION: ...
1309
- def __ge__(self, other) -> bool: ...
1310
- def __gt__(self, other) -> bool: ...
1311
- def __hash__(self) -> int: ...
1312
- def __index__(self) -> Any: ...
1313
- def __int__(self) -> int: ...
1314
- def __le__(self, other) -> bool: ...
1315
- def __lt__(self, other) -> bool: ...
1316
- @property
1317
- def value(self) -> int: ...
1318
- characteristics: int
1319
- critical_section_default_timeout: int
1320
- csd_version: int
1321
- decommit_free_block_threshold: int
1322
- decommit_total_free_threshold: int
1323
- dependent_load_flags: int
1324
- editlist: int
1325
- global_flags_clear: int
1326
- global_flags_set: int
1327
- lock_prefix_table: int
1328
- major_version: int
1329
- maximum_allocation_size: int
1330
- minor_version: int
1331
- process_affinity_mask: int
1332
- process_heap_flags: int
1333
- reserved1: int
1334
- security_cookie: int
1335
- timedatestamp: int
1336
- virtual_memory_threshold: int
1337
- def __init__(self) -> None: ...
1338
- def copy(self) -> lief.PE.LoadConfiguration: ...
1339
- @property
1340
- def size(self) -> int: ...
1341
- @property
1342
- def version(self) -> lief.PE.LoadConfiguration.VERSION: ...
1343
-
1344
- class LoadConfigurationV0(LoadConfiguration):
1345
- se_handler_count: int
1346
- se_handler_table: int
1347
- def __init__(self) -> None: ...
1348
- def copy(self) -> lief.PE.LoadConfigurationV0: ...
1349
-
1350
- class LoadConfigurationV1(LoadConfigurationV0):
1351
- class IMAGE_GUARD:
1352
- CFW_INSTRUMENTED: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1353
- CF_ENABLE_EXPORT_SUPPRESSION: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1354
- CF_EXPORT_SUPPRESSION_INFO_PRESENT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1355
- CF_FUNCTION_TABLE_PRESENT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1356
- CF_INSTRUMENTED: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1357
- CF_LONGJUMP_TABLE_PRESENT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1358
- DELAYLOAD_IAT_IN_ITS_OWN_SECTION: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1359
- EH_CONTINUATION_TABLE_PRESENT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1360
- NONE: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1361
- PROTECT_DELAYLOAD_IAT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1362
- RETPOLINE_PRESENT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1363
- RF_ENABLE: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1364
- RF_INSTRUMENTED: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1365
- RF_STRICT: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1366
- SECURITY_COOKIE_UNUSED: ClassVar[LoadConfigurationV1.IMAGE_GUARD] = ...
1367
- __name__: str
1368
- def __init__(self, *args, **kwargs) -> None: ...
1369
- @staticmethod
1370
- def from_value(arg: int, /) -> lief.PE.LoadConfigurationV1.IMAGE_GUARD: ...
1371
- def __abs__(self) -> Any: ...
1372
- def __add__(self, other) -> Any: ...
1373
- @overload
1374
- def __and__(self, arg: int, /) -> int: ...
1375
- @overload
1376
- def __and__(self, arg: lief.PE.LoadConfigurationV1.IMAGE_GUARD, /) -> int: ...
1377
- def __floordiv__(self, other) -> Any: ...
1378
- def __ge__(self, arg: int, /) -> bool: ...
1379
- def __gt__(self, arg: int, /) -> bool: ...
1380
- def __hash__(self) -> int: ...
1381
- def __index__(self) -> Any: ...
1382
- def __int__(self) -> int: ...
1383
- def __invert__(self) -> int: ...
1384
- def __le__(self, arg: int, /) -> bool: ...
1385
- def __lshift__(self, other) -> Any: ...
1386
- def __lt__(self, arg: int, /) -> bool: ...
1387
- def __mul__(self, other) -> Any: ...
1388
- def __neg__(self) -> Any: ...
1389
- @overload
1390
- def __or__(self, arg: int, /) -> int: ...
1391
- @overload
1392
- def __or__(self, arg: lief.PE.LoadConfigurationV1.IMAGE_GUARD, /) -> lief.PE.LoadConfigurationV1.IMAGE_GUARD: ...
1393
- def __radd__(self, other) -> Any: ...
1394
- def __rand__(self, arg: int, /) -> int: ...
1395
- def __rfloordiv__(self, other) -> Any: ...
1396
- def __rlshift__(self, other) -> Any: ...
1397
- def __rmul__(self, other) -> Any: ...
1398
- def __ror__(self, arg: int, /) -> int: ...
1399
- def __rrshift__(self, other) -> Any: ...
1400
- def __rshift__(self, other) -> Any: ...
1401
- def __rsub__(self, other) -> Any: ...
1402
- def __rxor__(self, arg: int, /) -> int: ...
1403
- def __sub__(self, other) -> Any: ...
1404
- @overload
1405
- def __xor__(self, arg: int, /) -> int: ...
1406
- @overload
1407
- def __xor__(self, arg: lief.PE.LoadConfigurationV1.IMAGE_GUARD, /) -> int: ...
1408
- @property
1409
- def value(self) -> int: ...
1410
- guard_cf_check_function_pointer: int
1411
- guard_cf_dispatch_function_pointer: int
1412
- guard_cf_function_count: int
1413
- guard_cf_function_table: int
1414
- guard_flags: lief.PE.LoadConfigurationV1.IMAGE_GUARD
1415
- def __init__(self) -> None: ...
1416
- def copy(self) -> lief.PE.LoadConfigurationV1: ...
1417
- def has(self, flag: lief.PE.LoadConfigurationV1.IMAGE_GUARD) -> bool: ...
1418
- def __contains__(self, arg: lief.PE.LoadConfigurationV1.IMAGE_GUARD, /) -> bool: ...
1419
- @property
1420
- def guard_cf_flags_list(self) -> list[lief.PE.LoadConfigurationV1.IMAGE_GUARD]: ...
1421
-
1422
- class LoadConfigurationV10(LoadConfigurationV9):
1423
- guard_xfg_check_function_pointer: int
1424
- guard_xfg_dispatch_function_pointer: int
1425
- guard_xfg_table_dispatch_function_pointer: int
1426
- def __init__(self) -> None: ...
1427
- def copy(self) -> lief.PE.LoadConfigurationV10: ...
1428
-
1429
- class LoadConfigurationV11(LoadConfigurationV10):
1430
- cast_guard_os_determined_failure_mode: int
1431
- def __init__(self) -> None: ...
1432
- def copy(self) -> lief.PE.LoadConfigurationV11: ...
1433
-
1434
- class LoadConfigurationV2(LoadConfigurationV1):
1435
- def __init__(self) -> None: ...
1436
- def copy(self) -> lief.PE.LoadConfigurationV2: ...
1437
- @property
1438
- def code_integrity(self) -> lief.PE.CodeIntegrity: ...
1439
-
1440
- class LoadConfigurationV3(LoadConfigurationV2):
1441
- guard_address_taken_iat_entry_count: int
1442
- guard_address_taken_iat_entry_table: int
1443
- guard_long_jump_target_count: int
1444
- guard_long_jump_target_table: int
1445
- def __init__(self) -> None: ...
1446
- def copy(self) -> lief.PE.LoadConfigurationV3: ...
1447
-
1448
- class LoadConfigurationV4(LoadConfigurationV3):
1449
- dynamic_value_reloc_table: int
1450
- hybrid_metadata_pointer: int
1451
- def __init__(self) -> None: ...
1452
- def copy(self) -> lief.PE.LoadConfigurationV4: ...
1453
-
1454
- class LoadConfigurationV5(LoadConfigurationV4):
1455
- dynamic_value_reloctable_offset: int
1456
- dynamic_value_reloctable_section: int
1457
- guard_rf_failure_routine: int
1458
- guard_rf_failure_routine_function_pointer: int
1459
- reserved2: int
1460
- def __init__(self) -> None: ...
1461
- def copy(self) -> lief.PE.LoadConfigurationV5: ...
1462
-
1463
- class LoadConfigurationV6(LoadConfigurationV5):
1464
- guard_rf_verify_stackpointer_function_pointer: int
1465
- hotpatch_table_offset: int
1466
- def __init__(self) -> None: ...
1467
- def copy(self) -> lief.PE.LoadConfigurationV6: ...
1468
-
1469
- class LoadConfigurationV7(LoadConfigurationV6):
1470
- addressof_unicode_string: int
1471
- reserved3: int
1472
- def __init__(self) -> None: ...
1473
- def copy(self) -> lief.PE.LoadConfigurationV7: ...
1474
-
1475
- class LoadConfigurationV8(LoadConfigurationV7):
1476
- volatile_metadata_pointer: int
1477
- def __init__(self) -> None: ...
1478
- def copy(self) -> lief.PE.LoadConfigurationV8: ...
1479
-
1480
- class LoadConfigurationV9(LoadConfigurationV8):
1481
- guard_eh_continuation_count: int
1482
- guard_eh_continuation_table: int
1483
- def __init__(self) -> None: ...
1484
- def copy(self) -> lief.PE.LoadConfigurationV9: ...
1485
-
1486
- class MsCounterSign(Attribute):
1487
- class it_const_crt:
1488
- def __init__(self, *args, **kwargs) -> None: ...
1489
- def __getitem__(self, arg: int, /) -> lief.PE.x509: ...
1490
- def __iter__(self) -> lief.PE.MsCounterSign.it_const_crt: ...
1491
- def __len__(self) -> int: ...
1492
- def __next__(self) -> lief.PE.x509: ...
1493
-
1494
- class it_const_signers_t:
1495
- def __init__(self, *args, **kwargs) -> None: ...
1496
- def __getitem__(self, arg: int, /) -> lief.PE.SignerInfo: ...
1497
- def __iter__(self) -> lief.PE.MsCounterSign.it_const_signers_t: ...
1498
- def __len__(self) -> int: ...
1499
- def __next__(self) -> lief.PE.SignerInfo: ...
1500
- def __init__(self, *args, **kwargs) -> None: ...
1501
- @property
1502
- def certificates(self) -> lief.PE.MsCounterSign.it_const_crt: ...
1503
- @property
1504
- def content_info(self) -> lief.PE.ContentInfo: ...
1505
- @property
1506
- def digest_algorithm(self) -> lief.PE.ALGORITHMS: ...
1507
- @property
1508
- def signers(self) -> lief.PE.MsCounterSign.it_const_signers_t: ...
1509
- @property
1510
- def version(self) -> int: ...
1511
-
1512
- class MsManifestBinaryID(Attribute):
1513
- manifest_id: str
1514
- def __init__(self, *args, **kwargs) -> None: ...
1515
-
1516
- class MsSpcNestedSignature(Attribute):
1517
- def __init__(self, *args, **kwargs) -> None: ...
1518
- @property
1519
- def signature(self) -> lief.PE.Signature: ...
1520
-
1521
- class MsSpcStatementType(Attribute):
1522
- def __init__(self, *args, **kwargs) -> None: ...
1523
- @property
1524
- def oid(self) -> str: ...
1525
-
1526
- class OptionalHeader(lief.Object):
1527
- class DLL_CHARACTERISTICS:
1528
- APPCONTAINER: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1529
- DYNAMIC_BASE: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1530
- FORCE_INTEGRITY: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1531
- GUARD_CF: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1532
- HIGH_ENTROPY_VA: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1533
- NO_BIND: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1534
- NO_ISOLATION: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1535
- NO_SEH: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1536
- NX_COMPAT: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1537
- TERMINAL_SERVER_AWARE: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1538
- WDM_DRIVER: ClassVar[OptionalHeader.DLL_CHARACTERISTICS] = ...
1539
- __name__: str
1540
- def __init__(self, *args, **kwargs) -> None: ...
1541
- @staticmethod
1542
- def from_value(arg: int, /) -> lief.PE.OptionalHeader.DLL_CHARACTERISTICS: ...
1543
- def __abs__(self) -> Any: ...
1544
- def __add__(self, other) -> Any: ...
1545
- @overload
1546
- def __and__(self, arg: int, /) -> int: ...
1547
- @overload
1548
- def __and__(self, arg: lief.PE.OptionalHeader.DLL_CHARACTERISTICS, /) -> int: ...
1549
- def __floordiv__(self, other) -> Any: ...
1550
- def __ge__(self, arg: int, /) -> bool: ...
1551
- def __gt__(self, arg: int, /) -> bool: ...
1552
- def __hash__(self) -> int: ...
1553
- def __index__(self) -> Any: ...
1554
- def __int__(self) -> int: ...
1555
- def __invert__(self) -> int: ...
1556
- def __le__(self, arg: int, /) -> bool: ...
1557
- def __lshift__(self, other) -> Any: ...
1558
- def __lt__(self, arg: int, /) -> bool: ...
1559
- def __mul__(self, other) -> Any: ...
1560
- def __neg__(self) -> Any: ...
1561
- @overload
1562
- def __or__(self, arg: int, /) -> int: ...
1563
- @overload
1564
- def __or__(self, arg: lief.PE.OptionalHeader.DLL_CHARACTERISTICS, /) -> lief.PE.OptionalHeader.DLL_CHARACTERISTICS: ...
1565
- def __radd__(self, other) -> Any: ...
1566
- def __rand__(self, arg: int, /) -> int: ...
1567
- def __rfloordiv__(self, other) -> Any: ...
1568
- def __rlshift__(self, other) -> Any: ...
1569
- def __rmul__(self, other) -> Any: ...
1570
- def __ror__(self, arg: int, /) -> int: ...
1571
- def __rrshift__(self, other) -> Any: ...
1572
- def __rshift__(self, other) -> Any: ...
1573
- def __rsub__(self, other) -> Any: ...
1574
- def __rxor__(self, arg: int, /) -> int: ...
1575
- def __sub__(self, other) -> Any: ...
1576
- @overload
1577
- def __xor__(self, arg: int, /) -> int: ...
1578
- @overload
1579
- def __xor__(self, arg: lief.PE.OptionalHeader.DLL_CHARACTERISTICS, /) -> int: ...
1580
- @property
1581
- def value(self) -> int: ...
1582
-
1583
- class SUBSYSTEM:
1584
- EFI_APPLICATION: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1585
- EFI_BOOT_SERVICE_DRIVER: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1586
- EFI_ROM: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1587
- EFI_RUNTIME_DRIVER: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1588
- NATIVE: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1589
- NATIVE_WINDOWS: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1590
- OS2_CUI: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1591
- POSIX_CUI: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1592
- UNKNOWN: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1593
- WINDOWS_BOOT_APPLICATION: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1594
- WINDOWS_CE_GUI: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1595
- WINDOWS_CUI: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1596
- WINDOWS_GUI: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1597
- XBOX: ClassVar[OptionalHeader.SUBSYSTEM] = ...
1598
- __name__: str
1599
- def __init__(self, *args, **kwargs) -> None: ...
1600
- @staticmethod
1601
- def from_value(arg: int, /) -> lief.PE.OptionalHeader.SUBSYSTEM: ...
1602
- def __ge__(self, other) -> bool: ...
1603
- def __gt__(self, other) -> bool: ...
1604
- def __hash__(self) -> int: ...
1605
- def __index__(self) -> Any: ...
1606
- def __int__(self) -> int: ...
1607
- def __le__(self, other) -> bool: ...
1608
- def __lt__(self, other) -> bool: ...
1609
- @property
1610
- def value(self) -> int: ...
1611
- addressof_entrypoint: int
1612
- baseof_code: int
1613
- baseof_data: int
1614
- checksum: int
1615
- dll_characteristics: int
1616
- file_alignment: int
1617
- imagebase: int
1618
- loader_flags: int
1619
- magic: lief.PE.PE_TYPE
1620
- major_image_version: int
1621
- major_linker_version: int
1622
- major_operating_system_version: int
1623
- major_subsystem_version: int
1624
- minor_image_version: int
1625
- minor_linker_version: int
1626
- minor_operating_system_version: int
1627
- minor_subsystem_version: int
1628
- numberof_rva_and_size: int
1629
- section_alignment: int
1630
- sizeof_code: int
1631
- sizeof_headers: int
1632
- sizeof_heap_commit: int
1633
- sizeof_heap_reserve: int
1634
- sizeof_image: int
1635
- sizeof_initialized_data: int
1636
- sizeof_stack_commit: int
1637
- sizeof_stack_reserve: int
1638
- sizeof_uninitialized_data: int
1639
- subsystem: lief.PE.OptionalHeader.SUBSYSTEM
1640
- win32_version_value: int
1641
- def __init__(self, *args, **kwargs) -> None: ...
1642
- def add(self, characteristic: lief.PE.OptionalHeader.DLL_CHARACTERISTICS) -> None: ...
1643
- def copy(self) -> lief.PE.OptionalHeader: ...
1644
- @staticmethod
1645
- def create(type: lief.PE.PE_TYPE) -> lief.PE.OptionalHeader: ...
1646
- def has(self, characteristics: lief.PE.OptionalHeader.DLL_CHARACTERISTICS) -> bool: ...
1647
- def remove(self, characteristic: lief.PE.OptionalHeader.DLL_CHARACTERISTICS) -> None: ...
1648
- def __contains__(self, arg: lief.PE.OptionalHeader.DLL_CHARACTERISTICS, /) -> bool: ...
1649
- def __iadd__(self, arg: lief.PE.OptionalHeader.DLL_CHARACTERISTICS, /) -> lief.PE.OptionalHeader: ...
1650
- def __isub__(self, arg: lief.PE.OptionalHeader.DLL_CHARACTERISTICS, /) -> lief.PE.OptionalHeader: ...
1651
- @property
1652
- def dll_characteristics_lists(self) -> list[lief.PE.OptionalHeader.DLL_CHARACTERISTICS]: ...
1653
-
1654
- class PE_TYPE:
1655
- PE32: ClassVar[PE_TYPE] = ...
1656
- PE32_PLUS: ClassVar[PE_TYPE] = ...
1657
- __name__: str
1658
- def __init__(self, *args, **kwargs) -> None: ...
1659
- @staticmethod
1660
- def from_value(arg: int, /) -> lief.PE.PE_TYPE: ...
1661
- def __ge__(self, other) -> bool: ...
1662
- def __gt__(self, other) -> bool: ...
1663
- def __hash__(self) -> int: ...
1664
- def __index__(self) -> Any: ...
1665
- def __int__(self) -> int: ...
1666
- def __le__(self, other) -> bool: ...
1667
- def __lt__(self, other) -> bool: ...
1668
- @property
1669
- def value(self) -> int: ...
1670
-
1671
- class PKCS9AtSequenceNumber(Attribute):
1672
- def __init__(self, *args, **kwargs) -> None: ...
1673
- @property
1674
- def number(self) -> int: ...
1675
-
1676
- class PKCS9CounterSignature(Attribute):
1677
- def __init__(self, *args, **kwargs) -> None: ...
1678
- @property
1679
- def signer(self) -> lief.PE.SignerInfo: ...
1680
-
1681
- class PKCS9MessageDigest(Attribute):
1682
- def __init__(self, *args, **kwargs) -> None: ...
1683
- @property
1684
- def digest(self) -> bytes: ...
1685
-
1686
- class PKCS9SigningTime(Attribute):
1687
- def __init__(self, *args, **kwargs) -> None: ...
1688
- @property
1689
- def time(self) -> list[int]: ...
1690
-
1691
- class PKCS9TSTInfo(ContentInfo.Content):
1692
- def __init__(self, *args, **kwargs) -> None: ...
1693
-
1694
- class ParserConfig:
1695
- parse_exports: bool
1696
- parse_imports: bool
1697
- parse_reloc: bool
1698
- parse_rsrc: bool
1699
- parse_signature: bool
1700
- def __init__(self) -> None: ...
1701
- @property
1702
- def all(self) -> lief.PE.ParserConfig: ...
1703
-
1704
- class Pogo(Debug):
1705
- class SIGNATURES:
1706
- LCTG: ClassVar[Pogo.SIGNATURES] = ...
1707
- PGI: ClassVar[Pogo.SIGNATURES] = ...
1708
- UNKNOWN: ClassVar[Pogo.SIGNATURES] = ...
1709
- ZERO: ClassVar[Pogo.SIGNATURES] = ...
1710
- __name__: str
1711
- def __init__(self, *args, **kwargs) -> None: ...
1712
- @staticmethod
1713
- def from_value(arg: int, /) -> lief.PE.Pogo.SIGNATURES: ...
1714
- def __ge__(self, other) -> bool: ...
1715
- def __gt__(self, other) -> bool: ...
1716
- def __hash__(self) -> int: ...
1717
- def __index__(self) -> Any: ...
1718
- def __int__(self) -> int: ...
1719
- def __le__(self, other) -> bool: ...
1720
- def __lt__(self, other) -> bool: ...
1721
- @property
1722
- def value(self) -> int: ...
1723
-
1724
- class it_entries:
1725
- def __init__(self, *args, **kwargs) -> None: ...
1726
- def __getitem__(self, arg: int, /) -> lief.PE.PogoEntry: ...
1727
- def __iter__(self) -> lief.PE.Pogo.it_entries: ...
1728
- def __len__(self) -> int: ...
1729
- def __next__(self) -> lief.PE.PogoEntry: ...
1730
- def __init__(self) -> None: ...
1731
- @property
1732
- def entries(self) -> lief.PE.Pogo.it_entries: ...
1733
- @property
1734
- def signature(self) -> lief.PE.Pogo.SIGNATURES: ...
1735
-
1736
- class PogoEntry(lief.Object):
1737
- name: Union[str,bytes]
1738
- size: int
1739
- start_rva: int
1740
- def __init__(self) -> None: ...
1741
- def copy(self) -> lief.PE.PogoEntry: ...
1742
-
1743
- class RESOURCE_LANGS:
1744
- AFRIKAANS: ClassVar[RESOURCE_LANGS] = ...
1745
- ALBANIAN: ClassVar[RESOURCE_LANGS] = ...
1746
- ARABIC: ClassVar[RESOURCE_LANGS] = ...
1747
- ARMENIAN: ClassVar[RESOURCE_LANGS] = ...
1748
- ASSAMESE: ClassVar[RESOURCE_LANGS] = ...
1749
- AZERI: ClassVar[RESOURCE_LANGS] = ...
1750
- BANGLA: ClassVar[RESOURCE_LANGS] = ...
1751
- BASQUE: ClassVar[RESOURCE_LANGS] = ...
1752
- BELARUSIAN: ClassVar[RESOURCE_LANGS] = ...
1753
- BOSNIAN: ClassVar[RESOURCE_LANGS] = ...
1754
- BRETON: ClassVar[RESOURCE_LANGS] = ...
1755
- BULGARIAN: ClassVar[RESOURCE_LANGS] = ...
1756
- CATALAN: ClassVar[RESOURCE_LANGS] = ...
1757
- CHINESE: ClassVar[RESOURCE_LANGS] = ...
1758
- CORNISH: ClassVar[RESOURCE_LANGS] = ...
1759
- CROATIAN: ClassVar[RESOURCE_LANGS] = ...
1760
- CZECH: ClassVar[RESOURCE_LANGS] = ...
1761
- DANISH: ClassVar[RESOURCE_LANGS] = ...
1762
- DIVEHI: ClassVar[RESOURCE_LANGS] = ...
1763
- DUTCH: ClassVar[RESOURCE_LANGS] = ...
1764
- ENGLISH: ClassVar[RESOURCE_LANGS] = ...
1765
- ESPERANTO: ClassVar[RESOURCE_LANGS] = ...
1766
- ESTONIAN: ClassVar[RESOURCE_LANGS] = ...
1767
- FAEROESE: ClassVar[RESOURCE_LANGS] = ...
1768
- FARSI: ClassVar[RESOURCE_LANGS] = ...
1769
- FINNISH: ClassVar[RESOURCE_LANGS] = ...
1770
- FRENCH: ClassVar[RESOURCE_LANGS] = ...
1771
- GAELIC: ClassVar[RESOURCE_LANGS] = ...
1772
- GALICIAN: ClassVar[RESOURCE_LANGS] = ...
1773
- GEORGIAN: ClassVar[RESOURCE_LANGS] = ...
1774
- GERMAN: ClassVar[RESOURCE_LANGS] = ...
1775
- GREEK: ClassVar[RESOURCE_LANGS] = ...
1776
- GUJARATI: ClassVar[RESOURCE_LANGS] = ...
1777
- HEBREW: ClassVar[RESOURCE_LANGS] = ...
1778
- HINDI: ClassVar[RESOURCE_LANGS] = ...
1779
- HUNGARIAN: ClassVar[RESOURCE_LANGS] = ...
1780
- ICELANDIC: ClassVar[RESOURCE_LANGS] = ...
1781
- INDONESIAN: ClassVar[RESOURCE_LANGS] = ...
1782
- INUKTITUT: ClassVar[RESOURCE_LANGS] = ...
1783
- INVARIANT: ClassVar[RESOURCE_LANGS] = ...
1784
- IRISH: ClassVar[RESOURCE_LANGS] = ...
1785
- ITALIAN: ClassVar[RESOURCE_LANGS] = ...
1786
- JAPANESE: ClassVar[RESOURCE_LANGS] = ...
1787
- KANNADA: ClassVar[RESOURCE_LANGS] = ...
1788
- KASHMIRI: ClassVar[RESOURCE_LANGS] = ...
1789
- KAZAK: ClassVar[RESOURCE_LANGS] = ...
1790
- KONKANI: ClassVar[RESOURCE_LANGS] = ...
1791
- KOREAN: ClassVar[RESOURCE_LANGS] = ...
1792
- KYRGYZ: ClassVar[RESOURCE_LANGS] = ...
1793
- LATVIAN: ClassVar[RESOURCE_LANGS] = ...
1794
- LITHUANIAN: ClassVar[RESOURCE_LANGS] = ...
1795
- LOWER_SORBIAN: ClassVar[RESOURCE_LANGS] = ...
1796
- MACEDONIAN: ClassVar[RESOURCE_LANGS] = ...
1797
- MALAY: ClassVar[RESOURCE_LANGS] = ...
1798
- MALAYALAM: ClassVar[RESOURCE_LANGS] = ...
1799
- MALTESE: ClassVar[RESOURCE_LANGS] = ...
1800
- MANIPURI: ClassVar[RESOURCE_LANGS] = ...
1801
- MAORI: ClassVar[RESOURCE_LANGS] = ...
1802
- MARATHI: ClassVar[RESOURCE_LANGS] = ...
1803
- MONGOLIAN: ClassVar[RESOURCE_LANGS] = ...
1804
- NEPALI: ClassVar[RESOURCE_LANGS] = ...
1805
- NEUTRAL: ClassVar[RESOURCE_LANGS] = ...
1806
- NORWEGIAN: ClassVar[RESOURCE_LANGS] = ...
1807
- ORIYA: ClassVar[RESOURCE_LANGS] = ...
1808
- POLISH: ClassVar[RESOURCE_LANGS] = ...
1809
- PORTUGUESE: ClassVar[RESOURCE_LANGS] = ...
1810
- PULAR: ClassVar[RESOURCE_LANGS] = ...
1811
- PUNJABI: ClassVar[RESOURCE_LANGS] = ...
1812
- QUECHUA: ClassVar[RESOURCE_LANGS] = ...
1813
- RHAETO_ROMANCE: ClassVar[RESOURCE_LANGS] = ...
1814
- ROMANIAN: ClassVar[RESOURCE_LANGS] = ...
1815
- RUSSIAN: ClassVar[RESOURCE_LANGS] = ...
1816
- SAMI: ClassVar[RESOURCE_LANGS] = ...
1817
- SANSKRIT: ClassVar[RESOURCE_LANGS] = ...
1818
- SERBIAN: ClassVar[RESOURCE_LANGS] = ...
1819
- SINDHI: ClassVar[RESOURCE_LANGS] = ...
1820
- SLOVAK: ClassVar[RESOURCE_LANGS] = ...
1821
- SLOVENIAN: ClassVar[RESOURCE_LANGS] = ...
1822
- SORBIAN: ClassVar[RESOURCE_LANGS] = ...
1823
- SPANISH: ClassVar[RESOURCE_LANGS] = ...
1824
- SUTU: ClassVar[RESOURCE_LANGS] = ...
1825
- SWAHILI: ClassVar[RESOURCE_LANGS] = ...
1826
- SWEDISH: ClassVar[RESOURCE_LANGS] = ...
1827
- SYRIAC: ClassVar[RESOURCE_LANGS] = ...
1828
- TAMAZIGHT: ClassVar[RESOURCE_LANGS] = ...
1829
- TAMIL: ClassVar[RESOURCE_LANGS] = ...
1830
- TATAR: ClassVar[RESOURCE_LANGS] = ...
1831
- TELUGU: ClassVar[RESOURCE_LANGS] = ...
1832
- THAI: ClassVar[RESOURCE_LANGS] = ...
1833
- TIGRINYA: ClassVar[RESOURCE_LANGS] = ...
1834
- TSONGA: ClassVar[RESOURCE_LANGS] = ...
1835
- TSWANA: ClassVar[RESOURCE_LANGS] = ...
1836
- TURKISH: ClassVar[RESOURCE_LANGS] = ...
1837
- UKRAINIAN: ClassVar[RESOURCE_LANGS] = ...
1838
- URDU: ClassVar[RESOURCE_LANGS] = ...
1839
- UZBEK: ClassVar[RESOURCE_LANGS] = ...
1840
- VALENCIAN: ClassVar[RESOURCE_LANGS] = ...
1841
- VENDA: ClassVar[RESOURCE_LANGS] = ...
1842
- VIETNAMESE: ClassVar[RESOURCE_LANGS] = ...
1843
- WALON: ClassVar[RESOURCE_LANGS] = ...
1844
- WELSH: ClassVar[RESOURCE_LANGS] = ...
1845
- XHOSA: ClassVar[RESOURCE_LANGS] = ...
1846
- ZULU: ClassVar[RESOURCE_LANGS] = ...
1847
- __name__: str
1848
- def __init__(self, *args, **kwargs) -> None: ...
1849
- @staticmethod
1850
- def from_value(arg: int, /) -> lief.PE.RESOURCE_LANGS: ...
1851
- def __ge__(self, other) -> bool: ...
1852
- def __gt__(self, other) -> bool: ...
1853
- def __hash__(self) -> int: ...
1854
- def __index__(self) -> Any: ...
1855
- def __int__(self) -> int: ...
1856
- def __le__(self, other) -> bool: ...
1857
- def __lt__(self, other) -> bool: ...
1858
- @property
1859
- def value(self) -> int: ...
1860
-
1861
- class Relocation(lief.Object):
1862
- class it_entries:
1863
- def __init__(self, *args, **kwargs) -> None: ...
1864
- def __getitem__(self, arg: int, /) -> lief.PE.RelocationEntry: ...
1865
- def __iter__(self) -> lief.PE.Relocation.it_entries: ...
1866
- def __len__(self) -> int: ...
1867
- def __next__(self) -> lief.PE.RelocationEntry: ...
1868
- block_size: int
1869
- virtual_address: int
1870
- def __init__(self) -> None: ...
1871
- def add_entry(self, new_entry: lief.PE.RelocationEntry) -> lief.PE.RelocationEntry: ...
1872
- def copy(self) -> lief.PE.Relocation: ...
1873
- @property
1874
- def entries(self) -> lief.PE.Relocation.it_entries: ...
1875
-
1876
- class RelocationEntry(lief.Relocation):
1877
- class BASE_TYPES:
1878
- ABS: ClassVar[RelocationEntry.BASE_TYPES] = ...
1879
- ARM_MOV32: ClassVar[RelocationEntry.BASE_TYPES] = ...
1880
- ARM_MOV32A: ClassVar[RelocationEntry.BASE_TYPES] = ...
1881
- ARM_MOV32T: ClassVar[RelocationEntry.BASE_TYPES] = ...
1882
- DIR64: ClassVar[RelocationEntry.BASE_TYPES] = ...
1883
- HIGH: ClassVar[RelocationEntry.BASE_TYPES] = ...
1884
- HIGH3ADJ: ClassVar[RelocationEntry.BASE_TYPES] = ...
1885
- HIGHADJ: ClassVar[RelocationEntry.BASE_TYPES] = ...
1886
- HIGHLOW: ClassVar[RelocationEntry.BASE_TYPES] = ...
1887
- IA64_IMM64: ClassVar[RelocationEntry.BASE_TYPES] = ...
1888
- LOW: ClassVar[RelocationEntry.BASE_TYPES] = ...
1889
- MIPS_JMPADDR: ClassVar[RelocationEntry.BASE_TYPES] = ...
1890
- MIPS_JMPADDR16: ClassVar[RelocationEntry.BASE_TYPES] = ...
1891
- REL: ClassVar[RelocationEntry.BASE_TYPES] = ...
1892
- RISCV_HI20: ClassVar[RelocationEntry.BASE_TYPES] = ...
1893
- RISCV_LOW12I: ClassVar[RelocationEntry.BASE_TYPES] = ...
1894
- RISCV_LOW12S: ClassVar[RelocationEntry.BASE_TYPES] = ...
1895
- SECTION: ClassVar[RelocationEntry.BASE_TYPES] = ...
1896
- THUMB_MOV32: ClassVar[RelocationEntry.BASE_TYPES] = ...
1897
- UNKNOWN: ClassVar[RelocationEntry.BASE_TYPES] = ...
1898
- __name__: str
1899
- def __init__(self, *args, **kwargs) -> None: ...
1900
- @staticmethod
1901
- def from_value(arg: int, /) -> lief.PE.RelocationEntry.BASE_TYPES: ...
1902
- def __ge__(self, other) -> bool: ...
1903
- def __gt__(self, other) -> bool: ...
1904
- def __hash__(self) -> int: ...
1905
- def __index__(self) -> Any: ...
1906
- def __int__(self) -> int: ...
1907
- def __le__(self, other) -> bool: ...
1908
- def __lt__(self, other) -> bool: ...
1909
- @property
1910
- def value(self) -> int: ...
1911
- data: int
1912
- position: int
1913
- type: lief.PE.RelocationEntry.BASE_TYPES
1914
- def __init__(self) -> None: ...
1915
-
1916
- class Repro(Debug):
1917
- hash: memoryview
1918
- def __init__(self, *args, **kwargs) -> None: ...
1919
-
1920
- class ResourceAccelerator(lief.Object):
1921
- def __init__(self, *args, **kwargs) -> None: ...
1922
- @property
1923
- def ansi(self) -> int: ...
1924
- @property
1925
- def flags(self) -> int: ...
1926
- @property
1927
- def id(self) -> int: ...
1928
- @property
1929
- def padding(self) -> int: ...
1930
-
1931
- class ResourceData(ResourceNode):
1932
- code_page: int
1933
- content: memoryview
1934
- reserved: int
1935
- @overload
1936
- def __init__(self) -> None: ...
1937
- @overload
1938
- def __init__(self, content: list[int], code_page: int) -> None: ...
1939
- @property
1940
- def offset(self) -> int: ...
1941
-
1942
- class ResourceDialog(lief.Object):
1943
- class it_const_items:
1944
- def __init__(self, *args, **kwargs) -> None: ...
1945
- def __getitem__(self, arg: int, /) -> lief.PE.ResourceDialogItem: ...
1946
- def __iter__(self) -> lief.PE.ResourceDialog.it_const_items: ...
1947
- def __len__(self) -> int: ...
1948
- def __next__(self) -> lief.PE.ResourceDialogItem: ...
1949
- lang: int
1950
- sub_lang: int
1951
- def __init__(self, *args, **kwargs) -> None: ...
1952
- def has_dialogbox_style(self, style: lief.PE.DIALOG_BOX_STYLES) -> bool: ...
1953
- def has_extended_style(self, style: lief.PE.EXTENDED_WINDOW_STYLES) -> bool: ...
1954
- def has_style(self, style: lief.PE.WINDOW_STYLES) -> bool: ...
1955
- @property
1956
- def charset(self) -> int: ...
1957
- @property
1958
- def cx(self) -> int: ...
1959
- @property
1960
- def cy(self) -> int: ...
1961
- @property
1962
- def dialogbox_style_list(self) -> set[lief.PE.DIALOG_BOX_STYLES]: ...
1963
- @property
1964
- def extended_style(self) -> int: ...
1965
- @property
1966
- def extended_style_list(self) -> set[lief.PE.DIALOG_BOX_STYLES]: ...
1967
- @property
1968
- def help_id(self) -> int: ...
1969
- @property
1970
- def is_extended(self) -> bool: ...
1971
- @property
1972
- def items(self) -> lief.PE.ResourceDialog.it_const_items: ...
1973
- @property
1974
- def point_size(self) -> int: ...
1975
- @property
1976
- def signature(self) -> int: ...
1977
- @property
1978
- def style(self) -> int: ...
1979
- @property
1980
- def style_list(self) -> set[lief.PE.WINDOW_STYLES]: ...
1981
- @property
1982
- def title(self) -> str: ...
1983
- @property
1984
- def typeface(self) -> str: ...
1985
- @property
1986
- def version(self) -> int: ...
1987
- @property
1988
- def weight(self) -> int: ...
1989
- @property
1990
- def x(self) -> int: ...
1991
- @property
1992
- def y(self) -> int: ...
1993
-
1994
- class ResourceDialogItem(lief.Object):
1995
- def __init__(self, *args, **kwargs) -> None: ...
1996
- @property
1997
- def cx(self) -> int: ...
1998
- @property
1999
- def cy(self) -> int: ...
2000
- @property
2001
- def extended_style(self) -> int: ...
2002
- @property
2003
- def help_id(self) -> int: ...
2004
- @property
2005
- def id(self) -> int: ...
2006
- @property
2007
- def is_extended(self) -> bool: ...
2008
- @property
2009
- def style(self) -> int: ...
2010
- @property
2011
- def title(self) -> str: ...
2012
- @property
2013
- def x(self) -> int: ...
2014
- @property
2015
- def y(self) -> int: ...
2016
-
2017
- class ResourceDirectory(ResourceNode):
2018
- characteristics: int
2019
- major_version: int
2020
- minor_version: int
2021
- numberof_id_entries: int
2022
- numberof_name_entries: int
2023
- time_date_stamp: int
2024
- def __init__(self) -> None: ...
2025
-
2026
- class ResourceFixedFileInfo(lief.Object):
2027
- file_date_LS: int
2028
- file_date_MS: int
2029
- file_flags: int
2030
- file_flags_mask: int
2031
- file_os: lief.PE.FIXED_VERSION_OS
2032
- file_subtype: lief.PE.FIXED_VERSION_FILE_SUB_TYPES
2033
- file_type: lief.PE.FIXED_VERSION_FILE_TYPES
2034
- file_version_LS: int
2035
- file_version_MS: int
2036
- product_version_LS: int
2037
- product_version_MS: int
2038
- signature: int
2039
- struct_version: int
2040
- def __init__(self, *args, **kwargs) -> None: ...
2041
-
2042
- class ResourceIcon(lief.Object):
2043
- bit_count: int
2044
- color_count: int
2045
- height: int
2046
- id: int
2047
- lang: int
2048
- pixels: memoryview
2049
- planes: int
2050
- reserved: int
2051
- sublang: int
2052
- width: int
2053
- def __init__(self, *args, **kwargs) -> None: ...
2054
- def save(self, filepath: str) -> None: ...
2055
-
2056
- class ResourceNode(lief.Object):
2057
- class it_childs:
2058
- def __init__(self, *args, **kwargs) -> None: ...
2059
- def __getitem__(self, arg: int, /) -> lief.PE.ResourceNode: ...
2060
- def __iter__(self) -> lief.PE.ResourceNode.it_childs: ...
2061
- def __len__(self) -> int: ...
2062
- def __next__(self) -> lief.PE.ResourceNode: ...
2063
- id: int
2064
- name: Union[str,bytes]
2065
- def __init__(self, *args, **kwargs) -> None: ...
2066
- def add_data_node(self, resource_data: lief.PE.ResourceData) -> lief.PE.ResourceNode: ...
2067
- def add_directory_node(self, resource_directory: lief.PE.ResourceDirectory) -> lief.PE.ResourceNode: ...
2068
- def copy(self) -> Optional[lief.PE.ResourceNode]: ...
2069
- @overload
2070
- def delete_child(self, node: lief.PE.ResourceNode) -> None: ...
2071
- @overload
2072
- def delete_child(self, id: int) -> None: ...
2073
- @property
2074
- def childs(self) -> lief.PE.ResourceNode.it_childs: ...
2075
- @property
2076
- def depth(self) -> int: ...
2077
- @property
2078
- def has_name(self) -> bool: ...
2079
- @property
2080
- def is_data(self) -> bool: ...
2081
- @property
2082
- def is_directory(self) -> bool: ...
2083
-
2084
- class ResourceStringFileInfo(lief.Object):
2085
- key: str
2086
- langcode_items: list[lief.PE.LangCodeItem]
2087
- type: int
2088
- def __init__(self, *args, **kwargs) -> None: ...
2089
-
2090
- class ResourceStringTable(lief.Object):
2091
- def __init__(self, *args, **kwargs) -> None: ...
2092
- @property
2093
- def length(self) -> int: ...
2094
- @property
2095
- def name(self) -> str: ...
2096
-
2097
- class ResourceVarFileInfo(lief.Object):
2098
- key: str
2099
- translations: list[int]
2100
- type: int
2101
- def __init__(self, *args, **kwargs) -> None: ...
2102
-
2103
- class ResourceVersion(lief.Object):
2104
- fixed_file_info: lief.PE.ResourceFixedFileInfo
2105
- key: str
2106
- string_file_info: lief.PE.ResourceStringFileInfo
2107
- type: int
2108
- var_file_info: lief.PE.ResourceVarFileInfo
2109
- def __init__(self, *args, **kwargs) -> None: ...
2110
- def remove_fixed_file_info(self) -> None: ...
2111
- def remove_string_file_info(self) -> None: ...
2112
- def remove_var_file_info(self) -> None: ...
2113
- @property
2114
- def has_fixed_file_info(self) -> bool: ...
2115
- @property
2116
- def has_string_file_info(self) -> bool: ...
2117
- @property
2118
- def has_var_file_info(self) -> bool: ...
2119
-
2120
- class ResourcesManager(lief.Object):
2121
- class TYPE:
2122
- ACCELERATOR: ClassVar[ResourcesManager.TYPE] = ...
2123
- ANICURSOR: ClassVar[ResourcesManager.TYPE] = ...
2124
- ANIICON: ClassVar[ResourcesManager.TYPE] = ...
2125
- BITMAP: ClassVar[ResourcesManager.TYPE] = ...
2126
- CURSOR: ClassVar[ResourcesManager.TYPE] = ...
2127
- DIALOG: ClassVar[ResourcesManager.TYPE] = ...
2128
- DLGINCLUDE: ClassVar[ResourcesManager.TYPE] = ...
2129
- FONT: ClassVar[ResourcesManager.TYPE] = ...
2130
- FONTDIR: ClassVar[ResourcesManager.TYPE] = ...
2131
- GROUP_CURSOR: ClassVar[ResourcesManager.TYPE] = ...
2132
- GROUP_ICON: ClassVar[ResourcesManager.TYPE] = ...
2133
- HTML: ClassVar[ResourcesManager.TYPE] = ...
2134
- ICON: ClassVar[ResourcesManager.TYPE] = ...
2135
- MANIFEST: ClassVar[ResourcesManager.TYPE] = ...
2136
- MENU: ClassVar[ResourcesManager.TYPE] = ...
2137
- MESSAGETABLE: ClassVar[ResourcesManager.TYPE] = ...
2138
- PLUGPLAY: ClassVar[ResourcesManager.TYPE] = ...
2139
- RCDATA: ClassVar[ResourcesManager.TYPE] = ...
2140
- STRING: ClassVar[ResourcesManager.TYPE] = ...
2141
- VERSION: ClassVar[ResourcesManager.TYPE] = ...
2142
- VXD: ClassVar[ResourcesManager.TYPE] = ...
2143
- __name__: str
2144
- def __init__(self, *args, **kwargs) -> None: ...
2145
- @staticmethod
2146
- def from_value(arg: int, /) -> lief.PE.ResourcesManager.TYPE: ...
2147
- def __ge__(self, other) -> bool: ...
2148
- def __gt__(self, other) -> bool: ...
2149
- def __hash__(self) -> int: ...
2150
- def __index__(self) -> Any: ...
2151
- def __int__(self) -> int: ...
2152
- def __le__(self, other) -> bool: ...
2153
- def __lt__(self, other) -> bool: ...
2154
- @property
2155
- def value(self) -> int: ...
2156
-
2157
- class it_const_accelerators:
2158
- def __init__(self, *args, **kwargs) -> None: ...
2159
- def __getitem__(self, arg: int, /) -> lief.PE.ResourceAccelerator: ...
2160
- def __iter__(self) -> lief.PE.ResourcesManager.it_const_accelerators: ...
2161
- def __len__(self) -> int: ...
2162
- def __next__(self) -> lief.PE.ResourceAccelerator: ...
2163
-
2164
- class it_const_dialogs:
2165
- def __init__(self, *args, **kwargs) -> None: ...
2166
- def __getitem__(self, arg: int, /) -> lief.PE.ResourceDialog: ...
2167
- def __iter__(self) -> lief.PE.ResourcesManager.it_const_dialogs: ...
2168
- def __len__(self) -> int: ...
2169
- def __next__(self) -> lief.PE.ResourceDialog: ...
2170
-
2171
- class it_const_icons:
2172
- def __init__(self, *args, **kwargs) -> None: ...
2173
- def __getitem__(self, arg: int, /) -> lief.PE.ResourceIcon: ...
2174
- def __iter__(self) -> lief.PE.ResourcesManager.it_const_icons: ...
2175
- def __len__(self) -> int: ...
2176
- def __next__(self) -> lief.PE.ResourceIcon: ...
2177
-
2178
- class it_const_strings_table:
2179
- def __init__(self, *args, **kwargs) -> None: ...
2180
- def __getitem__(self, arg: int, /) -> lief.PE.ResourceStringTable: ...
2181
- def __iter__(self) -> lief.PE.ResourcesManager.it_const_strings_table: ...
2182
- def __len__(self) -> int: ...
2183
- def __next__(self) -> lief.PE.ResourceStringTable: ...
2184
- manifest: Union[str,bytes]
2185
- def __init__(self, arg: lief.PE.ResourceNode, /) -> None: ...
2186
- def add_icon(self, icon: lief.PE.ResourceIcon) -> None: ...
2187
- def change_icon(self, old_one: lief.PE.ResourceIcon, new_one: lief.PE.ResourceIcon) -> None: ...
2188
- def get_node_type(self, type: lief.PE.ResourcesManager.TYPE) -> lief.PE.ResourceNode: ...
2189
- def has_type(self, type: lief.PE.ResourcesManager.TYPE) -> bool: ...
2190
- @property
2191
- def accelerator(self) -> lief.PE.ResourcesManager.it_const_accelerators: ...
2192
- @property
2193
- def dialogs(self) -> lief.PE.ResourcesManager.it_const_dialogs: ...
2194
- @property
2195
- def has_accelerator(self) -> bool: ...
2196
- @property
2197
- def has_dialogs(self) -> bool: ...
2198
- @property
2199
- def has_html(self) -> bool: ...
2200
- @property
2201
- def has_icons(self) -> bool: ...
2202
- @property
2203
- def has_manifest(self) -> bool: ...
2204
- @property
2205
- def has_string_table(self) -> bool: ...
2206
- @property
2207
- def has_version(self) -> bool: ...
2208
- @property
2209
- def html(self) -> list[str]: ...
2210
- @property
2211
- def icons(self) -> lief.PE.ResourcesManager.it_const_icons: ...
2212
- @property
2213
- def string_table(self) -> lief.PE.ResourcesManager.it_const_strings_table: ...
2214
- @property
2215
- def types(self) -> list[lief.PE.ResourcesManager.TYPE]: ...
2216
- @property
2217
- def version(self) -> Union[lief.PE.ResourceVersion,lief.lief_errors]: ...
2218
-
2219
- class RichEntry(lief.Object):
2220
- build_id: int
2221
- count: int
2222
- id: int
2223
- @overload
2224
- def __init__(self) -> None: ...
2225
- @overload
2226
- def __init__(self, id: int, build_id: int, count: int) -> None: ...
2227
- def copy(self) -> lief.PE.RichEntry: ...
2228
-
2229
- class RichHeader(lief.Object):
2230
- class it_entries:
2231
- def __init__(self, *args, **kwargs) -> None: ...
2232
- def __getitem__(self, arg: int, /) -> lief.PE.RichEntry: ...
2233
- def __iter__(self) -> lief.PE.RichHeader.it_entries: ...
2234
- def __len__(self) -> int: ...
2235
- def __next__(self) -> lief.PE.RichEntry: ...
2236
- key: int
2237
- def __init__(self) -> None: ...
2238
- @overload
2239
- def add_entry(self, entry: lief.PE.RichEntry) -> None: ...
2240
- @overload
2241
- def add_entry(self, id: int, build_id: int, count: int) -> None: ...
2242
- def copy(self) -> lief.PE.RichHeader: ...
2243
- @overload
2244
- def hash(self, algo: lief.PE.ALGORITHMS) -> list[int]: ...
2245
- @overload
2246
- def hash(self, algo: lief.PE.ALGORITHMS, xor_key: int) -> list[int]: ...
2247
- @overload
2248
- def raw(self) -> list[int]: ...
2249
- @overload
2250
- def raw(self, xor_key: int) -> list[int]: ...
2251
- @property
2252
- def entries(self) -> lief.PE.RichHeader.it_entries: ...
2253
-
2254
- class RsaInfo:
2255
- def __init__(self, *args, **kwargs) -> None: ...
2256
- @property
2257
- def D(self) -> bytes: ...
2258
- @property
2259
- def E(self) -> bytes: ...
2260
- @property
2261
- def N(self) -> bytes: ...
2262
- @property
2263
- def P(self) -> bytes: ...
2264
- @property
2265
- def Q(self) -> bytes: ...
2266
- @property
2267
- def has_private_key(self) -> bool: ...
2268
- @property
2269
- def has_public_key(self) -> bool: ...
2270
- @property
2271
- def key_size(self) -> int: ...
2272
- @property
2273
- def __len__(self) -> int: ...
2274
-
2275
- class SECTION_TYPES:
2276
- BSS: ClassVar[SECTION_TYPES] = ...
2277
- DATA: ClassVar[SECTION_TYPES] = ...
2278
- EXPORT: ClassVar[SECTION_TYPES] = ...
2279
- IDATA: ClassVar[SECTION_TYPES] = ...
2280
- RELOCATION: ClassVar[SECTION_TYPES] = ...
2281
- RESOURCE: ClassVar[SECTION_TYPES] = ...
2282
- TEXT: ClassVar[SECTION_TYPES] = ...
2283
- TLS_: ClassVar[SECTION_TYPES] = ...
2284
- UNKNOWN: ClassVar[SECTION_TYPES] = ...
2285
- __name__: str
2286
- def __init__(self, *args, **kwargs) -> None: ...
2287
- @staticmethod
2288
- def from_value(arg: int, /) -> lief.PE.SECTION_TYPES: ...
2289
- def __ge__(self, other) -> bool: ...
2290
- def __gt__(self, other) -> bool: ...
2291
- def __hash__(self) -> int: ...
2292
- def __index__(self) -> Any: ...
2293
- def __int__(self) -> int: ...
2294
- def __le__(self, other) -> bool: ...
2295
- def __lt__(self, other) -> bool: ...
2296
- @property
2297
- def value(self) -> int: ...
2298
-
2299
- class SYMBOL_BASE_TYPES:
2300
- BYTE: ClassVar[SYMBOL_BASE_TYPES] = ...
2301
- CHAR: ClassVar[SYMBOL_BASE_TYPES] = ...
2302
- DOUBLE: ClassVar[SYMBOL_BASE_TYPES] = ...
2303
- DWORD: ClassVar[SYMBOL_BASE_TYPES] = ...
2304
- ENUM: ClassVar[SYMBOL_BASE_TYPES] = ...
2305
- FLOAT: ClassVar[SYMBOL_BASE_TYPES] = ...
2306
- INT: ClassVar[SYMBOL_BASE_TYPES] = ...
2307
- LONG: ClassVar[SYMBOL_BASE_TYPES] = ...
2308
- MOE: ClassVar[SYMBOL_BASE_TYPES] = ...
2309
- NULL: ClassVar[SYMBOL_BASE_TYPES] = ...
2310
- SHORT: ClassVar[SYMBOL_BASE_TYPES] = ...
2311
- STRUCT: ClassVar[SYMBOL_BASE_TYPES] = ...
2312
- UINT: ClassVar[SYMBOL_BASE_TYPES] = ...
2313
- UNION: ClassVar[SYMBOL_BASE_TYPES] = ...
2314
- VOID: ClassVar[SYMBOL_BASE_TYPES] = ...
2315
- WORD: ClassVar[SYMBOL_BASE_TYPES] = ...
2316
- __name__: str
2317
- def __init__(self, *args, **kwargs) -> None: ...
2318
- @staticmethod
2319
- def from_value(arg: int, /) -> lief.PE.SYMBOL_BASE_TYPES: ...
2320
- def __ge__(self, other) -> bool: ...
2321
- def __gt__(self, other) -> bool: ...
2322
- def __hash__(self) -> int: ...
2323
- def __index__(self) -> Any: ...
2324
- def __int__(self) -> int: ...
2325
- def __le__(self, other) -> bool: ...
2326
- def __lt__(self, other) -> bool: ...
2327
- @property
2328
- def value(self) -> int: ...
2329
-
2330
- class SYMBOL_COMPLEX_TYPES:
2331
- ARRAY: ClassVar[SYMBOL_COMPLEX_TYPES] = ...
2332
- COMPLEX_TYPE_SHIFT: ClassVar[SYMBOL_COMPLEX_TYPES] = ...
2333
- FUNCTION: ClassVar[SYMBOL_COMPLEX_TYPES] = ...
2334
- NULL: ClassVar[SYMBOL_COMPLEX_TYPES] = ...
2335
- POINTER: ClassVar[SYMBOL_COMPLEX_TYPES] = ...
2336
- __name__: str
2337
- def __init__(self, *args, **kwargs) -> None: ...
2338
- @staticmethod
2339
- def from_value(arg: int, /) -> lief.PE.SYMBOL_COMPLEX_TYPES: ...
2340
- def __ge__(self, other) -> bool: ...
2341
- def __gt__(self, other) -> bool: ...
2342
- def __hash__(self) -> int: ...
2343
- def __index__(self) -> Any: ...
2344
- def __int__(self) -> int: ...
2345
- def __le__(self, other) -> bool: ...
2346
- def __lt__(self, other) -> bool: ...
2347
- @property
2348
- def value(self) -> int: ...
2349
-
2350
- class SYMBOL_SECTION_NUMBER:
2351
- ABSOLUTE: ClassVar[SYMBOL_SECTION_NUMBER] = ...
2352
- DEBUG: ClassVar[SYMBOL_SECTION_NUMBER] = ...
2353
- UNDEFINED: ClassVar[SYMBOL_SECTION_NUMBER] = ...
2354
- __name__: str
2355
- def __init__(self, *args, **kwargs) -> None: ...
2356
- @staticmethod
2357
- def from_value(arg: int, /) -> lief.PE.SYMBOL_SECTION_NUMBER: ...
2358
- def __ge__(self, other) -> bool: ...
2359
- def __gt__(self, other) -> bool: ...
2360
- def __hash__(self) -> int: ...
2361
- def __index__(self) -> Any: ...
2362
- def __int__(self) -> int: ...
2363
- def __le__(self, other) -> bool: ...
2364
- def __lt__(self, other) -> bool: ...
2365
- @property
2366
- def value(self) -> int: ...
2367
-
2368
- class SYMBOL_STORAGE_CLASS:
2369
- AUTOMATIC: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2370
- BIT_FIELD: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2371
- BLOCK: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2372
- CLR_TOKEN: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2373
- END_OF_FUNCTION: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2374
- END_OF_STRUCT: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2375
- ENUM_TAG: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2376
- EXTERNAL: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2377
- EXTERNAL_DEF: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2378
- FILE: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2379
- FUNCTION: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2380
- LABEL: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2381
- MEMBER_OF_ENUM: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2382
- MEMBER_OF_STRUCT: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2383
- NULL: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2384
- REGISTER: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2385
- REGISTER_PARAM: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2386
- SECTION: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2387
- STATIC: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2388
- TYPE_DEFINITION: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2389
- UDEFINED_STATIC: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2390
- UNDEFINED_LABEL: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2391
- UNION_TAG: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2392
- WEAK_EXTERNAL: ClassVar[SYMBOL_STORAGE_CLASS] = ...
2393
- __name__: str
2394
- def __init__(self, *args, **kwargs) -> None: ...
2395
- @staticmethod
2396
- def from_value(arg: int, /) -> lief.PE.SYMBOL_STORAGE_CLASS: ...
2397
- def __ge__(self, other) -> bool: ...
2398
- def __gt__(self, other) -> bool: ...
2399
- def __hash__(self) -> int: ...
2400
- def __index__(self) -> Any: ...
2401
- def __int__(self) -> int: ...
2402
- def __le__(self, other) -> bool: ...
2403
- def __lt__(self, other) -> bool: ...
2404
- @property
2405
- def value(self) -> int: ...
2406
-
2407
- class Section(lief.Section):
2408
- class CHARACTERISTICS:
2409
- ALIGN_1024BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2410
- ALIGN_128BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2411
- ALIGN_16BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2412
- ALIGN_1BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2413
- ALIGN_2048BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2414
- ALIGN_256BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2415
- ALIGN_2BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2416
- ALIGN_32BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2417
- ALIGN_4096BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2418
- ALIGN_4BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2419
- ALIGN_512BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2420
- ALIGN_64BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2421
- ALIGN_8192BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2422
- ALIGN_8BYTES: ClassVar[Section.CHARACTERISTICS] = ...
2423
- CNT_CODE: ClassVar[Section.CHARACTERISTICS] = ...
2424
- CNT_INITIALIZED_DATA: ClassVar[Section.CHARACTERISTICS] = ...
2425
- CNT_UNINITIALIZED_DATA: ClassVar[Section.CHARACTERISTICS] = ...
2426
- GPREL: ClassVar[Section.CHARACTERISTICS] = ...
2427
- LNK_COMDAT: ClassVar[Section.CHARACTERISTICS] = ...
2428
- LNK_INFO: ClassVar[Section.CHARACTERISTICS] = ...
2429
- LNK_NRELOC_OVFL: ClassVar[Section.CHARACTERISTICS] = ...
2430
- LNK_OTHER: ClassVar[Section.CHARACTERISTICS] = ...
2431
- LNK_REMOVE: ClassVar[Section.CHARACTERISTICS] = ...
2432
- MEM_16BIT: ClassVar[Section.CHARACTERISTICS] = ...
2433
- MEM_DISCARDABLE: ClassVar[Section.CHARACTERISTICS] = ...
2434
- MEM_EXECUTE: ClassVar[Section.CHARACTERISTICS] = ...
2435
- MEM_LOCKED: ClassVar[Section.CHARACTERISTICS] = ...
2436
- MEM_NOT_CACHED: ClassVar[Section.CHARACTERISTICS] = ...
2437
- MEM_NOT_PAGED: ClassVar[Section.CHARACTERISTICS] = ...
2438
- MEM_PRELOAD: ClassVar[Section.CHARACTERISTICS] = ...
2439
- MEM_PURGEABLE: ClassVar[Section.CHARACTERISTICS] = ...
2440
- MEM_READ: ClassVar[Section.CHARACTERISTICS] = ...
2441
- MEM_SHARED: ClassVar[Section.CHARACTERISTICS] = ...
2442
- MEM_WRITE: ClassVar[Section.CHARACTERISTICS] = ...
2443
- TYPE_NO_PAD: ClassVar[Section.CHARACTERISTICS] = ...
2444
- __name__: str
2445
- def __init__(self, *args, **kwargs) -> None: ...
2446
- @staticmethod
2447
- def from_value(arg: int, /) -> lief.PE.Section.CHARACTERISTICS: ...
2448
- def __abs__(self) -> Any: ...
2449
- def __add__(self, other) -> Any: ...
2450
- @overload
2451
- def __and__(self, arg: int, /) -> int: ...
2452
- @overload
2453
- def __and__(self, arg: lief.PE.Section.CHARACTERISTICS, /) -> int: ...
2454
- def __floordiv__(self, other) -> Any: ...
2455
- def __ge__(self, arg: int, /) -> bool: ...
2456
- def __gt__(self, arg: int, /) -> bool: ...
2457
- def __hash__(self) -> int: ...
2458
- def __index__(self) -> Any: ...
2459
- def __int__(self) -> int: ...
2460
- def __invert__(self) -> int: ...
2461
- def __le__(self, arg: int, /) -> bool: ...
2462
- def __lshift__(self, other) -> Any: ...
2463
- def __lt__(self, arg: int, /) -> bool: ...
2464
- def __mul__(self, other) -> Any: ...
2465
- def __neg__(self) -> Any: ...
2466
- @overload
2467
- def __or__(self, arg: int, /) -> int: ...
2468
- @overload
2469
- def __or__(self, arg: lief.PE.Section.CHARACTERISTICS, /) -> lief.PE.Section.CHARACTERISTICS: ...
2470
- def __radd__(self, other) -> Any: ...
2471
- def __rand__(self, arg: int, /) -> int: ...
2472
- def __rfloordiv__(self, other) -> Any: ...
2473
- def __rlshift__(self, other) -> Any: ...
2474
- def __rmul__(self, other) -> Any: ...
2475
- def __ror__(self, arg: int, /) -> int: ...
2476
- def __rrshift__(self, other) -> Any: ...
2477
- def __rshift__(self, other) -> Any: ...
2478
- def __rsub__(self, other) -> Any: ...
2479
- def __rxor__(self, arg: int, /) -> int: ...
2480
- def __sub__(self, other) -> Any: ...
2481
- @overload
2482
- def __xor__(self, arg: int, /) -> int: ...
2483
- @overload
2484
- def __xor__(self, arg: lief.PE.Section.CHARACTERISTICS, /) -> int: ...
2485
- @property
2486
- def value(self) -> int: ...
2487
- characteristics: int
2488
- numberof_line_numbers: int
2489
- numberof_relocations: int
2490
- pointerto_line_numbers: int
2491
- pointerto_raw_data: int
2492
- pointerto_relocation: int
2493
- sizeof_raw_data: int
2494
- virtual_size: int
2495
- @overload
2496
- def __init__(self) -> None: ...
2497
- @overload
2498
- def __init__(self, content: list[int], name: str = ..., characteristics: int = ...) -> None: ...
2499
- @overload
2500
- def __init__(self, name: str) -> None: ...
2501
- def copy(self) -> lief.PE.Section: ...
2502
- def has_characteristic(self, characteristic: lief.PE.Section.CHARACTERISTICS) -> bool: ...
2503
- @property
2504
- def characteristics_lists(self) -> list[lief.PE.Section.CHARACTERISTICS]: ...
2505
- @property
2506
- def padding(self) -> bytes: ...
2507
-
2508
- class Signature(lief.Object):
2509
- class VERIFICATION_CHECKS:
2510
- DEFAULT: ClassVar[Signature.VERIFICATION_CHECKS] = ...
2511
- HASH_ONLY: ClassVar[Signature.VERIFICATION_CHECKS] = ...
2512
- LIFETIME_SIGNING: ClassVar[Signature.VERIFICATION_CHECKS] = ...
2513
- SKIP_CERT_TIME: ClassVar[Signature.VERIFICATION_CHECKS] = ...
2514
- __name__: str
2515
- def __init__(self, *args, **kwargs) -> None: ...
2516
- @staticmethod
2517
- def from_value(arg: int, /) -> lief.PE.Signature.VERIFICATION_CHECKS: ...
2518
- def __abs__(self) -> Any: ...
2519
- def __add__(self, other) -> Any: ...
2520
- @overload
2521
- def __and__(self, arg: int, /) -> int: ...
2522
- @overload
2523
- def __and__(self, arg: lief.PE.Signature.VERIFICATION_CHECKS, /) -> int: ...
2524
- def __floordiv__(self, other) -> Any: ...
2525
- def __ge__(self, arg: int, /) -> bool: ...
2526
- def __gt__(self, arg: int, /) -> bool: ...
2527
- def __hash__(self) -> int: ...
2528
- def __index__(self) -> Any: ...
2529
- def __int__(self) -> int: ...
2530
- def __invert__(self) -> int: ...
2531
- def __le__(self, arg: int, /) -> bool: ...
2532
- def __lshift__(self, other) -> Any: ...
2533
- def __lt__(self, arg: int, /) -> bool: ...
2534
- def __mul__(self, other) -> Any: ...
2535
- def __neg__(self) -> Any: ...
2536
- @overload
2537
- def __or__(self, arg: int, /) -> int: ...
2538
- @overload
2539
- def __or__(self, arg: lief.PE.Signature.VERIFICATION_CHECKS, /) -> lief.PE.Signature.VERIFICATION_CHECKS: ...
2540
- def __radd__(self, other) -> Any: ...
2541
- def __rand__(self, arg: int, /) -> int: ...
2542
- def __rfloordiv__(self, other) -> Any: ...
2543
- def __rlshift__(self, other) -> Any: ...
2544
- def __rmul__(self, other) -> Any: ...
2545
- def __ror__(self, arg: int, /) -> int: ...
2546
- def __rrshift__(self, other) -> Any: ...
2547
- def __rshift__(self, other) -> Any: ...
2548
- def __rsub__(self, other) -> Any: ...
2549
- def __rxor__(self, arg: int, /) -> int: ...
2550
- def __sub__(self, other) -> Any: ...
2551
- @overload
2552
- def __xor__(self, arg: int, /) -> int: ...
2553
- @overload
2554
- def __xor__(self, arg: lief.PE.Signature.VERIFICATION_CHECKS, /) -> int: ...
2555
- @property
2556
- def value(self) -> int: ...
2557
-
2558
- class VERIFICATION_FLAGS:
2559
- BAD_DIGEST: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2560
- BAD_SIGNATURE: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2561
- CERT_EXPIRED: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2562
- CERT_FUTURE: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2563
- CERT_NOT_FOUND: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2564
- CORRUPTED_AUTH_DATA: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2565
- CORRUPTED_CONTENT_INFO: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2566
- INCONSISTENT_DIGEST_ALGORITHM: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2567
- INVALID_SIGNER: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2568
- MISSING_PKCS9_MESSAGE_DIGEST: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2569
- NO_SIGNATURE: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2570
- OK: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2571
- UNSUPPORTED_ALGORITHM: ClassVar[Signature.VERIFICATION_FLAGS] = ...
2572
- __name__: str
2573
- def __init__(self, *args, **kwargs) -> None: ...
2574
- @staticmethod
2575
- def from_value(arg: int, /) -> lief.PE.Signature.VERIFICATION_FLAGS: ...
2576
- def __abs__(self) -> Any: ...
2577
- def __add__(self, other) -> Any: ...
2578
- @overload
2579
- def __and__(self, arg: int, /) -> int: ...
2580
- @overload
2581
- def __and__(self, arg: lief.PE.Signature.VERIFICATION_FLAGS, /) -> int: ...
2582
- def __floordiv__(self, other) -> Any: ...
2583
- def __ge__(self, arg: int, /) -> bool: ...
2584
- def __gt__(self, arg: int, /) -> bool: ...
2585
- def __hash__(self) -> int: ...
2586
- def __index__(self) -> Any: ...
2587
- def __int__(self) -> int: ...
2588
- def __invert__(self) -> int: ...
2589
- def __le__(self, arg: int, /) -> bool: ...
2590
- def __lshift__(self, other) -> Any: ...
2591
- def __lt__(self, arg: int, /) -> bool: ...
2592
- def __mul__(self, other) -> Any: ...
2593
- def __neg__(self) -> Any: ...
2594
- @overload
2595
- def __or__(self, arg: int, /) -> int: ...
2596
- @overload
2597
- def __or__(self, arg: lief.PE.Signature.VERIFICATION_FLAGS, /) -> lief.PE.Signature.VERIFICATION_FLAGS: ...
2598
- def __radd__(self, other) -> Any: ...
2599
- def __rand__(self, arg: int, /) -> int: ...
2600
- def __rfloordiv__(self, other) -> Any: ...
2601
- def __rlshift__(self, other) -> Any: ...
2602
- def __rmul__(self, other) -> Any: ...
2603
- def __ror__(self, arg: int, /) -> int: ...
2604
- def __rrshift__(self, other) -> Any: ...
2605
- def __rshift__(self, other) -> Any: ...
2606
- def __rsub__(self, other) -> Any: ...
2607
- def __rxor__(self, arg: int, /) -> int: ...
2608
- def __sub__(self, other) -> Any: ...
2609
- @overload
2610
- def __xor__(self, arg: int, /) -> int: ...
2611
- @overload
2612
- def __xor__(self, arg: lief.PE.Signature.VERIFICATION_FLAGS, /) -> int: ...
2613
- @property
2614
- def value(self) -> int: ...
2615
-
2616
- class it_const_crt:
2617
- def __init__(self, *args, **kwargs) -> None: ...
2618
- def __getitem__(self, arg: int, /) -> lief.PE.x509: ...
2619
- def __iter__(self) -> lief.PE.Signature.it_const_crt: ...
2620
- def __len__(self) -> int: ...
2621
- def __next__(self) -> lief.PE.x509: ...
2622
-
2623
- class it_const_signers_t:
2624
- def __init__(self, *args, **kwargs) -> None: ...
2625
- def __getitem__(self, arg: int, /) -> lief.PE.SignerInfo: ...
2626
- def __iter__(self) -> lief.PE.Signature.it_const_signers_t: ...
2627
- def __len__(self) -> int: ...
2628
- def __next__(self) -> lief.PE.SignerInfo: ...
2629
- def __init__(self, *args, **kwargs) -> None: ...
2630
- def check(self, checks: lief.PE.Signature.VERIFICATION_CHECKS = ...) -> lief.PE.Signature.VERIFICATION_FLAGS: ...
2631
- def find_crt(self, serialno: list[int]) -> lief.PE.x509: ...
2632
- @overload
2633
- def find_crt_issuer(self, issuer: str) -> lief.PE.x509: ...
2634
- @overload
2635
- def find_crt_issuer(self, issuer: str, serialno: list[int]) -> lief.PE.x509: ...
2636
- @overload
2637
- def find_crt_subject(self, subject: str) -> lief.PE.x509: ...
2638
- @overload
2639
- def find_crt_subject(self, subject: str, serialno: list[int]) -> lief.PE.x509: ...
2640
- @overload
2641
- @staticmethod
2642
- def parse(path: str) -> Optional[lief.PE.Signature]: ...
2643
- @overload
2644
- @staticmethod
2645
- def parse(raw: list[int], skip_header: bool = ...) -> Optional[lief.PE.Signature]: ...
2646
- @property
2647
- def certificates(self) -> lief.PE.Signature.it_const_crt: ...
2648
- @property
2649
- def content_info(self) -> lief.PE.ContentInfo: ...
2650
- @property
2651
- def digest_algorithm(self) -> lief.PE.ALGORITHMS: ...
2652
- @property
2653
- def raw_der(self) -> memoryview: ...
2654
- @property
2655
- def signers(self) -> lief.PE.Signature.it_const_signers_t: ...
2656
- @property
2657
- def version(self) -> int: ...
2658
-
2659
- class SignerInfo(lief.Object):
2660
- class it_const_attributes_t:
2661
- def __init__(self, *args, **kwargs) -> None: ...
2662
- def __getitem__(self, arg: int, /) -> lief.PE.Attribute: ...
2663
- def __iter__(self) -> lief.PE.SignerInfo.it_const_attributes_t: ...
2664
- def __len__(self) -> int: ...
2665
- def __next__(self) -> lief.PE.Attribute: ...
2666
- def __init__(self, *args, **kwargs) -> None: ...
2667
- def get_attribute(self, type: lief.PE.Attribute.TYPE) -> lief.PE.Attribute: ...
2668
- def get_auth_attribute(self, type: lief.PE.Attribute.TYPE) -> lief.PE.Attribute: ...
2669
- def get_unauth_attribute(self, type: lief.PE.Attribute.TYPE) -> lief.PE.Attribute: ...
2670
- @property
2671
- def authenticated_attributes(self) -> lief.PE.SignerInfo.it_const_attributes_t: ...
2672
- @property
2673
- def cert(self) -> lief.PE.x509: ...
2674
- @property
2675
- def digest_algorithm(self) -> lief.PE.ALGORITHMS: ...
2676
- @property
2677
- def encrypted_digest(self) -> bytes: ...
2678
- @property
2679
- def encryption_algorithm(self) -> lief.PE.ALGORITHMS: ...
2680
- @property
2681
- def issuer(self) -> Union[str,bytes]: ...
2682
- @property
2683
- def serial_number(self) -> bytes: ...
2684
- @property
2685
- def unauthenticated_attributes(self) -> lief.PE.SignerInfo.it_const_attributes_t: ...
2686
- @property
2687
- def version(self) -> int: ...
2688
-
2689
- class SigningCertificateV2(Attribute):
2690
- def __init__(self, *args, **kwargs) -> None: ...
2691
-
2692
- class SpcIndirectData(ContentInfo.Content):
2693
- def __init__(self, *args, **kwargs) -> None: ...
2694
- @property
2695
- def digest(self) -> memoryview: ...
2696
- @property
2697
- def digest_algorithm(self) -> lief.PE.ALGORITHMS: ...
2698
- @property
2699
- def file(self) -> str: ...
2700
-
2701
- class SpcRelaxedPeMarkerCheck(Attribute):
2702
- def __init__(self, *args, **kwargs) -> None: ...
2703
- @property
2704
- def value(self) -> int: ...
2705
-
2706
- class SpcSpOpusInfo(Attribute):
2707
- def __init__(self, *args, **kwargs) -> None: ...
2708
- @property
2709
- def more_info(self) -> Union[str,bytes]: ...
2710
- @property
2711
- def program_name(self) -> Union[str,bytes]: ...
2712
-
2713
- class Symbol(lief.Symbol):
2714
- name: str
2715
- def __init__(self) -> None: ...
2716
- @property
2717
- def base_type(self) -> lief.PE.SYMBOL_BASE_TYPES: ...
2718
- @property
2719
- def complex_type(self) -> lief.PE.SYMBOL_COMPLEX_TYPES: ...
2720
- @property
2721
- def has_section(self) -> bool: ...
2722
- @property
2723
- def numberof_aux_symbols(self) -> int: ...
2724
- @property
2725
- def section(self) -> lief.PE.Section: ...
2726
- @property
2727
- def section_number(self) -> int: ...
2728
- @property
2729
- def storage_class(self) -> lief.PE.SYMBOL_STORAGE_CLASS: ...
2730
- @property
2731
- def type(self) -> int: ...
2732
-
2733
- class TLS(lief.Object):
2734
- addressof_callbacks: int
2735
- addressof_index: int
2736
- addressof_raw_data: tuple[int,int]
2737
- callbacks: list[int]
2738
- characteristics: int
2739
- data_template: memoryview
2740
- sizeof_zero_fill: int
2741
- def __init__(self) -> None: ...
2742
- def copy(self) -> lief.PE.TLS: ...
2743
- @property
2744
- def directory(self) -> lief.PE.DataDirectory: ...
2745
- @property
2746
- def has_data_directory(self) -> bool: ...
2747
- @property
2748
- def has_section(self) -> bool: ...
2749
- @property
2750
- def section(self) -> lief.PE.Section: ...
2751
-
2752
- class WINDOW_STYLES:
2753
- BORDER: ClassVar[WINDOW_STYLES] = ...
2754
- CAPTION: ClassVar[WINDOW_STYLES] = ...
2755
- CHILD: ClassVar[WINDOW_STYLES] = ...
2756
- CLIPCHILDREN: ClassVar[WINDOW_STYLES] = ...
2757
- CLIPSIBLINGS: ClassVar[WINDOW_STYLES] = ...
2758
- DISABLED: ClassVar[WINDOW_STYLES] = ...
2759
- DLGFRAME: ClassVar[WINDOW_STYLES] = ...
2760
- GROUP: ClassVar[WINDOW_STYLES] = ...
2761
- HSCROLL: ClassVar[WINDOW_STYLES] = ...
2762
- MAXIMIZE: ClassVar[WINDOW_STYLES] = ...
2763
- MAXIMIZEBOX: ClassVar[WINDOW_STYLES] = ...
2764
- MINIMIZE: ClassVar[WINDOW_STYLES] = ...
2765
- MINIMIZEBOX: ClassVar[WINDOW_STYLES] = ...
2766
- OVERLAPPED: ClassVar[WINDOW_STYLES] = ...
2767
- POPUP: ClassVar[WINDOW_STYLES] = ...
2768
- SYSMENU: ClassVar[WINDOW_STYLES] = ...
2769
- TABSTOP: ClassVar[WINDOW_STYLES] = ...
2770
- THICKFRAME: ClassVar[WINDOW_STYLES] = ...
2771
- VISIBLE: ClassVar[WINDOW_STYLES] = ...
2772
- VSCROLL: ClassVar[WINDOW_STYLES] = ...
2773
- __name__: str
2774
- def __init__(self, *args, **kwargs) -> None: ...
2775
- @staticmethod
2776
- def from_value(arg: int, /) -> lief.PE.WINDOW_STYLES: ...
2777
- def __ge__(self, other) -> bool: ...
2778
- def __gt__(self, other) -> bool: ...
2779
- def __hash__(self) -> int: ...
2780
- def __index__(self) -> Any: ...
2781
- def __int__(self) -> int: ...
2782
- def __le__(self, other) -> bool: ...
2783
- def __lt__(self, other) -> bool: ...
2784
- @property
2785
- def value(self) -> int: ...
2786
-
2787
- class x509(lief.Object):
2788
- class KEY_TYPES:
2789
- ECDSA: ClassVar[x509.KEY_TYPES] = ...
2790
- ECKEY: ClassVar[x509.KEY_TYPES] = ...
2791
- ECKEY_DH: ClassVar[x509.KEY_TYPES] = ...
2792
- NONE: ClassVar[x509.KEY_TYPES] = ...
2793
- RSA: ClassVar[x509.KEY_TYPES] = ...
2794
- RSASSA_PSS: ClassVar[x509.KEY_TYPES] = ...
2795
- RSA_ALT: ClassVar[x509.KEY_TYPES] = ...
2796
- __name__: str
2797
- def __init__(self, *args, **kwargs) -> None: ...
2798
- @staticmethod
2799
- def from_value(arg: int, /) -> lief.PE.x509.KEY_TYPES: ...
2800
- def __ge__(self, other) -> bool: ...
2801
- def __gt__(self, other) -> bool: ...
2802
- def __hash__(self) -> int: ...
2803
- def __index__(self) -> Any: ...
2804
- def __int__(self) -> int: ...
2805
- def __le__(self, other) -> bool: ...
2806
- def __lt__(self, other) -> bool: ...
2807
- @property
2808
- def value(self) -> int: ...
2809
-
2810
- class KEY_USAGE:
2811
- CRL_SIGN: ClassVar[x509.KEY_USAGE] = ...
2812
- DATA_ENCIPHERMENT: ClassVar[x509.KEY_USAGE] = ...
2813
- DECIPHER_ONLY: ClassVar[x509.KEY_USAGE] = ...
2814
- DIGITAL_SIGNATURE: ClassVar[x509.KEY_USAGE] = ...
2815
- ENCIPHER_ONLY: ClassVar[x509.KEY_USAGE] = ...
2816
- KEY_AGREEMENT: ClassVar[x509.KEY_USAGE] = ...
2817
- KEY_CERT_SIGN: ClassVar[x509.KEY_USAGE] = ...
2818
- KEY_ENCIPHERMENT: ClassVar[x509.KEY_USAGE] = ...
2819
- NON_REPUDIATION: ClassVar[x509.KEY_USAGE] = ...
2820
- __name__: str
2821
- def __init__(self, *args, **kwargs) -> None: ...
2822
- @staticmethod
2823
- def from_value(arg: int, /) -> lief.PE.x509.KEY_USAGE: ...
2824
- def __ge__(self, other) -> bool: ...
2825
- def __gt__(self, other) -> bool: ...
2826
- def __hash__(self) -> int: ...
2827
- def __index__(self) -> Any: ...
2828
- def __int__(self) -> int: ...
2829
- def __le__(self, other) -> bool: ...
2830
- def __lt__(self, other) -> bool: ...
2831
- @property
2832
- def value(self) -> int: ...
2833
-
2834
- class VERIFICATION_FLAGS:
2835
- BADCERT_BAD_KEY: ClassVar[x509.VERIFICATION_FLAGS] = ...
2836
- BADCERT_BAD_MD: ClassVar[x509.VERIFICATION_FLAGS] = ...
2837
- BADCERT_BAD_PK: ClassVar[x509.VERIFICATION_FLAGS] = ...
2838
- BADCERT_CN_MISMATCH: ClassVar[x509.VERIFICATION_FLAGS] = ...
2839
- BADCERT_EXPIRED: ClassVar[x509.VERIFICATION_FLAGS] = ...
2840
- BADCERT_EXT_KEY_USAGE: ClassVar[x509.VERIFICATION_FLAGS] = ...
2841
- BADCERT_FUTURE: ClassVar[x509.VERIFICATION_FLAGS] = ...
2842
- BADCERT_KEY_USAGE: ClassVar[x509.VERIFICATION_FLAGS] = ...
2843
- BADCERT_MISSING: ClassVar[x509.VERIFICATION_FLAGS] = ...
2844
- BADCERT_NOT_TRUSTED: ClassVar[x509.VERIFICATION_FLAGS] = ...
2845
- BADCERT_NS_CERT_TYPE: ClassVar[x509.VERIFICATION_FLAGS] = ...
2846
- BADCERT_OTHERNATURE: ClassVar[x509.VERIFICATION_FLAGS] = ...
2847
- BADCERT_REVOKED: ClassVar[x509.VERIFICATION_FLAGS] = ...
2848
- BADCERT_SKIP_VERIFY: ClassVar[x509.VERIFICATION_FLAGS] = ...
2849
- BADCRL_BAD_KEY: ClassVar[x509.VERIFICATION_FLAGS] = ...
2850
- BADCRL_BAD_MD: ClassVar[x509.VERIFICATION_FLAGS] = ...
2851
- BADCRL_BAD_PK: ClassVar[x509.VERIFICATION_FLAGS] = ...
2852
- BADCRL_EXPIRED: ClassVar[x509.VERIFICATION_FLAGS] = ...
2853
- BADCRL_FUTURE: ClassVar[x509.VERIFICATION_FLAGS] = ...
2854
- BADCRL_NOT_TRUSTED: ClassVar[x509.VERIFICATION_FLAGS] = ...
2855
- OK: ClassVar[x509.VERIFICATION_FLAGS] = ...
2856
- __name__: str
2857
- def __init__(self, *args, **kwargs) -> None: ...
2858
- @staticmethod
2859
- def from_value(arg: int, /) -> lief.PE.x509.VERIFICATION_FLAGS: ...
2860
- def __abs__(self) -> Any: ...
2861
- def __add__(self, other) -> Any: ...
2862
- @overload
2863
- def __and__(self, arg: int, /) -> int: ...
2864
- @overload
2865
- def __and__(self, arg: lief.PE.x509.VERIFICATION_FLAGS, /) -> int: ...
2866
- def __floordiv__(self, other) -> Any: ...
2867
- def __ge__(self, arg: int, /) -> bool: ...
2868
- def __gt__(self, arg: int, /) -> bool: ...
2869
- def __hash__(self) -> int: ...
2870
- def __index__(self) -> Any: ...
2871
- def __int__(self) -> int: ...
2872
- def __invert__(self) -> int: ...
2873
- def __le__(self, arg: int, /) -> bool: ...
2874
- def __lshift__(self, other) -> Any: ...
2875
- def __lt__(self, arg: int, /) -> bool: ...
2876
- def __mul__(self, other) -> Any: ...
2877
- def __neg__(self) -> Any: ...
2878
- @overload
2879
- def __or__(self, arg: int, /) -> int: ...
2880
- @overload
2881
- def __or__(self, arg: lief.PE.x509.VERIFICATION_FLAGS, /) -> lief.PE.x509.VERIFICATION_FLAGS: ...
2882
- def __radd__(self, other) -> Any: ...
2883
- def __rand__(self, arg: int, /) -> int: ...
2884
- def __rfloordiv__(self, other) -> Any: ...
2885
- def __rlshift__(self, other) -> Any: ...
2886
- def __rmul__(self, other) -> Any: ...
2887
- def __ror__(self, arg: int, /) -> int: ...
2888
- def __rrshift__(self, other) -> Any: ...
2889
- def __rshift__(self, other) -> Any: ...
2890
- def __rsub__(self, other) -> Any: ...
2891
- def __rxor__(self, arg: int, /) -> int: ...
2892
- def __sub__(self, other) -> Any: ...
2893
- @overload
2894
- def __xor__(self, arg: int, /) -> int: ...
2895
- @overload
2896
- def __xor__(self, arg: lief.PE.x509.VERIFICATION_FLAGS, /) -> int: ...
2897
- @property
2898
- def value(self) -> int: ...
2899
- def __init__(self, *args, **kwargs) -> None: ...
2900
- def is_trusted_by(self, ca_list: list[lief.PE.x509]) -> lief.PE.x509.VERIFICATION_FLAGS: ...
2901
- @overload
2902
- @staticmethod
2903
- def parse(path: str) -> list[lief.PE.x509]: ...
2904
- @overload
2905
- @staticmethod
2906
- def parse(raw: list[int]) -> list[lief.PE.x509]: ...
2907
- def verify(self, ca: lief.PE.x509) -> lief.PE.x509.VERIFICATION_FLAGS: ...
2908
- @property
2909
- def certificate_policies(self) -> list[str]: ...
2910
- @property
2911
- def ext_key_usage(self) -> list[str]: ...
2912
- @property
2913
- def is_ca(self) -> bool: ...
2914
- @property
2915
- def issuer(self) -> Union[str,bytes]: ...
2916
- @property
2917
- def key_type(self) -> lief.PE.x509.KEY_TYPES: ...
2918
- @property
2919
- def key_usage(self) -> list[lief.PE.x509.KEY_USAGE]: ...
2920
- @property
2921
- def raw(self) -> bytes: ...
2922
- @property
2923
- def rsa_info(self) -> Optional[lief.PE.RsaInfo]: ...
2924
- @property
2925
- def serial_number(self) -> bytes: ...
2926
- @property
2927
- def signature(self) -> bytes: ...
2928
- @property
2929
- def signature_algorithm(self) -> str: ...
2930
- @property
2931
- def subject(self) -> Union[str,bytes]: ...
2932
- @property
2933
- def valid_from(self) -> list[int]: ...
2934
- @property
2935
- def valid_to(self) -> list[int]: ...
2936
- @property
2937
- def version(self) -> int: ...
2938
-
2939
- def get_imphash(binary: lief.PE.Binary, mode: lief.PE.IMPHASH_MODE = ...) -> str: ...
2940
- @overload
2941
- def get_type(file: str) -> Union[lief.PE.PE_TYPE,lief.lief_errors]: ...
2942
- @overload
2943
- def get_type(raw: list[int]) -> Union[lief.PE.PE_TYPE,lief.lief_errors]: ...
2944
- def oid_to_string(arg: str, /) -> str: ...
2945
- @overload
2946
- def parse(filename: str, config: lief.PE.ParserConfig = ...) -> Optional[lief.PE.Binary]: ...
2947
- @overload
2948
- def parse(raw: list[int], config: lief.PE.ParserConfig = ...) -> Optional[lief.PE.Binary]: ...
2949
- @overload
2950
- def parse(obj: Union[io.IOBase|os.PathLike], config: lief.PE.ParserConfig = ...) -> Optional[lief.PE.Binary]: ...
2951
- def resolve_ordinals(imp: lief.PE.Import, strict: bool = ..., use_std: bool = ...) -> Union[lief.PE.Import,lief.lief_errors]: ...