lief 0.16.5__cp313-cp313-musllinux_1_2_i686.whl → 0.16.7__cp313-cp313-musllinux_1_2_i686.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lief might be problematic. Click here for more details.
- lief/ART/__init__.pyi +19 -18
- lief/DEX/__init__.pyi +159 -159
- lief/ELF/__init__.pyi +2393 -2393
- lief/MachO/__init__.pyi +1481 -1479
- lief/OAT/__init__.pyi +153 -150
- lief/PE/__init__.pyi +2153 -2153
- lief/VDEX/__init__.pyi +10 -8
- lief/__init__.pyi +268 -263
- lief/_lief.so +0 -0
- lief/assembly/aarch64/__init__.pyi +14 -14
- lief/assembly/aarch64/operands/__init__.pyi +5 -5
- lief/assembly/arm/__init__.pyi +5 -5
- lief/assembly/ebpf/__init__.pyi +5 -5
- lief/assembly/mips/__init__.pyi +5 -5
- lief/assembly/powerpc/__init__.pyi +5 -5
- lief/assembly/riscv/__init__.pyi +5 -5
- lief/assembly/x86/__init__.pyi +14 -14
- lief/assembly/x86/operands/__init__.pyi +5 -5
- lief/dsc/__init__.pyi +26 -24
- lief/dwarf/__init__.pyi +149 -148
- lief/dwarf/parameters/__init__.pyi +3 -3
- lief/dwarf/types/__init__.pyi +49 -49
- lief/logging/__init__.pyi +12 -12
- lief/objc/__init__.pyi +26 -26
- lief/pdb/__init__.pyi +44 -44
- lief/pdb/types/__init__.pyi +22 -22
- {lief-0.16.5.dist-info → lief-0.16.7.dist-info}/METADATA +1 -1
- lief-0.16.7.dist-info/RECORD +33 -0
- lief-0.16.5.dist-info/RECORD +0 -33
- {lief-0.16.5.dist-info → lief-0.16.7.dist-info}/WHEEL +0 -0
lief/dwarf/__init__.pyi
CHANGED
|
@@ -3,111 +3,140 @@ from typing import Iterator, Optional, Union, overload
|
|
|
3
3
|
|
|
4
4
|
from . import parameters as parameters, types as types
|
|
5
5
|
import lief
|
|
6
|
+
import lief.assembly
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
class Language:
|
|
10
|
-
class LANG(enum.Enum):
|
|
11
|
-
@staticmethod
|
|
12
|
-
def from_value(arg: int, /) -> CompilationUnit.Language.LANG: ...
|
|
9
|
+
def load(path: str) -> Optional[DebugInfo]: ...
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
class Scope:
|
|
12
|
+
class TYPE(enum.Enum):
|
|
13
|
+
UNKNOWN = 0
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
UNION = 1
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
CLASS = 2
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
STRUCT = 3
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
NAMESPACE = 4
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
FUNCTION = 5
|
|
25
24
|
|
|
26
|
-
|
|
25
|
+
COMPILATION_UNIT = 6
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
@property
|
|
28
|
+
def name(self) -> str: ...
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
@property
|
|
31
|
+
def parent(self) -> Optional[Scope]: ...
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
@property
|
|
34
|
+
def type(self) -> Scope.TYPE: ...
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
def chained(self, sep: str = '::') -> str: ...
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
class Type:
|
|
39
|
+
class KIND(enum.Enum):
|
|
40
|
+
UNKNOWN = 0
|
|
37
41
|
|
|
38
|
-
|
|
42
|
+
UNSPECIFIED = 1
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
BASE = 2
|
|
41
45
|
|
|
42
|
-
|
|
46
|
+
CONST_KIND = 3
|
|
43
47
|
|
|
44
|
-
|
|
48
|
+
CLASS = 4
|
|
45
49
|
|
|
46
|
-
|
|
47
|
-
def name(self) -> str: ...
|
|
50
|
+
ARRAY = 5
|
|
48
51
|
|
|
49
|
-
|
|
50
|
-
def producer(self) -> str: ...
|
|
52
|
+
POINTER = 6
|
|
51
53
|
|
|
52
|
-
|
|
53
|
-
def compilation_dir(self) -> str: ...
|
|
54
|
+
STRUCT = 7
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
def language(self) -> CompilationUnit.Language: ...
|
|
56
|
+
UNION = 8
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
def low_address(self) -> int: ...
|
|
58
|
+
TYPEDEF = 9
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
def high_address(self) -> int: ...
|
|
60
|
+
REF = 10
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
def size(self) -> int: ...
|
|
62
|
+
SET_TYPE = 11
|
|
66
63
|
|
|
67
|
-
|
|
68
|
-
def ranges(self) -> list[lief.range_t]: ...
|
|
64
|
+
STRING = 12
|
|
69
65
|
|
|
70
|
-
|
|
71
|
-
def find_function(self, name: str) -> Optional[Function]: ...
|
|
66
|
+
SUBROUTINE = 13
|
|
72
67
|
|
|
73
|
-
|
|
74
|
-
def find_function(self, addr: int) -> Optional[Function]: ...
|
|
68
|
+
POINTER_MEMBER = 14
|
|
75
69
|
|
|
76
|
-
|
|
77
|
-
def find_variable(self, addr: int) -> Optional[Variable]: ...
|
|
70
|
+
PACKED = 15
|
|
78
71
|
|
|
79
|
-
|
|
80
|
-
|
|
72
|
+
FILE = 16
|
|
73
|
+
|
|
74
|
+
THROWN = 17
|
|
75
|
+
|
|
76
|
+
VOLATILE = 18
|
|
77
|
+
|
|
78
|
+
RESTRICT = 19
|
|
79
|
+
|
|
80
|
+
INTERFACE = 20
|
|
81
|
+
|
|
82
|
+
SHARED = 21
|
|
83
|
+
|
|
84
|
+
RVALREF = 22
|
|
85
|
+
|
|
86
|
+
TEMPLATE_ALIAS = 23
|
|
87
|
+
|
|
88
|
+
COARRAY = 24
|
|
89
|
+
|
|
90
|
+
DYNAMIC = 25
|
|
91
|
+
|
|
92
|
+
ATOMIC = 26
|
|
93
|
+
|
|
94
|
+
IMMUTABLE = 27
|
|
95
|
+
|
|
96
|
+
ENUM = 28
|
|
81
97
|
|
|
82
98
|
@property
|
|
83
|
-
def
|
|
99
|
+
def kind(self) -> Type.KIND: ...
|
|
84
100
|
|
|
85
101
|
@property
|
|
86
|
-
def
|
|
102
|
+
def name(self) -> Optional[str]: ...
|
|
87
103
|
|
|
88
104
|
@property
|
|
89
|
-
def
|
|
105
|
+
def size(self) -> Optional[int]: ...
|
|
90
106
|
|
|
91
107
|
@property
|
|
92
|
-
def
|
|
108
|
+
def location(self) -> lief.debug_location_t: ...
|
|
93
109
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
def find_function(self, name: str) -> Optional[Function]: ...
|
|
110
|
+
@property
|
|
111
|
+
def is_unspecified(self) -> bool: ...
|
|
97
112
|
|
|
98
|
-
@
|
|
99
|
-
def
|
|
113
|
+
@property
|
|
114
|
+
def scope(self) -> Optional[Scope]: ...
|
|
100
115
|
|
|
101
|
-
|
|
102
|
-
|
|
116
|
+
class Variable:
|
|
117
|
+
@property
|
|
118
|
+
def name(self) -> str: ...
|
|
103
119
|
|
|
104
|
-
@
|
|
105
|
-
def
|
|
120
|
+
@property
|
|
121
|
+
def linkage_name(self) -> str: ...
|
|
106
122
|
|
|
107
|
-
|
|
123
|
+
@property
|
|
124
|
+
def address(self) -> Optional[int]: ...
|
|
108
125
|
|
|
109
126
|
@property
|
|
110
|
-
def
|
|
127
|
+
def size(self) -> Optional[int]: ...
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
def is_constexpr(self) -> bool: ...
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def debug_location(self) -> lief.debug_location_t: ...
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def type(self) -> Optional[Type]: ...
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def scope(self) -> Optional[Scope]: ...
|
|
111
140
|
|
|
112
141
|
class Function:
|
|
113
142
|
@property
|
|
@@ -159,134 +188,106 @@ class Parameter:
|
|
|
159
188
|
@property
|
|
160
189
|
def type(self) -> Optional[Type]: ...
|
|
161
190
|
|
|
162
|
-
class
|
|
163
|
-
class
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
CLASS = 2
|
|
169
|
-
|
|
170
|
-
STRUCT = 3
|
|
171
|
-
|
|
172
|
-
NAMESPACE = 4
|
|
173
|
-
|
|
174
|
-
FUNCTION = 5
|
|
175
|
-
|
|
176
|
-
COMPILATION_UNIT = 6
|
|
177
|
-
|
|
178
|
-
@property
|
|
179
|
-
def name(self) -> str: ...
|
|
180
|
-
|
|
181
|
-
@property
|
|
182
|
-
def parent(self) -> Optional[Scope]: ...
|
|
183
|
-
|
|
184
|
-
@property
|
|
185
|
-
def type(self) -> Scope.TYPE: ...
|
|
186
|
-
|
|
187
|
-
def chained(self, sep: str = '::') -> str: ...
|
|
188
|
-
|
|
189
|
-
class Type:
|
|
190
|
-
class KIND(enum.Enum):
|
|
191
|
-
UNKNOWN = 0
|
|
192
|
-
|
|
193
|
-
UNSPECIFIED = 1
|
|
194
|
-
|
|
195
|
-
BASE = 2
|
|
196
|
-
|
|
197
|
-
CONST_KIND = 3
|
|
198
|
-
|
|
199
|
-
CLASS = 4
|
|
200
|
-
|
|
201
|
-
ARRAY = 5
|
|
202
|
-
|
|
203
|
-
POINTER = 6
|
|
204
|
-
|
|
205
|
-
STRUCT = 7
|
|
206
|
-
|
|
207
|
-
UNION = 8
|
|
208
|
-
|
|
209
|
-
TYPEDEF = 9
|
|
210
|
-
|
|
211
|
-
REF = 10
|
|
212
|
-
|
|
213
|
-
SET_TYPE = 11
|
|
214
|
-
|
|
215
|
-
STRING = 12
|
|
191
|
+
class CompilationUnit:
|
|
192
|
+
class Language:
|
|
193
|
+
class LANG(enum.Enum):
|
|
194
|
+
@staticmethod
|
|
195
|
+
def from_value(arg: int, /) -> CompilationUnit.Language.LANG: ...
|
|
216
196
|
|
|
217
|
-
|
|
197
|
+
def __eq__(self, arg, /) -> bool: ...
|
|
218
198
|
|
|
219
|
-
|
|
199
|
+
def __ne__(self, arg, /) -> bool: ...
|
|
220
200
|
|
|
221
|
-
|
|
201
|
+
def __int__(self) -> int: ...
|
|
222
202
|
|
|
223
|
-
|
|
203
|
+
UNKNOWN = 0
|
|
224
204
|
|
|
225
|
-
|
|
205
|
+
C = 1
|
|
226
206
|
|
|
227
|
-
|
|
207
|
+
CPP = 2
|
|
228
208
|
|
|
229
|
-
|
|
209
|
+
RUST = 3
|
|
230
210
|
|
|
231
|
-
|
|
211
|
+
DART = 4
|
|
232
212
|
|
|
233
|
-
|
|
213
|
+
MODULA = 5
|
|
234
214
|
|
|
235
|
-
|
|
215
|
+
FORTRAN = 6
|
|
236
216
|
|
|
237
|
-
|
|
217
|
+
SWIFT = 7
|
|
238
218
|
|
|
239
|
-
|
|
219
|
+
D = 8
|
|
240
220
|
|
|
241
|
-
|
|
221
|
+
JAVA = 9
|
|
242
222
|
|
|
243
|
-
|
|
223
|
+
COBOL = 10
|
|
244
224
|
|
|
245
|
-
|
|
225
|
+
lang: CompilationUnit.Language.LANG
|
|
246
226
|
|
|
247
|
-
|
|
227
|
+
version: int
|
|
248
228
|
|
|
249
229
|
@property
|
|
250
|
-
def
|
|
230
|
+
def name(self) -> str: ...
|
|
251
231
|
|
|
252
232
|
@property
|
|
253
|
-
def
|
|
233
|
+
def producer(self) -> str: ...
|
|
254
234
|
|
|
255
235
|
@property
|
|
256
|
-
def
|
|
236
|
+
def compilation_dir(self) -> str: ...
|
|
257
237
|
|
|
258
238
|
@property
|
|
259
|
-
def
|
|
239
|
+
def language(self) -> CompilationUnit.Language: ...
|
|
260
240
|
|
|
261
241
|
@property
|
|
262
|
-
def
|
|
242
|
+
def low_address(self) -> int: ...
|
|
263
243
|
|
|
264
244
|
@property
|
|
265
|
-
def
|
|
245
|
+
def high_address(self) -> int: ...
|
|
266
246
|
|
|
267
|
-
class Variable:
|
|
268
247
|
@property
|
|
269
|
-
def
|
|
248
|
+
def size(self) -> int: ...
|
|
270
249
|
|
|
271
250
|
@property
|
|
272
|
-
def
|
|
251
|
+
def ranges(self) -> list[lief.range_t]: ...
|
|
273
252
|
|
|
274
|
-
@
|
|
275
|
-
def
|
|
253
|
+
@overload
|
|
254
|
+
def find_function(self, name: str) -> Optional[Function]: ...
|
|
276
255
|
|
|
277
|
-
@
|
|
278
|
-
def
|
|
256
|
+
@overload
|
|
257
|
+
def find_function(self, addr: int) -> Optional[Function]: ...
|
|
258
|
+
|
|
259
|
+
@overload
|
|
260
|
+
def find_variable(self, addr: int) -> Optional[Variable]: ...
|
|
261
|
+
|
|
262
|
+
@overload
|
|
263
|
+
def find_variable(self, name: str) -> Optional[Variable]: ...
|
|
279
264
|
|
|
280
265
|
@property
|
|
281
|
-
def
|
|
266
|
+
def types(self) -> Iterator[Optional[Type]]: ...
|
|
282
267
|
|
|
283
268
|
@property
|
|
284
|
-
def
|
|
269
|
+
def functions(self) -> Iterator[Optional[Function]]: ...
|
|
285
270
|
|
|
286
271
|
@property
|
|
287
|
-
def
|
|
272
|
+
def imported_functions(self) -> Iterator[Optional[Function]]: ...
|
|
288
273
|
|
|
289
274
|
@property
|
|
290
|
-
def
|
|
275
|
+
def variables(self) -> Iterator[Optional[Variable]]: ...
|
|
291
276
|
|
|
292
|
-
|
|
277
|
+
class DebugInfo(lief.DebugInfo):
|
|
278
|
+
@overload
|
|
279
|
+
def find_function(self, name: str) -> Optional[Function]: ...
|
|
280
|
+
|
|
281
|
+
@overload
|
|
282
|
+
def find_function(self, addr: int) -> Optional[Function]: ...
|
|
283
|
+
|
|
284
|
+
@overload
|
|
285
|
+
def find_variable(self, addr: int) -> Optional[Variable]: ...
|
|
286
|
+
|
|
287
|
+
@overload
|
|
288
|
+
def find_variable(self, name: str) -> Optional[Variable]: ...
|
|
289
|
+
|
|
290
|
+
def find_type(self, name: str) -> Optional[Type]: ...
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
def compilation_units(self) -> Iterator[Optional[CompilationUnit]]: ...
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from typing import Iterator, Optional, Union
|
|
2
2
|
|
|
3
|
-
import lief
|
|
3
|
+
import lief.dwarf
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class Formal(lief.dwarf.Parameter):
|
|
7
7
|
@property
|
|
8
8
|
def type(self) -> Optional[lief.dwarf.Type]: ...
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class TemplateValue(lief.dwarf.Parameter):
|
|
11
11
|
pass
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class TemplateType(lief.dwarf.Parameter):
|
|
14
14
|
pass
|
lief/dwarf/types/__init__.pyi
CHANGED
|
@@ -1,27 +1,54 @@
|
|
|
1
1
|
import enum
|
|
2
2
|
from typing import Iterator, Optional, Union as _Union
|
|
3
3
|
|
|
4
|
-
import lief
|
|
4
|
+
import lief.dwarf
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
class
|
|
8
|
-
class
|
|
7
|
+
class ClassLike(lief.dwarf.Type):
|
|
8
|
+
class Member:
|
|
9
9
|
@property
|
|
10
|
-
def
|
|
10
|
+
def name(self) -> str: ...
|
|
11
11
|
|
|
12
12
|
@property
|
|
13
|
-
def
|
|
13
|
+
def type(self) -> Optional[lief.dwarf.Type]: ...
|
|
14
14
|
|
|
15
15
|
@property
|
|
16
|
-
def
|
|
16
|
+
def is_external(self) -> bool: ...
|
|
17
|
+
|
|
18
|
+
@property
|
|
19
|
+
def is_declaration(self) -> bool: ...
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def offset(self) -> Optional[int]: ...
|
|
23
|
+
|
|
24
|
+
@property
|
|
25
|
+
def bit_offset(self) -> Optional[int]: ...
|
|
17
26
|
|
|
18
27
|
@property
|
|
19
|
-
def
|
|
28
|
+
def members(self) -> list[ClassLike.Member]: ...
|
|
29
|
+
|
|
30
|
+
def find_member(self, offset: int) -> Optional[ClassLike.Member]: ...
|
|
20
31
|
|
|
21
32
|
@property
|
|
22
|
-
def
|
|
33
|
+
def functions(self) -> Iterator[Optional[lief.dwarf.Function]]: ...
|
|
23
34
|
|
|
24
|
-
class
|
|
35
|
+
class Structure(ClassLike):
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
class Class(ClassLike):
|
|
39
|
+
pass
|
|
40
|
+
|
|
41
|
+
class Union(ClassLike):
|
|
42
|
+
pass
|
|
43
|
+
|
|
44
|
+
class Packed(ClassLike):
|
|
45
|
+
pass
|
|
46
|
+
|
|
47
|
+
class Pointer(lief.dwarf.Type):
|
|
48
|
+
@property
|
|
49
|
+
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
50
|
+
|
|
51
|
+
class Const(lief.dwarf.Type):
|
|
25
52
|
@property
|
|
26
53
|
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
27
54
|
|
|
@@ -46,44 +73,34 @@ class Base(lief.dwarf.Type):
|
|
|
46
73
|
@property
|
|
47
74
|
def encoding(self) -> Base.ENCODING: ...
|
|
48
75
|
|
|
49
|
-
class
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
class ClassLike(lief.dwarf.Type):
|
|
53
|
-
class Member:
|
|
54
|
-
@property
|
|
55
|
-
def name(self) -> str: ...
|
|
56
|
-
|
|
57
|
-
@property
|
|
58
|
-
def type(self) -> Optional[lief.dwarf.Type]: ...
|
|
59
|
-
|
|
76
|
+
class Array(lief.dwarf.Type):
|
|
77
|
+
class size_info_t:
|
|
60
78
|
@property
|
|
61
|
-
def
|
|
79
|
+
def type(self) -> lief.dwarf.Type: ...
|
|
62
80
|
|
|
63
81
|
@property
|
|
64
|
-
def
|
|
82
|
+
def name(self) -> str: ...
|
|
65
83
|
|
|
66
84
|
@property
|
|
67
|
-
def
|
|
85
|
+
def size(self) -> int: ...
|
|
68
86
|
|
|
69
|
-
|
|
70
|
-
|
|
87
|
+
@property
|
|
88
|
+
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
71
89
|
|
|
72
90
|
@property
|
|
73
|
-
def
|
|
91
|
+
def size_info(self) -> Array.size_info_t: ...
|
|
74
92
|
|
|
75
|
-
|
|
93
|
+
class Typedef(lief.dwarf.Type):
|
|
94
|
+
@property
|
|
95
|
+
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
76
96
|
|
|
97
|
+
class Atomic(lief.dwarf.Type):
|
|
77
98
|
@property
|
|
78
|
-
def
|
|
99
|
+
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
79
100
|
|
|
80
101
|
class Coarray(lief.dwarf.Type):
|
|
81
102
|
pass
|
|
82
103
|
|
|
83
|
-
class Const(lief.dwarf.Type):
|
|
84
|
-
@property
|
|
85
|
-
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
86
|
-
|
|
87
104
|
class Dynamic(lief.dwarf.Type):
|
|
88
105
|
pass
|
|
89
106
|
|
|
@@ -100,13 +117,6 @@ class Immutable(lief.dwarf.Type):
|
|
|
100
117
|
class Interface(lief.dwarf.Type):
|
|
101
118
|
pass
|
|
102
119
|
|
|
103
|
-
class Packed(ClassLike):
|
|
104
|
-
pass
|
|
105
|
-
|
|
106
|
-
class Pointer(lief.dwarf.Type):
|
|
107
|
-
@property
|
|
108
|
-
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
109
|
-
|
|
110
120
|
class PointerToMember(lief.dwarf.Type):
|
|
111
121
|
@property
|
|
112
122
|
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
@@ -137,9 +147,6 @@ class Shared(lief.dwarf.Type):
|
|
|
137
147
|
class StringTy(lief.dwarf.Type):
|
|
138
148
|
pass
|
|
139
149
|
|
|
140
|
-
class Structure(ClassLike):
|
|
141
|
-
pass
|
|
142
|
-
|
|
143
150
|
class Subroutine(lief.dwarf.Type):
|
|
144
151
|
@property
|
|
145
152
|
def parameters(self) -> list[Optional[lief.dwarf.Parameter]]: ...
|
|
@@ -155,13 +162,6 @@ class Thrown(lief.dwarf.Type):
|
|
|
155
162
|
@property
|
|
156
163
|
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
157
164
|
|
|
158
|
-
class Typedef(lief.dwarf.Type):
|
|
159
|
-
@property
|
|
160
|
-
def underlying_type(self) -> lief.dwarf.Type: ...
|
|
161
|
-
|
|
162
|
-
class Union(ClassLike):
|
|
163
|
-
pass
|
|
164
|
-
|
|
165
165
|
class Volatile(lief.dwarf.Type):
|
|
166
166
|
@property
|
|
167
167
|
def underlying_type(self) -> lief.dwarf.Type: ...
|
lief/logging/__init__.pyi
CHANGED
|
@@ -17,28 +17,28 @@ class LEVEL(enum.Enum):
|
|
|
17
17
|
|
|
18
18
|
INFO = 3
|
|
19
19
|
|
|
20
|
-
def critical(msg: str) -> None: ...
|
|
21
|
-
|
|
22
|
-
def debug(msg: str) -> None: ...
|
|
23
|
-
|
|
24
20
|
def disable() -> None: ...
|
|
25
21
|
|
|
26
22
|
def enable() -> None: ...
|
|
27
23
|
|
|
28
|
-
def
|
|
29
|
-
|
|
30
|
-
def err(msg: str) -> None: ...
|
|
24
|
+
def set_level(level: LEVEL) -> None: ...
|
|
31
25
|
|
|
32
26
|
def get_level() -> LEVEL: ...
|
|
33
27
|
|
|
34
|
-
def
|
|
28
|
+
def set_path(path: str) -> None: ...
|
|
35
29
|
|
|
36
30
|
def log(level: LEVEL, msg: str) -> None: ...
|
|
37
31
|
|
|
38
|
-
def
|
|
39
|
-
|
|
40
|
-
def set_level(level: LEVEL) -> None: ...
|
|
32
|
+
def debug(msg: str) -> None: ...
|
|
41
33
|
|
|
42
|
-
def
|
|
34
|
+
def info(msg: str) -> None: ...
|
|
43
35
|
|
|
44
36
|
def warn(msg: str) -> None: ...
|
|
37
|
+
|
|
38
|
+
def err(msg: str) -> None: ...
|
|
39
|
+
|
|
40
|
+
def critical(msg: str) -> None: ...
|
|
41
|
+
|
|
42
|
+
def enable_debug() -> None: ...
|
|
43
|
+
|
|
44
|
+
def reset() -> None: ...
|
lief/objc/__init__.pyi
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
from typing import Iterator, Optional, Union
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
class DeclOpt:
|
|
5
|
+
def __init__(self) -> None: ...
|
|
6
|
+
|
|
7
|
+
show_annotations: bool
|
|
8
|
+
|
|
9
|
+
class Metadata:
|
|
10
|
+
def to_decl(self, opt: DeclOpt = ...) -> str: ...
|
|
11
|
+
|
|
12
|
+
@property
|
|
13
|
+
def classes(self) -> Iterator[Optional[Class]]: ...
|
|
14
|
+
|
|
15
|
+
@property
|
|
16
|
+
def protocols(self) -> Iterator[Optional[Protocol]]: ...
|
|
17
|
+
|
|
18
|
+
def get_class(self, name: str) -> Optional[Class]: ...
|
|
19
|
+
|
|
20
|
+
def get_protocol(self, name: str) -> Optional[Protocol]: ...
|
|
21
|
+
|
|
4
22
|
class Class:
|
|
5
23
|
@property
|
|
6
24
|
def name(self) -> str: ...
|
|
@@ -28,11 +46,6 @@ class Class:
|
|
|
28
46
|
|
|
29
47
|
def to_decl(self, opt: DeclOpt = ...) -> str: ...
|
|
30
48
|
|
|
31
|
-
class DeclOpt:
|
|
32
|
-
def __init__(self) -> None: ...
|
|
33
|
-
|
|
34
|
-
show_annotations: bool
|
|
35
|
-
|
|
36
49
|
class IVar:
|
|
37
50
|
@property
|
|
38
51
|
def name(self) -> str: ...
|
|
@@ -40,18 +53,20 @@ class IVar:
|
|
|
40
53
|
@property
|
|
41
54
|
def mangled_type(self) -> str: ...
|
|
42
55
|
|
|
43
|
-
class
|
|
44
|
-
|
|
56
|
+
class Protocol:
|
|
57
|
+
@property
|
|
58
|
+
def mangled_name(self) -> str: ...
|
|
45
59
|
|
|
46
60
|
@property
|
|
47
|
-
def
|
|
61
|
+
def optional_methods(self) -> Iterator[Optional[Method]]: ...
|
|
48
62
|
|
|
49
63
|
@property
|
|
50
|
-
def
|
|
64
|
+
def required_methods(self) -> Iterator[Optional[Method]]: ...
|
|
51
65
|
|
|
52
|
-
|
|
66
|
+
@property
|
|
67
|
+
def properties(self) -> Iterator[Optional[Property]]: ...
|
|
53
68
|
|
|
54
|
-
def
|
|
69
|
+
def to_decl(self, opt: DeclOpt = ...) -> str: ...
|
|
55
70
|
|
|
56
71
|
class Method:
|
|
57
72
|
@property
|
|
@@ -72,18 +87,3 @@ class Property:
|
|
|
72
87
|
|
|
73
88
|
@property
|
|
74
89
|
def attribute(self) -> str: ...
|
|
75
|
-
|
|
76
|
-
class Protocol:
|
|
77
|
-
@property
|
|
78
|
-
def mangled_name(self) -> str: ...
|
|
79
|
-
|
|
80
|
-
@property
|
|
81
|
-
def optional_methods(self) -> Iterator[Optional[Method]]: ...
|
|
82
|
-
|
|
83
|
-
@property
|
|
84
|
-
def required_methods(self) -> Iterator[Optional[Method]]: ...
|
|
85
|
-
|
|
86
|
-
@property
|
|
87
|
-
def properties(self) -> Iterator[Optional[Property]]: ...
|
|
88
|
-
|
|
89
|
-
def to_decl(self, opt: DeclOpt = ...) -> str: ...
|