Commit Graph

369 Commits

Author SHA1 Message Date
Romain Thomas 76aa4eb895 Fix typo 2023-07-22 05:56:50 +02:00
Romain Thomas 550f8cbcb4 Update tests 2023-07-22 05:34:03 +02:00
Romain Thomas 60ab1f281d Resolve #943 2023-07-15 13:08:13 +02:00
Romain Thomas 9fecc8301a Use cache for the iOS ci and improve testing 2023-07-15 06:34:59 +02:00
Romain Thomas 4b29b87c14 Fix Python module API 2023-07-15 05:39:57 +02:00
Romain Thomas afc84c9c0c Move to pointers 2023-07-14 05:44:23 +02:00
Romain Thomas e37ffa9ec8 Switch the bindings to nanobind (and update the CI) 2023-07-09 21:33:43 +02:00
Romain Thomas 7057b9d359 Resolve #936 2023-07-01 08:38:56 +02:00
Romain Thomas 1a3b65117f Update setup.py 2023-07-01 06:39:33 +02:00
Romain Thomas 57a59c5696 Do not reset the position
(issue: #935)
2023-06-26 07:46:16 +02:00
Romain Thomas 15f40f2b8d Resolve #935 2023-06-24 07:37:00 +02:00
Romain Thomas a30b8adb2b remove useless checks
`seek` and `tell` are always present when inheriting from `io.IOBase`
2023-06-24 07:36:57 +02:00
Romain Thomas c50abdc645 Remove functions 2023-06-24 07:36:56 +02:00
Romain Thomas f9e6a021db Support flags from config 2023-06-24 07:36:55 +02:00
Romain Thomas 3a7d084081 Wraps by a main function 2023-06-24 07:36:55 +02:00
Romain Thomas 85518ff44c Merge pull request #924 from LouisBrunner/feature/dysym-command
feat(macho): allow to create DynamicSymbolCommand in Python
2023-06-21 14:17:22 +00:00
Romain Thomas 6f04ecd472 Update stubs 2023-06-10 13:13:19 +02:00
Romain Thomas 97292eca03 Add interface (LIEF::ELF::ParserConfig) for configuring the ELF parser 2023-06-10 10:37:07 +02:00
Romain Thomas 1a69a1b16b Expose the DynamicSymbolCommand default constructor 2023-06-10 09:54:54 +02:00
Romain Thomas c17a3cbb86 Merge pull request #925 from LouisBrunner/feature/thread-command
feat(macho): allow to create ThreadCommand in Python
2023-06-07 18:23:05 +00:00
Louis Brunner 4560ce79f6 feat(macho): allow to create DynamicSymbolCommand in Python 2023-06-07 15:50:30 +01:00
Louis Brunner 3dec87b9b5 feat(macho): allow to create ThreadCommand in Python 2023-06-07 15:44:20 +01:00
Louis Brunner a7b114d8bb feat(macho): allow to create MainCommand in Python 2023-06-07 15:42:14 +01:00
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