Commit Graph

452 Commits

Author SHA1 Message Date
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
Romain Thomas ad50afbdbf More span 2023-11-10 10:59:28 +01:00
Romain Thomas 1a1d2ec9e7 Update typing 2023-11-10 07:43:09 +01:00
Romain Thomas 262ad9735a Cleanup std::vector with span when it's suitable 2023-11-10 07:41:31 +01:00
Romain Thomas 1e0bc5d522 Simplify CMake 2023-11-10 05:33:41 +01:00
Romain Thomas 78c3196d67 Refactor the ELF Note support 2023-11-09 06:26:56 +01:00
Romain Thomas 0c472ca906 Replace str | None with Optional 2023-11-07 13:39:57 +01:00
Romain Thomas 23546d4bad Resolve #996
Usage:

```toml
[lief.build]
cxx-compiler = "/path/to/cxx"
c-compiler = "/path/to/c"
```
2023-11-07 11:43:12 +01:00
Romain Thomas 1c3e1d05b4 Fix missing include 2023-11-07 09:42:01 +01:00
Romain Thomas 1eb2df6e47 Use a CMakeLists.txt in the src/ directory 2023-11-04 05:31:13 +01:00
Romain Thomas 78006bc772 New build backend based on scikit-build-core 2023-11-04 04:06:51 +01:00
Romain Thomas 29f7e9d86f Python 3.12 support 2023-10-28 05:39:27 +02:00
Romain Thomas 021705297d Remove unused section 2023-10-22 20:07:31 +02:00
Romain Thomas e5ef1da160 Fix typing 2023-10-22 14:00:04 +02:00