-
-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de60b62
commit b267a99
Showing
2 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
About | ||
===== | ||
|
||
The purpose of this project is to provide a cross platform library that can parse, modify and | ||
abstract ELF, PE and MachO formats. | ||
|
||
Main features: | ||
|
||
* **Parsing**: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and provides an user-friendly API to access to format internals. | ||
* **Modify**: LIEF enables to modify some parts of these formats | ||
* **Abstract**: Three formats have common features like sections, symbols, entry point... LIEF factors them. | ||
* **API**: LIEF can be used in C, C++, Python and Rust | ||
|
||
LIEF Extended: | ||
|
||
* DWARF/PDB Support | ||
* Objective-C Metadata | ||
|
||
Checkout: https://lief.re/doc/latest/extended/intro.html for the details | ||
|
||
Getting Started | ||
================ | ||
|
||
.. code-block:: console | ||
$ pip install lief | ||
.. code-block:: python | ||
import lief | ||
elf = lief.ELF.parse("/bin/ls") | ||
for section in elf.sections: | ||
print(section.name, len(section.content)) | ||
pe = lief.PE.parse("cmd.exe") | ||
for imp in pe.imports: | ||
print(imp.name) | ||
fat = lief.MachO.parse("/bin/dyld") | ||
for macho in fat: | ||
for sym in macho.symbols: | ||
print(sym) | ||
Documentation | ||
============= | ||
|
||
* `Main documentation <https://lief.re/doc/latest/index.html>`_ | ||
* `API <https://lief.re/doc/latest/api/python/index.html>`_ | ||
|
||
Contact | ||
======= | ||
|
||
* **Mail**: contact at lief.re | ||
* **Discord**: `LIEF <https://discord.com/invite/7hRFGWYedu>`_ | ||
|
||
Authors | ||
======= | ||
|
||
Romain Thomas `@rh0main <https://x.com/rh0main>`_ | ||
|
||
---- | ||
|
||
LIEF is provided under the `Apache 2.0 license <https://github.com/lief-project/LIEF/blob/0.15.1/LICENSE>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters