lief 0.15.1__cp313-cp313-manylinux2014_aarch64.whl → 0.16.1__cp313-cp313-manylinux2014_aarch64.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.so +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
@@ -0,0 +1,32 @@
1
+ from typing import Iterator, Optional, Union
2
+
3
+ import lief
4
+
5
+
6
+ class Immediate(lief.assembly.x86.Operand):
7
+ @property
8
+ def value(self) -> int: ...
9
+
10
+ class Memory(lief.assembly.x86.Operand):
11
+ @property
12
+ def base(self) -> lief.assembly.x86.REG: ...
13
+
14
+ @property
15
+ def scaled_register(self) -> lief.assembly.x86.REG: ...
16
+
17
+ @property
18
+ def segment_register(self) -> lief.assembly.x86.REG: ...
19
+
20
+ @property
21
+ def scale(self) -> int: ...
22
+
23
+ @property
24
+ def displacement(self) -> int: ...
25
+
26
+ class PCRelative(lief.assembly.x86.Operand):
27
+ @property
28
+ def value(self) -> int: ...
29
+
30
+ class Register(lief.assembly.x86.Operand):
31
+ @property
32
+ def value(self) -> lief.assembly.x86.REG: ...
lief/dsc/__init__.pyi ADDED
@@ -0,0 +1,220 @@
1
+ from collections.abc import Sequence
2
+ import enum
3
+ import os
4
+ from typing import Iterator, Optional, Union, overload
5
+
6
+ import lief
7
+
8
+
9
+ class DyldSharedCache:
10
+ class VERSION(enum.Enum):
11
+ UNKNOWN = 0
12
+
13
+ DYLD_95_3 = 1
14
+
15
+ DYLD_195_5 = 2
16
+
17
+ DYLD_239_3 = 3
18
+
19
+ DYLD_360_14 = 4
20
+
21
+ DYLD_421_1 = 5
22
+
23
+ DYLD_832_7_1 = 6
24
+
25
+ DYLD_940 = 7
26
+
27
+ DYLD_1042_1 = 8
28
+
29
+ UNRELEASED = 9
30
+
31
+ class PLATFORM(enum.Enum):
32
+ UNKNOWN = 0
33
+
34
+ MACOS = 1
35
+
36
+ IOS = 2
37
+
38
+ TVOS = 3
39
+
40
+ WATCHOS = 4
41
+
42
+ BRIDGEOS = 5
43
+
44
+ IOSMAC = 6
45
+
46
+ IOS_SIMULATOR = 7
47
+
48
+ TVOS_SIMULATOR = 8
49
+
50
+ WATCHOS_SIMULATOR = 9
51
+
52
+ DRIVERKIT = 10
53
+
54
+ VISIONOS = 11
55
+
56
+ VISIONOS_SIMULATOR = 12
57
+
58
+ FIRMWARE = 13
59
+
60
+ SEPOS = 14
61
+
62
+ ANY = 4294967295
63
+
64
+ class ARCH(enum.Enum):
65
+ UNKNOWN = 0
66
+
67
+ I386 = 1
68
+
69
+ X86_64 = 2
70
+
71
+ X86_64H = 3
72
+
73
+ ARMV5 = 4
74
+
75
+ ARMV6 = 5
76
+
77
+ ARMV7 = 6
78
+
79
+ ARM64 = 7
80
+
81
+ ARM64E = 8
82
+
83
+ @staticmethod
84
+ def from_path(path: str, arch: str = '') -> Optional[DyldSharedCache]: ...
85
+
86
+ @staticmethod
87
+ def from_files(files: Sequence[str]) -> Optional[DyldSharedCache]: ...
88
+
89
+ @property
90
+ def filename(self) -> str: ...
91
+
92
+ @property
93
+ def version(self) -> DyldSharedCache.VERSION: ...
94
+
95
+ @property
96
+ def filepath(self) -> str: ...
97
+
98
+ @property
99
+ def load_address(self) -> int: ...
100
+
101
+ @property
102
+ def arch_name(self) -> str: ...
103
+
104
+ @property
105
+ def platform(self) -> DyldSharedCache.PLATFORM: ...
106
+
107
+ @property
108
+ def arch(self) -> DyldSharedCache.ARCH: ...
109
+
110
+ @property
111
+ def has_subcaches(self) -> bool: ...
112
+
113
+ def find_lib_from_va(self, virtual_address: int) -> Optional[Dylib]: ...
114
+
115
+ def find_lib_from_path(self, path: str) -> Optional[Dylib]: ...
116
+
117
+ def find_lib_from_name(self, name: str) -> Optional[Dylib]: ...
118
+
119
+ @property
120
+ def libraries(self) -> Sequence[Optional[Dylib]]: ...
121
+
122
+ @property
123
+ def mapping_info(self) -> Sequence[Optional[MappingInfo]]: ...
124
+
125
+ @property
126
+ def subcaches(self) -> Sequence[Optional[SubCache]]: ...
127
+
128
+ def get_content_from_va(self, addr: int, size: int) -> bytes: ...
129
+
130
+ def cache_for_address(self, address: int) -> Optional[DyldSharedCache]: ...
131
+
132
+ @property
133
+ def main_cache(self) -> Optional[DyldSharedCache]: ...
134
+
135
+ def find_subcache(self, filename: str) -> Optional[DyldSharedCache]: ...
136
+
137
+ def va_to_offset(self, virtual_address: int) -> Union[int, lief.lief_errors]: ...
138
+
139
+ def disassemble(self, arg: int, /) -> Iterator[Optional[lief.assembly.Instruction]]: ...
140
+
141
+ def enable_caching(self, target_dir: str) -> None: ...
142
+
143
+ def flush_cache(self) -> None: ...
144
+
145
+ class Dylib:
146
+ class extract_opt_t:
147
+ def __init__(self) -> None: ...
148
+
149
+ pack: bool
150
+
151
+ fix_branches: bool
152
+
153
+ fix_memory: bool
154
+
155
+ fix_relocations: bool
156
+
157
+ fix_objc: bool
158
+
159
+ create_dyld_chained_fixup_cmd: bool
160
+
161
+ @property
162
+ def path(self) -> str: ...
163
+
164
+ @property
165
+ def address(self) -> int: ...
166
+
167
+ @property
168
+ def modtime(self) -> int: ...
169
+
170
+ @property
171
+ def inode(self) -> int: ...
172
+
173
+ @property
174
+ def padding(self) -> int: ...
175
+
176
+ def get(self, opt: Dylib.extract_opt_t = ...) -> Optional[lief.MachO.Binary]: ...
177
+
178
+ class MappingInfo:
179
+ @property
180
+ def address(self) -> int: ...
181
+
182
+ @property
183
+ def size(self) -> int: ...
184
+
185
+ @property
186
+ def end_address(self) -> int: ...
187
+
188
+ @property
189
+ def file_offset(self) -> int: ...
190
+
191
+ @property
192
+ def max_prot(self) -> int: ...
193
+
194
+ @property
195
+ def init_prot(self) -> int: ...
196
+
197
+ class SubCache:
198
+ @property
199
+ def uuid(self) -> list[int]: ...
200
+
201
+ @property
202
+ def vm_offset(self) -> int: ...
203
+
204
+ @property
205
+ def suffix(self) -> str: ...
206
+
207
+ @property
208
+ def cache(self) -> Optional[DyldSharedCache]: ...
209
+
210
+ @overload
211
+ def enable_cache() -> bool: ...
212
+
213
+ @overload
214
+ def enable_cache(target_cache_dir: str) -> bool: ...
215
+
216
+ @overload
217
+ def load(files: Sequence[str]) -> Optional[DyldSharedCache]: ...
218
+
219
+ @overload
220
+ def load(path: os.PathLike, arch: str = '') -> Optional[DyldSharedCache]: ...
lief/dwarf/__init__.pyi CHANGED
@@ -1,193 +1,292 @@
1
- from typing import Any, ClassVar, Iterator, Optional
1
+ import enum
2
+ from typing import Iterator, Optional, Union, overload
3
+
4
+ from . import parameters as parameters, types as types
5
+ import lief
2
6
 
3
- from typing import overload
4
- import lief # type: ignore
5
- import lief.dwarf # type: ignore
6
- import lief.dwarf.CompilationUnit # type: ignore
7
- import lief.dwarf.CompilationUnit.Language # type: ignore
8
- import lief.dwarf.Function # type: ignore
9
- import lief.dwarf.Scope # type: ignore
10
- import lief.dwarf.Type # type: ignore
11
7
 
12
8
  class CompilationUnit:
13
9
  class Language:
14
- class LANG:
15
- C: ClassVar[CompilationUnit.Language.LANG] = ...
16
- CPP: ClassVar[CompilationUnit.Language.LANG] = ...
17
- DART: ClassVar[CompilationUnit.Language.LANG] = ...
18
- RUST: ClassVar[CompilationUnit.Language.LANG] = ...
19
- UNKNOWN: ClassVar[CompilationUnit.Language.LANG] = ...
20
- __name__: str
21
- def __init__(self, *args, **kwargs) -> None: ...
10
+ class LANG(enum.Enum):
22
11
  @staticmethod
23
- def from_value(arg: int, /) -> lief.dwarf.CompilationUnit.Language.LANG: ...
24
- def __ge__(self, other) -> bool: ...
25
- def __gt__(self, other) -> bool: ...
26
- def __hash__(self) -> int: ...
27
- def __index__(self) -> Any: ...
12
+ def from_value(arg: int, /) -> CompilationUnit.Language.LANG: ...
13
+
14
+ def __eq__(self, arg, /) -> bool: ...
15
+
16
+ def __ne__(self, arg, /) -> bool: ...
17
+
28
18
  def __int__(self) -> int: ...
29
- def __le__(self, other) -> bool: ...
30
- def __lt__(self, other) -> bool: ...
31
- @property
32
- def value(self) -> int: ...
19
+
20
+ UNKNOWN = 0
21
+
22
+ C = 1
23
+
24
+ CPP = 2
25
+
26
+ RUST = 3
27
+
28
+ DART = 4
29
+
30
+ MODULA = 5
31
+
32
+ FORTRAN = 6
33
+
34
+ SWIFT = 7
35
+
36
+ D = 8
37
+
38
+ JAVA = 9
39
+
40
+ COBOL = 10
41
+
33
42
  lang: lief.dwarf.CompilationUnit.Language.LANG
43
+
34
44
  version: int
35
- def __init__(self, *args, **kwargs) -> None: ...
36
- def __init__(self, *args, **kwargs) -> None: ...
37
- @overload
38
- def find_function(self, name: str) -> Optional[lief.dwarf.Function]: ...
39
- @overload
40
- def find_function(self, addr: int) -> Optional[lief.dwarf.Function]: ...
41
- @overload
42
- def find_variable(self, addr: int) -> Optional[lief.dwarf.Variable]: ...
43
- @overload
44
- def find_variable(self, name: str) -> Optional[lief.dwarf.Variable]: ...
45
+
45
46
  @property
46
- def compilation_dir(self) -> str: ...
47
+ def name(self) -> str: ...
48
+
47
49
  @property
48
- def functions(self) -> Iterator[Optional[lief.dwarf.Function]]: ...
50
+ def producer(self) -> str: ...
51
+
49
52
  @property
50
- def high_address(self) -> int: ...
53
+ def compilation_dir(self) -> str: ...
54
+
51
55
  @property
52
- def language(self) -> lief.dwarf.CompilationUnit.Language: ...
56
+ def language(self) -> CompilationUnit.Language: ...
57
+
53
58
  @property
54
59
  def low_address(self) -> int: ...
60
+
55
61
  @property
56
- def name(self) -> str: ...
62
+ def high_address(self) -> int: ...
63
+
57
64
  @property
58
- def producer(self) -> str: ...
65
+ def size(self) -> int: ...
66
+
59
67
  @property
60
68
  def ranges(self) -> list[lief.range_t]: ...
69
+
70
+ @overload
71
+ def find_function(self, name: str) -> Optional[Function]: ...
72
+
73
+ @overload
74
+ def find_function(self, addr: int) -> Optional[Function]: ...
75
+
76
+ @overload
77
+ def find_variable(self, addr: int) -> Optional[Variable]: ...
78
+
79
+ @overload
80
+ def find_variable(self, name: str) -> Optional[Variable]: ...
81
+
61
82
  @property
62
- def size(self) -> int: ...
83
+ def types(self) -> Iterator[Optional[Type]]: ...
84
+
85
+ @property
86
+ def functions(self) -> Iterator[Optional[Function]]: ...
87
+
63
88
  @property
64
- def types(self) -> Iterator[Optional[lief.dwarf.Type]]: ...
89
+ def imported_functions(self) -> Iterator[Optional[Function]]: ...
90
+
65
91
  @property
66
- def variables(self) -> Iterator[Optional[lief.dwarf.Variable]]: ...
92
+ def variables(self) -> Iterator[Optional[Variable]]: ...
67
93
 
68
94
  class DebugInfo(lief.DebugInfo):
69
- def __init__(self, *args, **kwargs) -> None: ...
70
95
  @overload
71
- def find_function(self, name: str) -> Optional[lief.dwarf.Function]: ...
96
+ def find_function(self, name: str) -> Optional[Function]: ...
97
+
72
98
  @overload
73
- def find_function(self, addr: int) -> Optional[lief.dwarf.Function]: ...
74
- def find_type(self, name: str) -> Optional[lief.dwarf.Type]: ...
99
+ def find_function(self, addr: int) -> Optional[Function]: ...
100
+
75
101
  @overload
76
- def find_variable(self, addr: int) -> Optional[lief.dwarf.Variable]: ...
102
+ def find_variable(self, addr: int) -> Optional[Variable]: ...
103
+
77
104
  @overload
78
- def find_variable(self, name: str) -> Optional[lief.dwarf.Variable]: ...
105
+ def find_variable(self, name: str) -> Optional[Variable]: ...
106
+
107
+ def find_type(self, name: str) -> Optional[Type]: ...
108
+
79
109
  @property
80
- def compilation_units(self) -> Iterator[Optional[lief.dwarf.CompilationUnit]]: ...
110
+ def compilation_units(self) -> Iterator[Optional[CompilationUnit]]: ...
81
111
 
82
112
  class Function:
83
- class Parameter:
84
- def __init__(self, *args, **kwargs) -> None: ...
85
- @property
86
- def name(self) -> str: ...
87
- @property
88
- def type(self) -> Optional[lief.dwarf.Type]: ...
89
- def __init__(self, *args, **kwargs) -> None: ...
113
+ @property
114
+ def name(self) -> str: ...
115
+
116
+ @property
117
+ def linkage_name(self) -> str: ...
118
+
90
119
  @property
91
120
  def address(self) -> Optional[int]: ...
121
+
92
122
  @property
93
- def debug_location(self) -> lief.debug_location_t: ...
123
+ def variables(self) -> Iterator[Optional[Variable]]: ...
124
+
94
125
  @property
95
126
  def is_artificial(self) -> bool: ...
127
+
96
128
  @property
97
- def linkage_name(self) -> str: ...
98
- @property
99
- def name(self) -> str: ...
129
+ def is_external(self) -> bool: ...
130
+
100
131
  @property
101
- def parameters(self) -> list[lief.dwarf.Function.Parameter]: ...
132
+ def size(self) -> int: ...
133
+
102
134
  @property
103
135
  def ranges(self) -> list[lief.range_t]: ...
136
+
104
137
  @property
105
- def scope(self) -> Optional[lief.dwarf.Scope]: ...
138
+ def debug_location(self) -> lief.debug_location_t: ...
139
+
106
140
  @property
107
- def size(self) -> int: ...
141
+ def type(self) -> Optional[Type]: ...
142
+
108
143
  @property
109
- def type(self) -> Optional[lief.dwarf.Type]: ...
144
+ def parameters(self) -> list[Optional[Parameter]]: ...
145
+
110
146
  @property
111
- def variables(self) -> Iterator[Optional[lief.dwarf.Variable]]: ...
147
+ def thrown_types(self) -> list[Optional[Type]]: ...
148
+
149
+ @property
150
+ def scope(self) -> Optional[Scope]: ...
151
+
152
+ @property
153
+ def instructions(self) -> Iterator[Optional[lief.assembly.Instruction]]: ...
154
+
155
+ class Parameter:
156
+ @property
157
+ def name(self) -> str: ...
158
+
159
+ @property
160
+ def type(self) -> Optional[Type]: ...
112
161
 
113
162
  class Scope:
114
- class TYPE:
115
- CLASS: ClassVar[Scope.TYPE] = ...
116
- COMPILATION_UNIT: ClassVar[Scope.TYPE] = ...
117
- FUNCTION: ClassVar[Scope.TYPE] = ...
118
- NAMESPACE: ClassVar[Scope.TYPE] = ...
119
- STRUCT: ClassVar[Scope.TYPE] = ...
120
- UNION: ClassVar[Scope.TYPE] = ...
121
- UNKNOWN: ClassVar[Scope.TYPE] = ...
122
- __name__: str
123
- def __init__(self, *args, **kwargs) -> None: ...
124
- def __ge__(self, other) -> bool: ...
125
- def __gt__(self, other) -> bool: ...
126
- def __hash__(self) -> int: ...
127
- def __index__(self) -> Any: ...
128
- def __int__(self) -> int: ...
129
- def __le__(self, other) -> bool: ...
130
- def __lt__(self, other) -> bool: ...
131
- def __init__(self, *args, **kwargs) -> None: ...
132
- def chained(self, sep: str = ...) -> str: ...
163
+ class TYPE(enum.Enum):
164
+ UNKNOWN = 0
165
+
166
+ UNION = 1
167
+
168
+ CLASS = 2
169
+
170
+ STRUCT = 3
171
+
172
+ NAMESPACE = 4
173
+
174
+ FUNCTION = 5
175
+
176
+ COMPILATION_UNIT = 6
177
+
133
178
  @property
134
179
  def name(self) -> str: ...
180
+
135
181
  @property
136
- def parent(self) -> Optional[lief.dwarf.Scope]: ...
182
+ def parent(self) -> Optional[Scope]: ...
183
+
137
184
  @property
138
- def type(self) -> lief.dwarf.Scope.TYPE: ...
185
+ def type(self) -> Scope.TYPE: ...
186
+
187
+ def chained(self, sep: str = '::') -> str: ...
139
188
 
140
189
  class Type:
141
- class KIND:
142
- ARRAY: ClassVar[Type.KIND] = ...
143
- BASE: ClassVar[Type.KIND] = ...
144
- CLASS: ClassVar[Type.KIND] = ...
145
- CONST: ClassVar[Type.KIND] = ...
146
- POINTER: ClassVar[Type.KIND] = ...
147
- STRUCT: ClassVar[Type.KIND] = ...
148
- UNION: ClassVar[Type.KIND] = ...
149
- UNKNOWN: ClassVar[Type.KIND] = ...
150
- UNSPECIFIED: ClassVar[Type.KIND] = ...
151
- __name__: str
152
- def __init__(self, *args, **kwargs) -> None: ...
153
- def __ge__(self, other) -> bool: ...
154
- def __gt__(self, other) -> bool: ...
155
- def __hash__(self) -> int: ...
156
- def __index__(self) -> Any: ...
157
- def __int__(self) -> int: ...
158
- def __le__(self, other) -> bool: ...
159
- def __lt__(self, other) -> bool: ...
160
- def __init__(self, *args, **kwargs) -> None: ...
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
216
+
217
+ SUBROUTINE = 13
218
+
219
+ POINTER_MEMBER = 14
220
+
221
+ PACKED = 15
222
+
223
+ FILE = 16
224
+
225
+ THROWN = 17
226
+
227
+ VOLATILE = 18
228
+
229
+ RESTRICT = 19
230
+
231
+ INTERFACE = 20
232
+
233
+ SHARED = 21
234
+
235
+ RVALREF = 22
236
+
237
+ TEMPLATE_ALIAS = 23
238
+
239
+ COARRAY = 24
240
+
241
+ DYNAMIC = 25
242
+
243
+ ATOMIC = 26
244
+
245
+ IMMUTABLE = 27
246
+
247
+ ENUM = 28
248
+
161
249
  @property
162
- def is_unspecified(self) -> bool: ...
250
+ def kind(self) -> Type.KIND: ...
251
+
252
+ @property
253
+ def name(self) -> Optional[str]: ...
254
+
163
255
  @property
164
- def kind(self) -> lief.dwarf.Type.KIND: ...
256
+ def size(self) -> Optional[int]: ...
257
+
165
258
  @property
166
259
  def location(self) -> lief.debug_location_t: ...
260
+
167
261
  @property
168
- def name(self) -> Optional[str]: ...
169
- @property
170
- def scope(self) -> Optional[lief.dwarf.Scope]: ...
262
+ def is_unspecified(self) -> bool: ...
263
+
171
264
  @property
172
- def size(self) -> Optional[int]: ...
265
+ def scope(self) -> Optional[Scope]: ...
173
266
 
174
267
  class Variable:
175
- def __init__(self, *args, **kwargs) -> None: ...
176
268
  @property
177
- def address(self) -> Optional[int]: ...
269
+ def name(self) -> str: ...
270
+
178
271
  @property
179
- def debug_location(self) -> lief.debug_location_t: ...
272
+ def linkage_name(self) -> str: ...
273
+
180
274
  @property
181
- def is_constexpr(self) -> bool: ...
275
+ def address(self) -> Optional[int]: ...
276
+
182
277
  @property
183
- def linkage_name(self) -> str: ...
278
+ def size(self) -> Optional[int]: ...
279
+
184
280
  @property
185
- def name(self) -> str: ...
281
+ def is_constexpr(self) -> bool: ...
282
+
186
283
  @property
187
- def scope(self) -> Optional[lief.dwarf.Scope]: ...
284
+ def debug_location(self) -> lief.debug_location_t: ...
285
+
188
286
  @property
189
- def size(self) -> Optional[int]: ...
287
+ def type(self) -> Optional[Type]: ...
288
+
190
289
  @property
191
- def type(self) -> Optional[lief.dwarf.Type]: ...
290
+ def scope(self) -> Optional[Scope]: ...
192
291
 
193
- def load(path: str) -> Optional[lief.dwarf.DebugInfo]: ...
292
+ def load(path: str) -> Optional[DebugInfo]: ...
@@ -0,0 +1,14 @@
1
+ from typing import Iterator, Optional, Union
2
+
3
+ import lief
4
+
5
+
6
+ class Formal(lief.dwarf.Parameter):
7
+ @property
8
+ def type(self) -> Optional[lief.dwarf.Type]: ...
9
+
10
+ class TemplateType(lief.dwarf.Parameter):
11
+ pass
12
+
13
+ class TemplateValue(lief.dwarf.Parameter):
14
+ pass