1008 Commits

Author SHA1 Message Date
Romain
04fc91bfca
Merge pull request #257 from williballenthin/fix-rsrc-2
resources manager: fix parsing string info by trusting k-v pair header
2019-01-11 11:08:13 +01:00
Willi Ballenthin
2f8773e149 resources manager: fix parsing string info by trusting k-v pair header
closes #256
2019-01-10 15:15:16 -06:00
Romain Thomas
9e04d0b118 Resolve #253 2019-01-09 07:57:57 +01:00
Romain
13ad81e743
Merge pull request #254 from unratito/patch-1
Set export address for unnamed exports
2019-01-05 19:49:39 +01:00
Paco Soberón
3aaef13292
Set export address for unnamed exports 2019-01-05 10:10:38 +01:00
Romain Thomas
8d7ec26a93 Add ELF ABI Version 2018-12-30 20:27:53 +01:00
Romain
f20fa5e4f4
Merge pull request #250 from breadchris/patch-1
Update 11_macho_modification.rst
2018-12-24 06:10:46 +01:00
Chris
cb55d7501b
Update 11_macho_modification.rst
Typo
2018-12-23 23:39:56 -05:00
Romain Thomas
c1758ba1ed Fix 249 2018-12-24 05:33:11 +01:00
Romain Thomas
0054b9acef Update References 2018-12-20 03:21:44 +01:00
Romain
3e4ec39ab3
Merge pull request #247 from elsamuko/master
chg: recognize cygwin in setup.py
2018-12-19 08:29:52 +01:00
Samuel Albrecht
e64668c0c8 chg: recognize cygwin in setup.py 2018-12-18 07:42:26 +00:00
Romain
5ed5c5e4d9
Merge pull request #246 from williballenthin/fix-rsrc-empty-string
PE ResourcesManager: correctly handle empty strings
2018-12-18 06:51:23 +01:00
William Ballenthin
882bf35197 PE ResourcesManager: correctly handle empty strings
addresses https://github.com/lief-project/LIEF/issues/245
2018-12-17 16:17:33 -07:00
Romain Thomas
3b892188a1 Fix typo 2018-12-16 19:24:20 +01:00
Romain Thomas
678039cf44 Add missing enum 2018-12-16 17:57:57 +01:00
Romain Thomas
98395524b5 Update references 2018-12-16 17:56:26 +01:00
Romain Thomas
dc87423761 Merge branch 'pr/243' 2018-12-16 16:34:24 +01:00
1orenz0
3537440b8d Add support to parse POGO debug entries 2018-12-16 16:34:12 +01:00
Romain Thomas
f2b93bf796 Merge branch 'feature/build_version' 2018-12-13 15:39:56 +01:00
Romain Thomas
6f967238fc Introduce Mach-O Build Version command
New API:
  LIEF::MachO::BuildVersion
  LIEF::MachO::BuildToolVersion

  LIEF::MachO::Binary::has_build_version
  LIEF::MachO::Binary::build_version
2018-12-13 15:37:19 +01:00
Romain Thomas
2c6f052a5f Merge branch 'packer/tencent' 2018-12-13 09:33:46 +01:00
Romain Thomas
35b3d039f7 Only relocate section if the original one was not empty.
We also introduce ELF API for overlay:
  * lief.ELF.Binary.eof_offset
  * lief.ELF.Binary.has_overlay
  * lief.ELF.Binary.overlay
2018-12-13 09:32:54 +01:00
Romain Thomas
93b73d35ef Fix Mach-O fat header endianness (alignment attribute) 2018-12-09 08:37:28 +01:00
Romain Thomas
7c22f643c2 Forward Debug class 2018-12-03 06:56:36 +01:00
Romain Thomas
840d70cb6d Update LIEF version (related to #242) 2018-12-02 13:50:39 +01:00
Romain Thomas
3271d1011b Merge branch 'pr/241' 2018-11-29 09:18:06 +01:00
1orenz0
fcc75dd879 Parse PE debug data directory as a list of debug entries
PE's DATA_DIRECTORY_DEBUG does not define a single debug entry, but
a list of struct pe_debug entries (the number of entries is determined
by the data directory's size).

This commit reflect this layout by returning a vector<> when calling
PE.debug()
2018-11-29 09:16:34 +01:00
Romain Thomas
3ac2067267 Resolve #238 and add bibtex 2018-11-26 06:39:11 +01:00
Romain Thomas
cf8a0d9ce3 Add HITCON 2018 - Unexecutable writeup 2018-11-16 11:18:13 +01:00
Romain Thomas
184074841b Drop Python 2.7 support. Add Python 3.7 support 2018-11-16 11:00:09 +01:00
Romain
f3e52f5f3c
Merge pull request #235 from strazzere/patch-1
Fix list object to become an iterator
2018-11-14 04:39:01 +01:00
Tim Strazzere
c6ba2fd8e1
Fix list object to become an iterator 2018-11-13 15:26:30 -08:00
Romain
cc7a2657ef
Merge pull request #229 from mingwandroid/master
A few fixes from the Anaconda Distribution.
2018-10-31 17:58:46 +01:00
Ray Donnelly
b3678bfdfc Export LIEF::Object and LIEF::MachO::DataCodeEntry classes
Otherwise the shared library does not contain these symbols.
2018-10-31 12:29:34 +00:00
Ray Donnelly
946527a732 MSVC: Add bigobj flag 2018-10-31 12:29:34 +00:00
Ray Donnelly
e7f5829b19 Allow building from released tarball 2018-10-31 12:29:01 +00:00
Romain
8620b08f95
Merge pull request #222 from pbrunet/fix/export_trie
Fix/export trie
2018-10-19 13:49:34 +02:00
Pierrick Brunet
0927287703 Fix export_trie ordering. 2018-10-19 10:07:42 +02:00
Pierrick Brunet
53b1eb4165 Fix fatMachO to simpleMacho translation.
* empty file was created.
2018-10-19 10:07:42 +02:00
Romain Thomas
12416db45a Fix #221 (memory leak) 2018-10-19 09:59:13 +02:00
Romain Thomas
f3b14dac83 Update references 2018-10-18 06:54:41 +02:00
Romain Thomas
f9b8bcf503 Fix error in read_sleb128 implementation 2018-10-12 09:31:09 +02:00
Romain
de064eb591
Merge pull request #218 from yrp604/patch-1
Update 02_pe_from_scratch.rst
2018-10-06 17:15:54 +02:00
_yrp
273924ab85
Update 02_pe_from_scratch.rst
`PE64` renamed to `PE32_PLUS`
2018-10-03 23:23:59 -07:00
Romain Thomas
decb8621f8 Enhancement 2018-10-01 10:40:58 +02:00
Romain Thomas
d7d1d18beb Fix #216 2018-10-01 10:40:40 +02:00
Romain Thomas
ad792af834 Add color when using Ninja 2018-10-01 10:02:24 +02:00
Romain
c4524ea6f1
Merge pull request #212 from hillu/c-api-content-size
api/c: Add explict size fields for extracted content fields
2018-09-13 14:47:49 +02:00
Hilko Bengen
cbacbc47f4 api/c: Add explict size fields for extracted content fields
Corrupted files may cause section or segment contents not to be
available entirely. However, C-based client code is not able to detect
this which may cause out-of-bounds reads when accessing data from the
.content fields.

Note: This is a silent ABI-breaking change because it changes struct layouts.

Note: Naming is inconsistent: .size was already taken in PE Sections.
2018-09-13 13:56:48 +02:00