lief 0.16.5__cp310-cp310-win32.whl → 0.16.7__cp310-cp310-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lief might be problematic. Click here for more details.

lief/pdb/__init__.pyi CHANGED
@@ -5,18 +5,36 @@ from . import types as types
5
5
  import lief
6
6
 
7
7
 
8
- class CompilationUnit:
9
- @property
10
- def module_name(self) -> str: ...
8
+ def load(path: str) -> Optional[DebugInfo]: ...
11
9
 
12
- @property
13
- def object_filename(self) -> str: ...
10
+ class Type:
11
+ class KIND(enum.Enum):
12
+ UNKNOWN = 0
14
13
 
15
- @property
16
- def sources(self) -> Iterator[str]: ...
14
+ CLASS = 1
15
+
16
+ POINTER = 2
17
+
18
+ SIMPLE = 3
19
+
20
+ ENUM = 4
21
+
22
+ FUNCTION = 5
23
+
24
+ MODIFIER = 6
25
+
26
+ BITFIELD = 7
27
+
28
+ ARRAY = 8
29
+
30
+ UNION = 9
31
+
32
+ STRUCTURE = 10
33
+
34
+ INTERFACE = 11
17
35
 
18
36
  @property
19
- def functions(self) -> Iterator[Optional[Function]]: ...
37
+ def kind(self) -> Type.KIND: ...
20
38
 
21
39
  class DebugInfo(lief.DebugInfo):
22
40
  @property
@@ -41,62 +59,44 @@ class DebugInfo(lief.DebugInfo):
41
59
  @property
42
60
  def types(self) -> Iterator[Optional[Type]]: ...
43
61
 
44
- class Function:
62
+ class PublicSymbol:
45
63
  @property
46
64
  def name(self) -> str: ...
47
65
 
48
66
  @property
49
- def RVA(self) -> int: ...
67
+ def section_name(self) -> str: ...
50
68
 
51
69
  @property
52
- def code_size(self) -> int: ...
70
+ def RVA(self) -> int: ...
53
71
 
54
72
  @property
55
- def section_name(self) -> str: ...
73
+ def demangled_name(self) -> str: ...
56
74
 
75
+ class CompilationUnit:
57
76
  @property
58
- def debug_location(self) -> lief.debug_location_t: ...
77
+ def module_name(self) -> str: ...
59
78
 
60
- class PublicSymbol:
61
79
  @property
62
- def name(self) -> str: ...
80
+ def object_filename(self) -> str: ...
63
81
 
64
82
  @property
65
- def section_name(self) -> str: ...
83
+ def sources(self) -> Iterator[str]: ...
66
84
 
67
85
  @property
68
- def RVA(self) -> int: ...
86
+ def functions(self) -> Iterator[Optional[Function]]: ...
69
87
 
88
+ class Function:
70
89
  @property
71
- def demangled_name(self) -> str: ...
72
-
73
- class Type:
74
- class KIND(enum.Enum):
75
- UNKNOWN = 0
76
-
77
- CLASS = 1
78
-
79
- POINTER = 2
80
-
81
- SIMPLE = 3
82
-
83
- ENUM = 4
84
-
85
- FUNCTION = 5
86
-
87
- MODIFIER = 6
88
-
89
- BITFIELD = 7
90
-
91
- ARRAY = 8
92
-
93
- UNION = 9
90
+ def name(self) -> str: ...
94
91
 
95
- STRUCTURE = 10
92
+ @property
93
+ def RVA(self) -> int: ...
96
94
 
97
- INTERFACE = 11
95
+ @property
96
+ def code_size(self) -> int: ...
98
97
 
99
98
  @property
100
- def kind(self) -> Type.KIND: ...
99
+ def section_name(self) -> str: ...
101
100
 
102
- def load(path: str) -> Optional[DebugInfo]: ...
101
+ @property
102
+ def debug_location(self) -> lief.debug_location_t: ...
@@ -1,25 +1,15 @@
1
1
  from typing import Iterator, Optional, Union as _Union
2
2
 
3
- import lief
3
+ import lief.pdb
4
4
 
5
5
 
6
- class Array(lief.pdb.Type):
6
+ class Simple(lief.pdb.Type):
7
7
  pass
8
8
 
9
- class Attribute:
10
- @property
11
- def name(self) -> str: ...
12
-
13
- @property
14
- def type(self) -> Optional[lief.pdb.Type]: ...
15
-
16
- @property
17
- def field_offset(self) -> int: ...
18
-
19
- class BitField(lief.pdb.Type):
9
+ class Array(lief.pdb.Type):
20
10
  pass
21
11
 
22
- class Class(ClassLike):
12
+ class BitField(lief.pdb.Type):
23
13
  pass
24
14
 
25
15
  class ClassLike(lief.pdb.Type):
@@ -38,19 +28,35 @@ class ClassLike(lief.pdb.Type):
38
28
  @property
39
29
  def size(self) -> int: ...
40
30
 
41
- class Enum(lief.pdb.Type):
31
+ class Class(ClassLike):
42
32
  pass
43
33
 
44
- class Function(lief.pdb.Type):
34
+ class Structure(ClassLike):
45
35
  pass
46
36
 
47
37
  class Interface(ClassLike):
48
38
  pass
49
39
 
40
+ class Attribute:
41
+ @property
42
+ def name(self) -> str: ...
43
+
44
+ @property
45
+ def type(self) -> Optional[lief.pdb.Type]: ...
46
+
47
+ @property
48
+ def field_offset(self) -> int: ...
49
+
50
50
  class Method:
51
51
  @property
52
52
  def name(self) -> str: ...
53
53
 
54
+ class Enum(lief.pdb.Type):
55
+ pass
56
+
57
+ class Function(lief.pdb.Type):
58
+ pass
59
+
54
60
  class Modifier(lief.pdb.Type):
55
61
  @property
56
62
  def underlying_type(self) -> Optional[lief.pdb.Type]: ...
@@ -59,11 +65,5 @@ class Pointer(lief.pdb.Type):
59
65
  @property
60
66
  def underlying_type(self) -> Optional[lief.pdb.Type]: ...
61
67
 
62
- class Simple(lief.pdb.Type):
63
- pass
64
-
65
- class Structure(ClassLike):
66
- pass
67
-
68
68
  class Union(ClassLike):
69
69
  pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: lief
3
- Version: 0.16.5
3
+ Version: 0.16.7
4
4
  Summary: Library to instrument executable formats
5
5
  Keywords: parser,elf,pe,macho,reverse-engineering
6
6
  Author-Email: Romain Thomas <contact@lief.re>
@@ -0,0 +1,33 @@
1
+ lief/ART/__init__.pyi,sha256=wcaWKcum8r6tBF6IHOrbIfNYuT8J53Lj4sFPUiCxaRw,1912
2
+ lief/Android/__init__.pyi,sha256=H01bnBakndPhjeV76KbniMaqCfOg6h06oMP3T-AcUrg,567
3
+ lief/DEX/__init__.pyi,sha256=hXt4zosga31XqX8qMyJDzRRcvE0T7t2eU00icErII5s,9783
4
+ lief/ELF/__init__.pyi,sha256=Oex62GWRsPz2bPCCoLY8grwqE7X4HlFwO9TsIqnTKYQ,98341
5
+ lief/MachO/__init__.pyi,sha256=kne_34xkjldhoo9c_47cEssEA519WKyE1yvsDTyj4e4,54873
6
+ lief/OAT/__init__.pyi,sha256=eKZOFvGBYwIR-drcQo3XE53LEZFBcWHO5CaAMbBYGeg,6845
7
+ lief/PE/__init__.pyi,sha256=kwmd9BtUOBSi1KpM--cBJ3zhAsstVv0BGS4sRsqKklc,70293
8
+ lief/VDEX/__init__.pyi,sha256=4qH3jj0b7WDiWrdM9PqdTIt8hEftcfQJust55L0ofjA,1133
9
+ lief/__init__.py,sha256=sOMCNwqJ22NGeTiw6U8ZGdU974xKMcPJeVrqw_IuAFo,643
10
+ lief/__init__.pyi,sha256=7PQ_GxS0gx1mp_HnrV_6eJDS8NycgTzcgSwFm8O-E6c,11122
11
+ lief/_lief.pyd,sha256=k-iGDJnoHT4uvkU6K9vWIria55YhM4D5Sp4QyJL9n30,8071680
12
+ lief/assembly/__init__.pyi,sha256=9lEo2ZtNqce4cdVzkV1_mQ3P2PFGbMwBchjFFIe3gl0,1914
13
+ lief/assembly/aarch64/__init__.pyi,sha256=5ZgBsf4rjAH4n40GOaHDIkGC8CLVZ5_s_1Wlnp9pOhY,250909
14
+ lief/assembly/aarch64/operands/__init__.pyi,sha256=5bBLVZlgVYC9kFhYHICw0vvzvcAWKD7RVDupIlXKZD4,1019
15
+ lief/assembly/arm/__init__.pyi,sha256=lQ9V6J2ExKNC7iKKB5GBPQinjYK-5gG7snxbPLmv27M,108148
16
+ lief/assembly/ebpf/__init__.pyi,sha256=7YpNeTioVhmI7yRei0hEiR7AxaYqXOJJhECmbXQoGD8,10781
17
+ lief/assembly/mips/__init__.pyi,sha256=hV9qFxLW71mbaz-rPrKYGPxGf9h_1LTask1JEhfFsOw,63719
18
+ lief/assembly/powerpc/__init__.pyi,sha256=1lTlXrHAGJAwAC7sawErWoafSnSoz0iS0RQnOoIx3M0,59827
19
+ lief/assembly/riscv/__init__.pyi,sha256=1U5wTzboVa1lPS7wYE3MAxn7Tfn2kImROyf2apsFEXI,491259
20
+ lief/assembly/x86/__init__.pyi,sha256=ziUTbPDjF0fFp6nP5g6uFQhNWxlMIrcCkX7hGCxj2V8,537269
21
+ lief/assembly/x86/operands/__init__.pyi,sha256=eTJFLYTL4KJaFXslpxJHTEqjpeAeY1CY5RBsSb-LPRw,720
22
+ lief/dsc/__init__.pyi,sha256=YBNEJfg-3nSypc4dHfZvquzjRkGbi2QdYcIqatt4LzY,4162
23
+ lief/dwarf/__init__.pyi,sha256=o-h98w8pTJB7W5EkTL-Fyc2hAs14bxJIu-z-XJRCboY,5342
24
+ lief/dwarf/parameters/__init__.pyi,sha256=YhxhncJ50xFEHBw2KRby9W-03Bg1ik0QnvKAW8TmaHw,274
25
+ lief/dwarf/types/__init__.pyi,sha256=s355OsV05G3CLGVYoEwMhwNVN5iHsI5YCOGnRvX6BMA,3525
26
+ lief/logging/__init__.pyi,sha256=t4zzsGm3YMxftAFFlIc7Q_tPJOaCh2AYvsAjmDZuy6o,626
27
+ lief/objc/__init__.pyi,sha256=qQKrV5tj-sjXw-uRO3hLq8w6o-qpldXUEdWGeEiy-9E,1854
28
+ lief/pdb/__init__.pyi,sha256=qbn8HYU4_qJfCa849ZL_oQIOcTUNdVgJ5-HgaYiyhuk,1849
29
+ lief/pdb/types/__init__.pyi,sha256=YcQvpRNCxwVEMXAbDvQdbF-_EacqyUc6TwfmcFiPOdY,1198
30
+ lief/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
+ lief-0.16.7.dist-info/METADATA,sha256=RP9fDZ8rS7nZy9CpWnBtPitBREwIbXZlJLzdyhLsusw,2423
32
+ lief-0.16.7.dist-info/WHEEL,sha256=HkqquqG9ihZQTXYn9xl3g7QmXykZvbdm6_AW2wDfYr4,102
33
+ lief-0.16.7.dist-info/RECORD,,
@@ -1,33 +0,0 @@
1
- lief/ART/__init__.pyi,sha256=1j1sBIH6yL_Yt57jfU5NjKApThpi3yIuZ55GVJw1cXA,1892
2
- lief/Android/__init__.pyi,sha256=H01bnBakndPhjeV76KbniMaqCfOg6h06oMP3T-AcUrg,567
3
- lief/DEX/__init__.pyi,sha256=NVtyApo4dTyj32PBAnhkO9X9x4dfFBeKdmVlrtKEI6c,9783
4
- lief/ELF/__init__.pyi,sha256=wBbX0oVTKDvB1oHt9tKsDiqHBdFEUsbP8i6ey8a427U,98611
5
- lief/MachO/__init__.pyi,sha256=4zVeZjSOngDh2Yhl6qN02N1bvRH19TjxDMX4hVTuWXc,55020
6
- lief/OAT/__init__.pyi,sha256=_mR9e3n29myQFK4WSTwqXOnVmhXt53ASTQGz0mmB6E4,6802
7
- lief/PE/__init__.pyi,sha256=JvOJY6HPj2-ZrUVPj4nN-JERFrb0Tz93Kn6bYacJmGE,70421
8
- lief/VDEX/__init__.pyi,sha256=9YUZKojOWhtb15Vbn3JPuUu7HWkLnXH4eP1PQpp1-D4,1097
9
- lief/__init__.py,sha256=sOMCNwqJ22NGeTiw6U8ZGdU974xKMcPJeVrqw_IuAFo,643
10
- lief/__init__.pyi,sha256=Pw-RQM-xjzfEVX3K465XOBW5P0tqVsHW5kEjonWR6ok,11053
11
- lief/_lief.pyd,sha256=zT9_GkX_9hXQ428kEstk56g6hc_ra9NRcJ5i_-RDqmg,8075264
12
- lief/assembly/__init__.pyi,sha256=9lEo2ZtNqce4cdVzkV1_mQ3P2PFGbMwBchjFFIe3gl0,1914
13
- lief/assembly/aarch64/__init__.pyi,sha256=9YkVkhh5w72vtHpZNAGqyhRoa80puk5W1ix3rGo6bGs,250900
14
- lief/assembly/aarch64/operands/__init__.pyi,sha256=otjElFFmQmWz2qctYMB0ALmIRp4fUbRX36f_CQ1HuPo,1002
15
- lief/assembly/arm/__init__.pyi,sha256=ru8DCl_u6HaILmV6GS86-01jx_6zH1vaE0DNWNQj2pI,108139
16
- lief/assembly/ebpf/__init__.pyi,sha256=bfdbPUbzRZ4MBCTyNKms89eQJ5PEc_lKC30PKtUczGo,10772
17
- lief/assembly/mips/__init__.pyi,sha256=N_CvN0GWAwSPjQwZfeXrQ7sw_3Hi3J-aHN0qXmeq35A,63710
18
- lief/assembly/powerpc/__init__.pyi,sha256=Nt76r-HG7up81X95-UWN6TtASft0NnC0enl8G-mgBlg,59818
19
- lief/assembly/riscv/__init__.pyi,sha256=SGG87C93DuLK0BQPmoBPDwf7_Be4PCcWkY1KIB4rkiw,491250
20
- lief/assembly/x86/__init__.pyi,sha256=5QstuvVdFad9OBgRqfbfnC_pWy1zrGL9ztxKDnqaKQk,537260
21
- lief/assembly/x86/operands/__init__.pyi,sha256=kGeLtyxU5xM5JT9RENtBd3clc0OtVDcxrRTzVf5aIz8,707
22
- lief/dsc/__init__.pyi,sha256=nvPvXFCj_qWPS3VLCseIpLm-poaPBGbbqydevZMQ6Ms,4123
23
- lief/dwarf/__init__.pyi,sha256=EH9xs19CjBp0Sun9y2jI-WN4q2jD4ugiN9N11YLz5Es,5332
24
- lief/dwarf/parameters/__init__.pyi,sha256=8CKvucoHGmj2NkmgHgbNUZrHRZuyV1BFEzLAzW_Ipwg,268
25
- lief/dwarf/types/__init__.pyi,sha256=VSIY3NHUsIQNE59_oxLdVh_SxbbsusfWmGo7UPMpeJM,3519
26
- lief/logging/__init__.pyi,sha256=Wxhe9RqLOmZ74-GfgrY-Yjq9PnCQktUYIncHkSIoYrc,626
27
- lief/objc/__init__.pyi,sha256=jYeFLOHsdI76IZk0q3LdqI5Q4D-Om4oc7WzfjvHMapc,1854
28
- lief/pdb/__init__.pyi,sha256=kouZpAbkGg6QzeZLpMfGL7uKdoVur6AT3f901AVPdW0,1849
29
- lief/pdb/types/__init__.pyi,sha256=KDf2dzaUWprt_yJgmcVeFF8q2k1w7C-zDcX-6PEzd6o,1194
30
- lief/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- lief-0.16.5.dist-info/METADATA,sha256=XW7qW6SdwFJIqUw_YD7UWioxfutLDn17mfrUwTmM-0A,2423
32
- lief-0.16.5.dist-info/WHEEL,sha256=HkqquqG9ihZQTXYn9xl3g7QmXykZvbdm6_AW2wDfYr4,102
33
- lief-0.16.5.dist-info/RECORD,,
File without changes