Romain Thomas
2f2e5bf7fe
Bump LIEF to C++17
...
LIEF internal code now uses C++17 while the API is still C++11 compliant
2023-06-04 10:39:19 +02:00
Romain Thomas
63f37f5fe2
Update stubs
2023-06-04 10:22:03 +02:00
Zhang Na
375592aef4
Add LoongArch support for ELF
2023-05-31 17:33:13 +08:00
Romain Thomas
c14385be08
Replace boost's leaf by tl/expected
2023-05-14 11:40:02 +02:00
Louis Brunner
104df74246
feat(macho): allow to create DylinkerCommand in Python (+ simpler constructor)
2023-05-04 10:42:01 +01:00
Romain Thomas
2e06bdb4af
Resolve #909
2023-05-03 06:06:17 +02:00
Romain Thomas
5e814ea606
Fix removed attribute
2023-04-29 07:16:32 +02:00
Romain Thomas
c33391222a
Update stubs
2023-04-28 06:21:11 +02:00
Romain Thomas
8908fe4a45
Add interface to tweak the PE parser ( resolve #839 )
...
This commit also removes the Binary's name attribute.
2023-04-28 06:17:26 +02:00
Romain Thomas
284001d4c1
Update stubs
2023-04-25 19:02:01 +02:00
Adam Seitz
bf7f36b707
Add symbol_table() API to ELF Relocations
2023-04-19 09:45:24 +02:00
Romain Thomas
cfe89fdc3c
Bump version
2023-04-15 13:16:25 +02:00
Romain Thomas
f8f38b6075
Update stubs
2023-04-09 12:40:24 +02:00
Romain Thomas
e05ba11196
Add support for new LoadConfiguration
2023-04-09 12:20:18 +02:00
Romain Thomas
b54bece30d
Resolve #291
2023-04-08 14:46:31 +02:00
Romain Thomas
d2fe82a6b4
Resolve #880
2023-04-02 07:23:52 +02:00
Romain Thomas
58a756460a
Clean headers
2023-04-01 09:18:43 +02:00
Romain Thomas
683fc6cea7
Enhance mypy stubs (related to #650 )
2023-03-25 10:45:37 +01:00
Romain Thomas
2de5816f04
Update stubs
2023-03-19 20:21:51 +01:00
Romain Thomas
363f1a1b07
Add API to setup a log file sink ( fix #875 )
2023-03-18 11:16:34 +01:00
Romain Thomas
a3ec9dc89e
FILE_END is a Windows macro [...] so let's change it.
2023-03-18 10:41:21 +01:00
Romain Thomas
9320303fb3
Enhance the methods to relocate the segments table
...
This commit resolves #872
2023-03-18 07:30:23 +01:00
Romain Thomas
6357c6370b
Use the span interface
2023-03-11 16:37:09 +01:00
Romain Thomas
d3aa0f4f93
Remove exceptions
2023-03-05 09:54:48 +01:00
Romain Thomas
9da2466609
Improve the LIEF Python build system by using pyproject.toml
...
- It also provides typing info (close #650 )
- Enhance the test suite
- Remove deprecated PE functions
2023-02-19 20:19:03 +01:00
Romain Thomas
69e9fd39a5
Remove PE hooking
2023-02-11 09:21:21 +01:00
Romain Thomas
c91b7c2de1
Update code to ease Python stub files (related #650 )
2023-02-04 08:45:40 +01:00
Romain Thomas
6594b7d1ab
Allows Binary::write to take a Builder::config_t parameter
2023-01-29 17:09:11 +01:00
fanquake
6389d5d718
ELF: fix typo in has() description
2023-01-09 17:32:17 +00:00
Romain Thomas
969411f8ef
Welcome 2023
2023-01-03 10:38:09 +01:00
Romain Thomas
1149e81c2b
Merge pull request #849 from mrexodia/msvc-runtime
...
Fix MSVC runtime selection
2023-01-03 09:20:42 +00:00
Duncan Ogilvie
bbdc62f691
Fix MSVC runtime selection
2023-01-02 17:30:42 +01:00
Romain Thomas
b3167cb78b
Fix missing relationship between symbols and sections
...
See: #841
2022-12-11 09:01:31 +01:00
Romain Thomas
2a10494b8a
Enhance the Python IO interface
...
Related to #832
2022-12-09 10:22:53 +01:00
Romain Thomas
81fd78e81e
Use the span/bytes interface ( #833 )
2022-12-07 08:22:25 +01:00
Romain Thomas
85ce881011
Process #833
2022-12-07 08:22:25 +01:00
Romain Thomas
d445beaac3
Expose 'remove_dynamic_symbol'
2022-11-24 04:22:22 +01:00
Romain Thomas
91d5162be4
Enable support for parsing a Mach-O from memory
2022-11-22 10:55:15 +01:00
Romain Thomas
803127cf52
Resolve #816
2022-11-09 17:55:54 +01:00
Romain Thomas
9dbbc39c65
Update dependencies
2022-11-01 08:16:36 +01:00
Wilson Martin
7e624c997a
Bugfix for ImportEntry to accept PE_TYPE
...
In the Python bindings, a new instance of ImportEntry
has it's type hard-coded to PE_TYPE::PE32, with no
way to change the type once created.
This prevents adding new ordinal imports to PE32+,
aka 64-bit, binaries.
The fix is to allow ImportEntry to also accept PE_TYPE.
In addition, the unittest also documents how to add an ordinal
using LIEF.
* Update ImportEntry to accept PE_TYPE
* Update python bindings for ImportEntry
* Add unittest for ImportEntry and ordinals
2022-10-12 14:38:56 -04:00
Romain Thomas
f29aa6ba0d
Fix DOWNLOAD_EXTRACT_TIMESTAMP warning
2022-09-12 06:31:28 +02:00
Romain Thomas
27754bc698
Update bindings
2022-08-13 04:53:27 +02:00
ζeh Matt
6085bbc949
Use explicit function signature for python bindings on write function
2022-07-22 06:36:35 +02:00
Romain Thomas
0c244dab90
Fix #735
2022-07-03 06:41:38 +02:00
David Sanders
10f8d01b8d
Improve Mach-O handling of page size
2022-06-18 11:00:27 -07:00
David Sanders
06d492b8f6
Fix ordering of resource node childs in PE
2022-06-17 05:07:57 +00:00
Romain Thomas
fa306af477
Bump pybind11 version
2022-06-17 06:48:58 +02:00
David Sanders
0ecd6682c7
Add API to remove a section from a segment & section names
2022-06-12 07:03:48 +00:00
Romain Thomas
e1a8244b92
Enhance Mach-O's builder and add support for recent LC commands
2022-04-16 15:10:56 +02:00