Commit Graph

465 Commits

Author SHA1 Message Date
Romain Thomas f21b38f0c6 Fix missing UNKNOWN command 2024-05-25 06:33:34 +02:00
Romain Thomas 3f18682c61 Fix 2024-05-25 06:32:16 +02:00
Romain Thomas b51dc15964 Code cleaning & doc update 2024-05-25 06:11:56 +02:00
Romain Thomas 9d3e02b6db Update doc & cleanup 2024-05-25 05:31:38 +02:00
Romain Thomas 7911cddb64 Forward platform to arch 2024-05-18 11:29:05 +02:00
Romain Thomas 93614a089b Move the PE's checksum computing in an dedicated function 2024-05-18 10:33:08 +02:00
Romain Thomas c0e988e571 Cleanup 2024-05-12 20:12:35 +02:00
Romain Thomas e46074212d Re-scope Mach-O enums 2024-05-09 06:02:00 +02:00
Leland Jansen ef824c71bc Rename DEBUG enum variants 2024-05-06 16:18:48 +02:00
Romain Thomas be3fc43c72 Add support for extrapoling variables in config 2024-05-04 09:01:17 +02:00
Romain Thomas 465475f5f4 Bump scikit-build-core to v0.9.3
Note:

We are affected by the 0.9.0 update on `wheel.exclude`:

> The meaning of wheel.exclude has been changed to match on the wheel path, rather than the source path

So we had to revert to `sdist.exclude`

[1]: https://github.com/scikit-build/scikit-build-core/releases/tag/v0.9.0
2024-05-04 09:00:10 +02:00
Romain Thomas 7faf45f80c Add support for Mach-O overlay
Resolve: #1028
2024-05-04 08:46:56 +02:00
Romain Thomas 4d8211a2bd Remove ARM_UNWIND (in conflict with ARM_EXIDX) 2024-04-27 05:27:03 +02:00
Romain Thomas 6dbb551af3 Resolve #1034 2024-03-17 05:50:45 +01:00
Romain Thomas 690d9f9987 Fix Python 2024-02-24 17:34:22 +01:00
Romain Thomas fe432fe881 Update Python backend dependencies 2024-02-18 06:20:38 +01:00
Romain Thomas 78fad9758e Add helper to disable nanobind warnings 2024-02-17 06:44:10 +01:00
Romain Thomas b9b0adf65a Add CodeViewPDB GUID
Resolve #480
2024-02-17 06:01:02 +01:00
Romain Thomas 082fc725fe Init from a dedicated function 2024-02-17 05:29:15 +01:00
Romain Thomas b0f421bd5e Allow a static install of the Python bindings (internal usage) 2024-02-17 05:23:58 +01:00
Romain Thomas 638aa18708 Bump nanobind to 1.8.0.r43.g45c2a74 2024-02-17 05:03:04 +01:00
Romain Thomas 5087d6f1e4 Remove _lief in the type 2024-02-17 04:51:32 +01:00
Romain Thomas 1c112ee57c Resolve #1017 2024-02-11 17:01:51 +01:00
Romain Thomas dee8ad2d88 Fix performance issue: unwanted copy
Resolve #1022
2024-02-11 17:01:50 +01:00
Romain Thomas 9502c2b7ec Update copyrights 2024-02-04 05:50:39 +01:00
Romain Thomas 00e4a684a3 Add support for DT_RELR/DT_ANDROID_RELA relocations
This commit adds the support for the (new) relative relocations
as well as the Android packed relocation format.

Resolve: #111 #991
2024-02-03 15:52:54 +01:00
Romain Thomas 6217d70643 Resolve #1019 2024-02-03 12:54:32 +01:00
Romain Thomas 979d0ec661 Resolve #1018 2024-02-03 07:02:36 +01:00
Romain Thomas cddd8dd076 Rename the static_symbol API into symtab_symbol 2024-02-03 06:31:30 +01:00
Romain Thomas 7a62df9b58 Re-scope ELF enums 2024-01-28 22:54:25 +01:00
Romain Thomas 3ec4d301aa Fix path 2024-01-27 11:27:06 +01:00
Romain Thomas f5ed2dff32 Fix EXCLUDE_FROM_ALL 2024-01-27 09:52:00 +01:00
Romain Thomas 7cd186ddfa Fix #1016 -- Create aliases: ContentInfo::{digest,digest_algorithm} to SpcIndirectData::{digest,digest_algorithm} 2024-01-27 06:11:39 +01:00
Romain Thomas 0808283f8b Resolve #1014 2024-01-27 05:34:26 +01:00
Romain Thomas 7c6a474387 Support release/ branches 2024-01-21 15:38:47 +01:00
Romain Thomas 58f499a222 Update typing 2024-01-14 10:22:45 +01:00
Romain Thomas cea9fc5ca9 Fix enum conflict 2024-01-13 20:34:05 +01:00
Romain Thomas ada25284df Refactor PE's relocation API 2024-01-13 11:53:58 +01:00
Romain Thomas bcd9b27df3 Address feedback from #1009
Add `has_nx_stack` and `has_nx_heap`
2024-01-07 10:23:37 +01:00
Romain Thomas c01dc6af49 Update PE's ResourcesManager 2024-01-07 10:11:57 +01:00
Romain Thomas 78d2f4b9d3 Cleanup PE LoadConfiguration interfaces 2023-12-23 05:06:26 +01:00
Romain Thomas 8dd8a255a8 Narrow the scope of SIG_ATTRIBUTE_TYPES to LIEF::PE::Attribute::TYPE 2023-12-09 05:02:47 +01:00
Romain Thomas 3aa5497b5e Cleanup 2023-12-03 10:02:46 +01:00
Romain Thomas fac0e7840e Add support for ELF NT_GNU_PROPERTY_TYPE_0 (read-only)
See: `tests/elf/test_notes.py` for API usage

Resolve: #975
2023-12-02 08:03:12 +01:00
Romain Thomas 47a78077b4 Add helpers for cross-compilation 2023-11-26 15:48:58 +01:00
Romain Thomas 6ddc7e4145 Resolve #956 2023-11-25 11:46:31 +01:00
Romain Thomas df97777811 Fix typo and update the changelog 2023-11-18 12:33:36 +01:00
Romain Thomas 529d5a8679 Implement classof for Binary object 2023-11-18 09:00:39 +01:00
Romain Thomas ded37c5b92 Expose non-const iterators 2023-11-18 09:00:38 +01:00
Romain Thomas 879c4c5b3b More span 2023-11-10 18:38:29 +01:00