22 Commits

Author SHA1 Message Date
Romain Thomas
37cd8aa3cc Resolve #36 2017-06-11 15:26:42 +02:00
Romain Thomas
d9c6b436b5 Parse ELF notes (resolve #35) 2017-06-11 11:00:41 +02:00
Romain Thomas
caceb3a527 Improve abstraction layer
* Enable bitness through ``LIEF::Header::is_32`` and
   ``LIEF::Header::is_64` (See #29)
  * Add ``modes`` ot the Python API
  * Abstract binary object type (executable, library...)
2017-05-06 17:45:04 +02:00
Romain Thomas
ffa51ada1d Bug fix in abstract layer for MachO binaries without entrypoint (library)
* MachO API: add ``has_entrypoint``
2017-05-06 17:06:18 +02:00
Romain Thomas
77d43f9db4 Fully handle section-less ELF binaries
* Fix #25
  * ELF `tiny` binaries are now handled (see #7)
  * Computation of dynamic symbols can be done with differents methods:
    hash table, sections and relocations. (See LIEF::ELF::DYNSYM_COUNT_METHODS)
  * ELF parser can be configured to use one of the DYNSYM_COUNT_METHODS
  * Improve tests
2017-05-06 16:18:02 +02:00
Romain Thomas
baa1b415ae Enable DOS stub rebuilding
Python API:

  * lief.PE.Binary.dos_stub property
  * lief.PE.Builder.build_dos_stub method

  C++ API:

  * LIEF::PE::Binary::dos_stub setter/getter
  * LIEF::PE::Builder::build_dos_stub method
2017-05-01 20:45:53 +02:00
Romain Thomas
b60b36a844 Enable PE hooking
* Add 'hook_function' to hook a PE imported function
  * Add tutorial on PE hooking (resolve #5)
  * Add 'PE::get_import' and 'PE::has_import' to retrieve import
2017-05-01 18:11:37 +02:00
Romain Thomas
2a737b5d02 Change to version 'v2.1.1' 2017-04-29 20:23:26 +02:00
Romain Thomas
2ded57e676 Improve documentation 2017-04-29 10:45:26 +02:00
Jessy Campos
27c78a3715 Grouping src files and headers in order to display them correctly in VS Solution Explorer 2017-04-25 12:41:21 -04:00
Romain Thomas
c031d7accf Fix #20 2017-04-21 13:59:33 +02:00
Romain Thomas
3ffbb53850 Uniform API name for sections and segments.
ELF:
  - segment.data has been renamed to segment.content
2017-04-17 07:32:30 +02:00
Romain Thomas
a7ef358f33 Disable '-Wno-macro-redefined' when not available 2017-04-16 10:40:30 +02:00
Romain Thomas
99042451d8 Add function to apply a permutation on the dynamic symbols 2017-04-07 11:06:04 +02:00
Romain Thomas
4df7c5bb84 Fix typo 2017-04-06 14:42:45 +02:00
Romain Thomas
d75fd098b9 Enclose paths within quotes (fix #9) 2017-04-05 15:33:18 +02:00
Romain Thomas
8ecba03288 Add 'has_section' and 'has_data_directory' methods to PE::TLS object 2017-04-04 22:25:17 +02:00
Romain Thomas
044fa78513 Change pybind11 version 2017-04-04 19:01:02 +02:00
Romain Thomas
c6a3d198ad Fix error with unicode 2017-04-04 17:22:16 +02:00
Romain Thomas
e100c60417 Fix typos 2017-04-04 16:32:41 +02:00
Romain Thomas
dae0c81eda Fix typo (Algorithm) 2017-04-04 15:34:20 +02:00
Romain Thomas
306a191a03 First public release 2017-03-30 16:56:49 +02:00