lief 0.17.3__cp38-cp38-musllinux_1_2_x86_64.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.
- lief/ART/__init__.pyi +102 -0
- lief/Android/__init__.pyi +33 -0
- lief/COFF/__init__.pyi +708 -0
- lief/DEX/__init__.pyi +518 -0
- lief/ELF/__init__.pyi +5801 -0
- lief/MachO/__init__.pyi +3098 -0
- lief/OAT/__init__.pyi +351 -0
- lief/PE/__init__.pyi +4710 -0
- lief/PE/unwind_aarch64/__init__.pyi +58 -0
- lief/PE/unwind_x64/__init__.pyi +53 -0
- lief/VDEX/__init__.pyi +56 -0
- lief/__init__.py +16 -0
- lief/__init__.pyi +600 -0
- lief/_lief.so +0 -0
- lief/assembly/__init__.pyi +121 -0
- lief/assembly/aarch64/__init__.pyi +22326 -0
- lief/assembly/aarch64/operands/__init__.pyi +48 -0
- lief/assembly/arm/__init__.pyi +9034 -0
- lief/assembly/ebpf/__init__.pyi +1038 -0
- lief/assembly/mips/__init__.pyi +5836 -0
- lief/assembly/powerpc/__init__.pyi +5826 -0
- lief/assembly/riscv/__init__.pyi +28636 -0
- lief/assembly/x86/__init__.pyi +45477 -0
- lief/assembly/x86/operands/__init__.pyi +32 -0
- lief/dsc/__init__.pyi +226 -0
- lief/dwarf/__init__.pyi +306 -0
- lief/dwarf/editor/__init__.pyi +138 -0
- lief/dwarf/parameters/__init__.pyi +14 -0
- lief/dwarf/types/__init__.pyi +167 -0
- lief/logging/__init__.pyi +44 -0
- lief/objc/__init__.pyi +89 -0
- lief/pdb/__init__.pyi +336 -0
- lief/pdb/types/__init__.pyi +69 -0
- lief/py.typed +0 -0
- lief-0.17.3.dist-info/METADATA +85 -0
- lief-0.17.3.dist-info/RECORD +37 -0
- lief-0.17.3.dist-info/WHEEL +5 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: lief
|
|
3
|
+
Version: 0.17.3
|
|
4
|
+
Summary: Library to instrument executable formats
|
|
5
|
+
Keywords: parser,elf,pe,macho,reverse-engineering
|
|
6
|
+
Author-Email: Romain Thomas <contact@lief.re>
|
|
7
|
+
License: Apache License 2.0
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: C++
|
|
11
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
12
|
+
Project-URL: homepage, https://lief-project.github.io/
|
|
13
|
+
Project-URL: documentation, https://lief-project.github.io/doc/latest/
|
|
14
|
+
Project-URL: repository, https://github.com/lief-project/LIEF
|
|
15
|
+
Project-URL: changelog, https://lief-project.github.io/doc/latest/changelog.html
|
|
16
|
+
Project-URL: Funding, https://github.com/sponsors/lief-project
|
|
17
|
+
Project-URL: Tracker, https://github.com/lief-project/LIEF/issues
|
|
18
|
+
Requires-Python: >=3.8
|
|
19
|
+
Description-Content-Type: text/x-rst
|
|
20
|
+
|
|
21
|
+
About
|
|
22
|
+
=====
|
|
23
|
+
|
|
24
|
+
The purpose of this project is to provide a cross platform library that can parse, modify and
|
|
25
|
+
abstract ELF, PE and MachO formats.
|
|
26
|
+
|
|
27
|
+
Main features:
|
|
28
|
+
|
|
29
|
+
* **Parsing**: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and provides an user-friendly API to access to format internals.
|
|
30
|
+
* **Modify**: LIEF enables to modify some parts of these formats
|
|
31
|
+
* **Abstract**: Three formats have common features like sections, symbols, entry point... LIEF factors them.
|
|
32
|
+
* **API**: LIEF can be used in C, C++, Python and Rust
|
|
33
|
+
|
|
34
|
+
LIEF Extended:
|
|
35
|
+
|
|
36
|
+
* DWARF/PDB Support
|
|
37
|
+
* Objective-C Metadata
|
|
38
|
+
* dyld shared cache
|
|
39
|
+
|
|
40
|
+
Checkout: https://lief.re/doc/latest/extended/intro.html for the details
|
|
41
|
+
|
|
42
|
+
Getting Started
|
|
43
|
+
================
|
|
44
|
+
|
|
45
|
+
.. code-block:: console
|
|
46
|
+
|
|
47
|
+
$ pip install lief
|
|
48
|
+
|
|
49
|
+
.. code-block:: python
|
|
50
|
+
|
|
51
|
+
import lief
|
|
52
|
+
|
|
53
|
+
elf = lief.ELF.parse("/bin/ls")
|
|
54
|
+
for section in elf.sections:
|
|
55
|
+
print(section.name, len(section.content))
|
|
56
|
+
|
|
57
|
+
pe = lief.PE.parse("cmd.exe")
|
|
58
|
+
for imp in pe.imports:
|
|
59
|
+
print(imp.name)
|
|
60
|
+
|
|
61
|
+
fat = lief.MachO.parse("/bin/dyld")
|
|
62
|
+
for macho in fat:
|
|
63
|
+
for sym in macho.symbols:
|
|
64
|
+
print(sym)
|
|
65
|
+
|
|
66
|
+
Documentation
|
|
67
|
+
=============
|
|
68
|
+
|
|
69
|
+
* `Main documentation <https://lief.re/doc/latest/index.html>`_
|
|
70
|
+
* `API <https://lief.re/doc/latest/api/python/index.html>`_
|
|
71
|
+
|
|
72
|
+
Contact
|
|
73
|
+
=======
|
|
74
|
+
|
|
75
|
+
* **Mail**: contact at lief.re
|
|
76
|
+
* **Discord**: `LIEF <https://discord.gg/jGQtyAYChJ>`_
|
|
77
|
+
|
|
78
|
+
Authors
|
|
79
|
+
=======
|
|
80
|
+
|
|
81
|
+
Romain Thomas `@rh0main <https://x.com/rh0main>`_
|
|
82
|
+
|
|
83
|
+
----
|
|
84
|
+
|
|
85
|
+
LIEF is provided under the `Apache 2.0 license <https://github.com/lief-project/LIEF/blob/0.15.1/LICENSE>`_
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
lief/ART/__init__.pyi,sha256=zcsBW9vkC5lCOGabLe5tpXvpKAa69ig3kYwRv5p9zGs,1938
|
|
2
|
+
lief/Android/__init__.pyi,sha256=H01bnBakndPhjeV76KbniMaqCfOg6h06oMP3T-AcUrg,567
|
|
3
|
+
lief/COFF/__init__.pyi,sha256=T3H3Z_xtcliTOwYTlW6Mhf0xRaHFfrKGngF5SoYvIZk,13179
|
|
4
|
+
lief/DEX/__init__.pyi,sha256=4uD6Iq1cHu0wz88Nuo8PHaSgGztIaXyzGo3bry1ACEg,9919
|
|
5
|
+
lief/ELF/__init__.pyi,sha256=kGRblWR1_phI_wevr9MNP6SSSDUdDunWcpNsCR1NhO8,107196
|
|
6
|
+
lief/MachO/__init__.pyi,sha256=60XzvI5UaONj43SIlahka0GPSks8c-wysJ27PSlmRk8,63339
|
|
7
|
+
lief/OAT/__init__.pyi,sha256=Vnhyb4pfH5_vNIMXS36ZJ4soi3k9LRoxqYaZMRqL_hk,6871
|
|
8
|
+
lief/PE/__init__.pyi,sha256=Z_56ENvBDKrylQrbQsv4A3DVj4pKdartWaEbhVgOlds,87835
|
|
9
|
+
lief/PE/unwind_aarch64/__init__.pyi,sha256=AsVMrDjVs3CG57tHwoVUY4bbKiONmJg7O0UcilDBgpQ,1029
|
|
10
|
+
lief/PE/unwind_x64/__init__.pyi,sha256=xMkmxMvNss4LLgnIhRXuZHfkJDdbvCCaGsJadgGA4nc,1003
|
|
11
|
+
lief/VDEX/__init__.pyi,sha256=CTKJ3EpvM5A6P1g-7cVK98tMxhDjr-c-KUXcI8oJeO0,1159
|
|
12
|
+
lief/__init__.py,sha256=DYF2L6DYYY0zPJgrfgKbwSeXjIG0v-lnBJex11W1pxA,652
|
|
13
|
+
lief/__init__.pyi,sha256=vyqr_wNoGhZDbI-lrNhSL0S6zlX1jdm1bPDOjRLu27g,11910
|
|
14
|
+
lief/_lief.so,sha256=TYRUeMEgUdrOUinukFTPdhcThqx-zT5LTiLzz3TwSWg,10210880
|
|
15
|
+
lief/assembly/__init__.pyi,sha256=yQ1CrlFny0MVHZodXFHJjshl1F9fU-Lh66Qv3Lm97dI,2243
|
|
16
|
+
lief/assembly/aarch64/__init__.pyi,sha256=QCi2Cq4KM_GZNxUgAC3gvQVymplRfzIhFHt8Gt6_-sM,277594
|
|
17
|
+
lief/assembly/aarch64/operands/__init__.pyi,sha256=5bBLVZlgVYC9kFhYHICw0vvzvcAWKD7RVDupIlXKZD4,1019
|
|
18
|
+
lief/assembly/arm/__init__.pyi,sha256=8WH8WpwaQP7kLD8bqBK3hadaO82QFQ8-v-jrN9pSoY8,108476
|
|
19
|
+
lief/assembly/ebpf/__init__.pyi,sha256=_NTWE873qS7rcCZXySBT_zljL3s1Y-7IpJxt_9_GRbA,11412
|
|
20
|
+
lief/assembly/mips/__init__.pyi,sha256=YaLVWEIa4dwzm-Bdz8btDHmSxMYWm4X6R1X64EQ6Qk4,64213
|
|
21
|
+
lief/assembly/powerpc/__init__.pyi,sha256=pmr_vbcQ-l104MIeAYXICtbStuiambOrx7tl6d16yfU,61286
|
|
22
|
+
lief/assembly/riscv/__init__.pyi,sha256=Zz06NCsRk4nQqNBYqwSPGW6hqc1XCX1ZtTq5M_6ZATE,504025
|
|
23
|
+
lief/assembly/x86/__init__.pyi,sha256=E6WprS7mKLPrqzr6M4MjdAef2eHgDHeDwARZRFYqi2c,614761
|
|
24
|
+
lief/assembly/x86/operands/__init__.pyi,sha256=eTJFLYTL4KJaFXslpxJHTEqjpeAeY1CY5RBsSb-LPRw,720
|
|
25
|
+
lief/dsc/__init__.pyi,sha256=1iBlkh5kEBOQnXufKbcvGMipn0jdjitCF_evcywd3kE,4249
|
|
26
|
+
lief/dwarf/__init__.pyi,sha256=U1Pb75qIY5jzQwY689N8CdVQRiWrPKRbftG7jVkABBE,5651
|
|
27
|
+
lief/dwarf/editor/__init__.pyi,sha256=r7ivg51l9MgIGacjMFP4_U7CU1D9Fi2YyGax9Q85UHs,3368
|
|
28
|
+
lief/dwarf/parameters/__init__.pyi,sha256=YhxhncJ50xFEHBw2KRby9W-03Bg1ik0QnvKAW8TmaHw,274
|
|
29
|
+
lief/dwarf/types/__init__.pyi,sha256=s355OsV05G3CLGVYoEwMhwNVN5iHsI5YCOGnRvX6BMA,3525
|
|
30
|
+
lief/logging/__init__.pyi,sha256=t4zzsGm3YMxftAFFlIc7Q_tPJOaCh2AYvsAjmDZuy6o,626
|
|
31
|
+
lief/objc/__init__.pyi,sha256=qQKrV5tj-sjXw-uRO3hLq8w6o-qpldXUEdWGeEiy-9E,1854
|
|
32
|
+
lief/pdb/__init__.pyi,sha256=ef8iPAocNsZ6Qk250u6lPoP9DsFT7mgNwGdmjlX2LFQ,4767
|
|
33
|
+
lief/pdb/types/__init__.pyi,sha256=YcQvpRNCxwVEMXAbDvQdbF-_EacqyUc6TwfmcFiPOdY,1198
|
|
34
|
+
lief/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
+
lief-0.17.3.dist-info/METADATA,sha256=NSiSSP5efcupj2cIfZeFB5D49IBXIbcokkV5mDDy1qo,2423
|
|
36
|
+
lief-0.17.3.dist-info/WHEEL,sha256=lTDFL7eI-zlTCG2Ky1_nkKDWScL37cUPxwDry8czOfk,115
|
|
37
|
+
lief-0.17.3.dist-info/RECORD,,
|