Commit Graph

44 Commits

Author SHA1 Message Date
Romain Thomas 5c1f3613cb More values for BuildVersion::PLATFORMS 2024-09-19 10:43:26 +02:00
Romain Thomas 544332db2c Add helpers to determine the platform targeted by a Mach-O 2024-09-19 10:35:42 +02:00
Romain Thomas 155febcb77 Expose the chained's next value 2024-09-14 05:01:01 +02:00
Romain Thomas fa41703c1a Add payload helper to access the raw content of the command 2024-09-14 04:23:18 +02:00
Romain Thomas 993f24bdc1 Add Mach-O symbol stubs iterator 2024-08-31 07:35:26 +02:00
Romain Thomas 222a160cf5 Add the attribute from_dyld_shared_cache 2024-08-31 05:13:36 +02:00
Romain Thomas d28e879ad3 Fix support for Mach-O indirect symbols indexed with 0xc0000000 (LOCAL and ABS) 2024-08-31 05:10:36 +02:00
Romain Thomas ea4a6b299f Add support for binding operation infered from indirect symbol table 2024-08-24 07:30:25 +02:00
Romain Thomas 62929828ce Expose a bindings iterator 2024-08-24 07:01:27 +02:00
Romain Thomas bc31ee5dce Expose an iterator over the indirect symbols located in DynamicSymbolCommand 2024-08-24 06:02:46 +02:00
Romain Thomas 8a2ec4eeae Fix typo 2024-07-27 05:28:30 +02:00
Romain Thomas 2f7620f527 Add support for LC_ROUTINE/LC_ROUTINE64 2024-07-27 05:27:10 +02:00
Romain Thomas 4800a80769 Add support for Mach-O LC_SUBCLIENT command 2024-07-27 05:01:30 +02:00
Romain Thomas b2b7fb96ec Add support for extensions. 2024-07-13 07:51:52 +02:00
Romain Thomas f7acc24723 Add helper to check if the binary is supporting ARM64 ptr auth 2024-07-13 05:28:36 +02:00
Romain Thomas d2d9839af8 Cleanup enums 2024-06-29 04:50:09 +02:00
Romain Thomas 2a31841aec Update logging interface 2024-06-22 05:49:59 +02:00
Romain Thomas 318aab9690 Fix warnings 2024-06-01 05:33:01 +02:00
Romain Thomas 8316dacf0b Add Mach-O UnknownCommand.
This command is a placeholder when LIEF does not a Mach-O load command
2024-05-25 06:45:08 +02:00
Romain Thomas f21b38f0c6 Fix missing UNKNOWN command 2024-05-25 06:33:34 +02:00
Romain Thomas e46074212d Re-scope Mach-O enums 2024-05-09 06:02:00 +02:00
Romain Thomas 7faf45f80c Add support for Mach-O overlay
Resolve: #1028
2024-05-04 08:46:56 +02:00
Romain Thomas 9502c2b7ec Update copyrights 2024-02-04 05:50:39 +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 879c4c5b3b More span 2023-11-10 18:38:29 +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 e5ef1da160 Fix typing 2023-10-22 14:00:04 +02:00
Romain Thomas 2a2c56a173 Make typing stubs more accurate 2023-10-21 06:36:59 +02:00
Romain Thomas a27bd6a644 Add support for os.PathLike inputs in the parsers
Resolve: #974
2023-10-21 05:23:42 +02:00
Romain Thomas 3ade2736c0 Improve typing stubs 2023-10-15 22:14:28 +02:00
Romain Thomas 6e4722624a Fix typo 2023-09-23 06:49:27 +02:00
Romain Thomas 5b6eefbe9c Resolve #945 2023-08-05 21:28:36 +02:00
Romain Thomas e37ffa9ec8 Switch the bindings to nanobind (and update the CI) 2023-07-09 21:33:43 +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 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
Louis Brunner 104df74246 feat(macho): allow to create DylinkerCommand in Python (+ simpler constructor) 2023-05-04 10:42:01 +01: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 b54bece30d Resolve #291 2023-04-08 14:46:31 +02: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