2017-03-30 16:56:49 +02:00
|
|
|
<p align="center" >
|
2018-03-02 07:10:57 +01:00
|
|
|
<img width="90%" src="https://github.com/lief-project/LIEF/blob/master/.github/images/architecture.png"/><br />
|
2017-03-30 16:56:49 +02:00
|
|
|
</p>
|
|
|
|
<hr>
|
2017-10-15 13:02:27 +02:00
|
|
|
<p align="center">
|
2017-03-30 16:56:49 +02:00
|
|
|
<a href="https://gitter.im/lief-project">
|
|
|
|
<img src="https://img.shields.io/gitter/room/gitterHQ/gitter.svg">
|
|
|
|
</a>
|
2017-04-03 18:44:00 +02:00
|
|
|
|
|
|
|
<a href="https://travis-ci.org/lief-project/LIEF">
|
|
|
|
<img src="https://travis-ci.org/lief-project/LIEF.svg?branch=master">
|
|
|
|
</a>
|
2017-04-03 19:18:22 +02:00
|
|
|
|
2017-07-06 17:41:18 +02:00
|
|
|
<a href="https://circleci.com/gh/lief-project/LIEF/tree/master">
|
|
|
|
<img src="https://circleci.com/gh/lief-project/LIEF/tree/master.svg?style=svg">
|
|
|
|
</a>
|
|
|
|
|
2017-04-03 19:18:22 +02:00
|
|
|
<a href="https://ci.appveyor.com/project/Romain/lief/branch/master">
|
|
|
|
<img src="https://ci.appveyor.com/api/projects/status/0ijlcujac5vh8cas/branch/master?svg=true">
|
|
|
|
</a>
|
2017-04-04 09:25:18 +02:00
|
|
|
|
|
|
|
<a href="https://github.com/lief-project/LIEF/releases">
|
2017-10-29 20:20:45 +01:00
|
|
|
<img src="https://img.shields.io/badge/release-0.8.3-brightgreen.svg?style=default">
|
2017-04-04 09:25:18 +02:00
|
|
|
</a>
|
2017-03-30 16:56:49 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
The purpose of this project is to provide a cross platform library which can parse, modify and abstract ELF, PE and MachO formats.
|
|
|
|
|
|
|
|
Main features:
|
|
|
|
|
|
|
|
* **Parsing**: LIEF can parse ELF, PE, MachO 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++ and Python
|
|
|
|
|
2017-04-07 09:33:29 +02:00
|
|
|
|
2017-04-07 09:34:05 +02:00
|
|
|
## Downloads / Install
|
2017-04-07 09:33:29 +02:00
|
|
|
|
2017-10-17 16:20:36 +02:00
|
|
|
First:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install setuptools --upgrade
|
|
|
|
```
|
|
|
|
|
2017-10-15 13:02:27 +02:00
|
|
|
To install the latest **version**:
|
2017-04-07 09:33:29 +02:00
|
|
|
|
2017-10-15 13:02:27 +02:00
|
|
|
```python
|
|
|
|
pip install lief
|
|
|
|
```
|
2017-07-13 09:49:31 +02:00
|
|
|
|
2017-10-15 13:02:27 +02:00
|
|
|
To install the latest **commit**:
|
2017-07-13 09:49:31 +02:00
|
|
|
|
2017-10-15 13:02:27 +02:00
|
|
|
```python
|
2017-10-29 20:20:45 +01:00
|
|
|
pip install https://github.com/lief-project/packages/raw/lief-master-latest/pylief-0.8.3.dev.zip
|
2017-10-15 13:02:27 +02:00
|
|
|
```
|
|
|
|
### Packages
|
2017-07-13 09:49:31 +02:00
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr><td colspan="4"><img src="https://img.shields.io/badge/release-master-brightgreen.svg?style=default"></td></tr>
|
|
|
|
<tr>
|
|
|
|
<th>Linux</th>
|
|
|
|
<th>Windows - x86</th>
|
|
|
|
<th>Windows - x86-64</th>
|
|
|
|
<th>OSX</th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2017-10-29 20:20:45 +01:00
|
|
|
<td><a href="https://github.com/lief-project/packages/raw/lief-master-latest/LIEF-0.8.3-Linux.tar.gz">SDK</a></td>
|
|
|
|
<td><a href="https://github.com/lief-project/packages/raw/lief-master-latest/LIEF-0.8.3-win32.zip">SDK</a></td>
|
|
|
|
<td><a href="https://github.com/lief-project/packages/raw/lief-master-latest/LIEF-0.8.3-win64.zip">SDK</a></td>
|
|
|
|
<td><a href="https://github.com/lief-project/packages/raw/lief-master-latest/LIEF-0.8.3-Darwin.tar.gz">SDK</a></td>
|
2017-07-13 09:49:31 +02:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2017-10-29 20:20:45 +01:00
|
|
|
<td colspan="4"><p align="center"><a href="https://github.com/lief-project/packages/raw/lief-master-latest/pylief-0.8.3.dev.zip">Python</a></p></td>
|
2017-07-13 09:49:31 +02:00
|
|
|
</tr>
|
2017-10-15 08:16:15 +02:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
2017-10-29 20:20:45 +01:00
|
|
|
<tr><td colspan="6"><b><img src="https://img.shields.io/badge/release-0.8.3-brightgreen.svg?style=default"></b></td></tr>
|
2017-10-15 08:16:15 +02:00
|
|
|
<tr>
|
|
|
|
<th>Linux</th>
|
2017-10-15 08:23:44 +02:00
|
|
|
<th>Windows</th>
|
2017-10-15 08:16:15 +02:00
|
|
|
<th>OSX</th>
|
|
|
|
<th>CentOS</th>
|
|
|
|
<th>Android</th>
|
|
|
|
<th>Documentation</th>
|
|
|
|
</tr>
|
2017-07-13 09:49:31 +02:00
|
|
|
|
|
|
|
<tr>
|
2017-10-29 20:20:45 +01:00
|
|
|
<td><a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-Linux.tar.gz">SDK</a></td>
|
2017-10-15 08:23:44 +02:00
|
|
|
<td>
|
2017-10-29 20:20:45 +01:00
|
|
|
<a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-win32.zip">SDK - x86</a>
|
2017-10-15 08:23:44 +02:00
|
|
|
<br />
|
2017-10-29 20:20:45 +01:00
|
|
|
<a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-win64.zip">SDK - x86-64</a>
|
2017-10-15 08:23:44 +02:00
|
|
|
</td>
|
2017-10-29 20:20:45 +01:00
|
|
|
<td><a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-Darwin.tar.gz">SDK</a></td>
|
|
|
|
<td><a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-CentOS.tar.gz">SDK</a></td>
|
2017-10-18 21:04:04 +02:00
|
|
|
|
2017-10-15 08:16:15 +02:00
|
|
|
<td>
|
2017-10-29 20:20:45 +01:00
|
|
|
<a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-Android_x86_64.tar.gz">SDK - x86-64</a>
|
2017-10-15 08:16:15 +02:00
|
|
|
<br />
|
2017-10-29 20:20:45 +01:00
|
|
|
<a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-Android_x86.tar.gz">SDK - x86</a>
|
2017-10-15 08:16:15 +02:00
|
|
|
<br />
|
2017-10-29 20:20:45 +01:00
|
|
|
<a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-Android_armeabi-v7a.tar.gz">SDK - ARM</a>
|
2017-10-15 08:16:15 +02:00
|
|
|
<br />
|
2017-10-29 20:20:45 +01:00
|
|
|
<a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/LIEF-0.8.3-Android_aarch64.tar.gz">SDK - AARCH64</a>
|
2017-10-15 08:16:15 +02:00
|
|
|
</td>
|
2017-10-18 21:04:04 +02:00
|
|
|
|
2017-10-29 20:20:45 +01:00
|
|
|
<td><a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/documentation-0.8.3.tar.gz">Sphinx + Doxygen</a></td>
|
2017-07-13 09:49:31 +02:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
2017-10-29 20:20:45 +01:00
|
|
|
<td colspan="3"><p align="center"><a href="https://github.com/lief-project/LIEF/releases/download/0.8.3/pylief-0.8.3.zip">Python</a></p></td>
|
2017-07-13 09:49:31 +02:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-04-07 09:33:29 +02:00
|
|
|
|
2017-07-12 16:50:09 +02:00
|
|
|
Here one can find guides to install or integrate LIEF:
|
|
|
|
|
|
|
|
* [Python](https://lief.quarkslab.com/doc/installation.html#python)
|
|
|
|
* [VisualStudio](https://lief.quarkslab.com/doc/installation.html#visual-studio-integration)
|
|
|
|
* [XCode](https://lief.quarkslab.com/doc/installation.html#xcode-integration)
|
|
|
|
* [CMake](https://lief.quarkslab.com/doc/installation.html#cmake-integration)
|
|
|
|
|
2017-03-30 16:56:49 +02:00
|
|
|
## Getting started
|
|
|
|
|
|
|
|
### Python
|
|
|
|
|
2018-03-02 07:10:57 +01:00
|
|
|
<p align="center" >
|
|
|
|
<img width="100%" src="https://github.com/lief-project/LIEF/blob/master/.github/images/pythonapi.png"/><br />
|
|
|
|
</p>
|
2017-03-30 16:56:49 +02:00
|
|
|
|
|
|
|
### C++
|
|
|
|
|
2018-03-02 07:10:57 +01:00
|
|
|
<p align="center" >
|
|
|
|
<img width="100%" src="https://github.com/lief-project/LIEF/blob/master/.github/images/cpp.png"/><br />
|
|
|
|
</p>
|
2017-03-30 16:56:49 +02:00
|
|
|
|
|
|
|
### C
|
|
|
|
|
2018-03-02 07:10:57 +01:00
|
|
|
<p align="center" >
|
|
|
|
<img width="100%" src="https://github.com/lief-project/LIEF/blob/master/.github/images/capi.png"/><br />
|
|
|
|
</p>
|
2017-03-30 16:56:49 +02:00
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2017-04-03 17:46:27 +02:00
|
|
|
* [Main documentation](http://lief.quarkslab.com/doc/index.html)
|
|
|
|
* [Tutorial](http://lief.quarkslab.com/doc/tutorials/index.html)
|
|
|
|
* [API](http://lief.quarkslab.com/doc/api/index.html)
|
|
|
|
* [Doxygen](http://lief.quarkslab.com/doxygen/index.html)
|
2017-03-30 16:56:49 +02:00
|
|
|
|
2017-04-28 16:36:31 +02:00
|
|
|
## Contact
|
2017-03-30 16:56:49 +02:00
|
|
|
|
|
|
|
* **Mail**: lief at quarkslab com
|
|
|
|
* **Gitter**: [lief-project](https://gitter.im/lief-project)
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
2017-04-04 10:05:51 +02:00
|
|
|
Romain Thomas ([@rh0main](https://twitter.com/rh0main)) - [Quarkslab](https://www.quarkslab.com)
|
2017-03-30 16:56:49 +02:00
|
|
|
|
2017-04-04 09:25:18 +02:00
|
|
|
---------------
|
|
|
|
|
2017-04-03 17:46:27 +02:00
|
|
|
<p align="center" >
|
|
|
|
<img width="40%" src="http://lief.quarkslab.com/resources/QB-big.png"/>
|
|
|
|
</p>
|
2017-03-30 16:56:49 +02:00
|
|
|
|