1008 Commits

Author SHA1 Message Date
Romain Thomas
f137d314e5 Fix issue with VS2017 2018-06-29 07:01:11 +02:00
Romain Thomas
f665c78033 Update readme 2018-06-29 07:00:54 +02:00
Romain Thomas
957384cd36 Add ELF dtor functions 2018-06-28 16:49:55 +02:00
Romain Thomas
31a4b19c54 Update tests 2018-06-28 16:14:00 +02:00
Romain Thomas
cc9dd14863 Fix error between FINI_ARRAY and INIT_ARRAY 2018-06-28 16:12:31 +02:00
Romain Thomas
0d9479b850 Fix link 2018-06-27 16:10:41 +02:00
Romain Thomas
c3f99aebda Remove useless 'remove' 2018-06-27 16:10:03 +02:00
Romain Thomas
d7582fcab9 Fix typo 2018-06-27 16:00:44 +02:00
Romain Thomas
86941c28cd Fix typo 2018-06-27 15:38:02 +02:00
Romain Thomas
ed15e0968c Fix warnings 2018-06-27 15:30:22 +02:00
Romain Thomas
4866ead1a7 Update README 2018-06-27 15:27:54 +02:00
Romain Thomas
406115c8d0 Enhance Mach-O modification
* Add load command
  * Add sections
  * Add segments

Resolve #46 (partially)
2018-06-27 14:44:42 +02:00
Romain Thomas
5ec8956ba9 Fix missing Symbol version aux 2018-06-21 10:53:53 +02:00
Romain Thomas
fd9ecaf8c6 Move to warning 2018-06-21 10:53:04 +02:00
Romain
149d352a49
Merge pull request #187 from 1orenz0/master
[PE] Pad section contents when rebuilding binary
2018-06-20 05:18:40 +02:00
1orenz0
e1b19bd181 [PE] prevent integer underflow when padding sections 2018-06-20 00:01:34 +02:00
1orenz0
1524906483 [PE] Pad section contents when rebuilding binary
Some PE have sections with section.VirtualSize < section.SizeOfRawData,
which is usually padded with zeroes. In that case, the PE parser only
read the lesser of the two to get only the useful content.

However, when rebuilding the binary as-is, we need to re-pad thoses
sections, otherwise the NT loader won't recognized it as a valid PE.
2018-06-19 23:33:18 +02:00
Romain Thomas
3098193227 Fix #186 2018-06-19 15:51:25 +02:00
Romain Thomas
67d924a220 Add constructor functions in the abstract layer
New API:
  * LIEF::ELF::Binary::get_relocation
  * LIEF::Binary::ctor_functions
2018-06-19 15:27:35 +02:00
Romain Thomas
6e7e373660 Update test 2018-06-19 10:48:41 +02:00
Romain Thomas
fa5790ca80 Update tests 2018-06-19 10:25:25 +02:00
Romain Thomas
a9f3cb8f9b Enable to add relocation associated with symbol
Resolve #184
2018-06-19 09:59:29 +02:00
Romain
cd9cb41687
Merge pull request #183 from serge-sans-paille/fix/do-not-distribute-utf8
exception-free headers
2018-06-15 20:23:12 +02:00
Romain Thomas
69a8c4fcd0 Merge branch 'pr/171' 2018-06-15 20:20:51 +02:00
yd0b0N
d26f398296 Support for building foreign-endian ELF binaries 2018-06-15 20:19:16 +02:00
serge-sans-paille
4bc623f341 Move filesystem headers to the private namespace 2018-06-15 15:58:25 +02:00
serge-sans-paille
00aad800ae Do not throw in public headers
especially for checks that are typically asserts.
2018-06-15 15:58:25 +02:00
serge-sans-paille
f2f09d9c6d Do not distribute utf8 headers
They are part of the private interface, move them to the right place.
2018-06-15 15:08:44 +02:00
Romain Thomas
03529285df Update formating 2018-06-12 11:06:48 +02:00
Romain Thomas
310cf5a690 Fix typo 2018-06-12 10:43:07 +02:00
Romain Thomas
a448c5ef31 Add changelog and update README according to v0.9.0 0.9.0 2018-06-10 18:22:12 +02:00
Romain Thomas
f4e2d81bfe Add Mach-O encryption info command 2018-06-08 16:39:11 +02:00
Romain Thomas
311c7951e6 Fix missing builder 2018-06-08 15:34:21 +02:00
Romain Thomas
cc5617dd75 Fix missing dyldinfo 2018-06-08 15:23:03 +02:00
Romain Thomas
33a2af4b18 Enhance Python binding 2018-06-08 14:58:00 +02:00
Romain Thomas
3cdfb29612 Bug fix 2018-06-08 11:06:21 +02:00
Romain Thomas
cd1cc457cf Resolve #119 and enhance ELF Python bindings 2018-06-08 10:48:33 +02:00
Romain Thomas
163cd3bcc9 Expose ELF relocation info 2018-06-06 14:13:07 +02:00
Romain Thomas
c8404450b7 Update doc 2018-06-01 09:45:02 +02:00
Romain Thomas
4fd3513151 Fix #178 2018-05-31 08:06:30 +02:00
Romain Thomas
c765d086cc Fix infinite loop in export-trie parser 2018-05-30 11:14:36 +02:00
Romain Thomas
809d002c7d Replace unsupported code point 2018-05-24 07:11:21 +02:00
Romain Thomas
f9276bb416 Handle mutf8 properly 2018-05-23 17:31:44 +02:00
Romain Thomas
7abca35e49 Disable abort() on fatal log 2018-05-23 12:57:49 +02:00
Romain Thomas
dc909a174e Fix #172 2018-05-21 17:26:09 +02:00
Romain Thomas
4fcfba0cbf Enhance Dylib version API 2018-05-16 10:35:51 +02:00
Romain Thomas
68b0958a2a Set default python version to 3.5
Resolve: #127
2018-05-16 10:32:05 +02:00
Romain Thomas
e8389fc98a Update references 2018-05-15 17:17:45 +02:00
Romain Thomas
2de4bab4b2 Merge branch 'pr/166' 2018-05-15 11:39:07 +02:00
yd0b0N
e794ac1502 Add support for endianness 2018-05-15 11:38:56 +02:00