Commit Graph

562 Commits

Author SHA1 Message Date
Romain Thomas de49dceba9 Update nanobind
Resolve: #1128
2024-11-30 05:30:21 +01:00
Romain Thomas 102a6171a7 Some updates 2024-11-23 07:45:56 +01:00
Romain Thomas 33a8e16976 Improve disassembler support 2024-11-23 07:31:41 +01:00
Romain Thomas 4e8838a5a7 Improve the documentation 2024-11-23 06:56:34 +01:00
Romain Thomas a2100f9aeb Update typing 2024-11-23 05:47:09 +01:00
Romain Thomas 8b8b84d180 Add support to disassemble DWARF Function 2024-11-23 05:46:27 +01:00
Romain Thomas b63dca262f Add nanobind custom type caster for LIEF::span 2024-11-16 18:35:35 +01:00
Romain Thomas ca6ddf5cdd Enhance DWARF types support 2024-11-16 10:16:16 +01:00
Romain Thomas ca485c3921 Return an empty stream when the size is 0 2024-11-16 09:12:30 +01:00
Romain Thomas 7a4291bcf1 Improve relocation support 2024-11-09 06:30:58 +01:00
Romain Thomas 3f233e5a95 Add support for eBPF relocations 2024-11-09 06:01:04 +01:00
Romain Thomas 3e951ba3f7 Update documentation 2024-11-09 05:06:01 +01:00
Romain Thomas 5cf93ae26d Add DWARF support for DW_TAG_typedef support 2024-11-09 04:59:44 +01:00
Romain Thomas f2c54ee5cf Add DWARF imported function iterator 2024-11-09 04:55:27 +01:00
Romain Thomas 89ad5b378a Add DWARF is_external API (matching DW_AT_external) 2024-11-09 04:48:28 +01:00
Romain Thomas f7a127eac3 Initial disassembler support 2024-11-02 16:42:41 +01:00
Romain Thomas 86e1769fb0 Enable creating a RPathCommand
Resolve #1078
2024-11-02 10:47:50 +01:00
Romain Thomas 0f8bea0275 Enhance logging API 2024-11-01 06:45:19 +01:00
Romain Thomas 19dd162314 Add RISC-V processor flags 2024-11-01 06:01:26 +01:00
Romain Thomas f00553ec14 Add C-SKY architecture 2024-11-01 05:58:37 +01:00
Romain Thomas 27be4e6b2d Add support for GNU_PROPERTY_AARCH64_FEATURE_PAUTH 2024-10-26 15:46:14 +02:00
Romain Thomas 086c49fb7a Add is_targeting_android to determine if an ELF targets Android 2024-10-26 08:48:08 +02:00
Romain Thomas 4cc1dd26be Refactor and clean code in LIEF's abstract layer
Resolve #1119
2024-10-26 05:36:49 +02:00
Romain Thomas 8784fb5aa5 Refactor LIEF's Abstract Function 2024-10-26 05:03:52 +02:00
Romain Thomas 442fb46395 Initial support for Apple's dyld shared cache 2024-10-19 06:29:24 +02:00
Romain Thomas 07b3241fe1 Improve objc support
- Add `LIEF::objc::DeclOpt` to tweak the generated output
- Add `objc::Class:to_decl` & `objc::Class::to_decl`
- Improve the documentation
- Fix issue with Small method address
2024-10-19 04:45:13 +02:00
Romain Thomas b6de8801b2 Improve documentation 2024-10-19 04:39:01 +02:00
Romain Thomas e98d6e7d0a #1114 follow up 2024-10-12 06:31:57 +02:00
Romain Thomas 17b86f8b37 Make sure the Mach-O parsing depth matches C++
Resolve #1114
2024-10-08 05:10:39 +02:00
Romain Thomas ba294bd181 Make sure we have a correct visibility 2024-10-05 05:49:38 +02:00
Romain Thomas a3f034d767 Fix clash with Windows's header #define 2024-10-05 05:29:00 +02:00
Romain Thomas 3def579f75 Add support for creating and analyzing chained fixups & bindings 2024-10-05 05:23:39 +02:00
Romain Thomas f8d30efa17 Remove unused header 2024-10-05 04:16:19 +02:00
Romain Thomas 0f4ed10aba Fix logging 2024-09-28 18:30:10 +02:00
Manuel Zabelt b8b2ae0b02 Adjusted authenticode_reader.py to use Attribute.TYPE instead of SIG_ATTRIBUTE_TYPES (#1111)
Inspired by this change: 8dd8a255a8
2024-09-28 06:19:15 +02:00
Mike Nawrocki 165b9f6535 Python: mark add_relocation return value reference (#1108)
Makes the return value from the PE::Binary add_relocation method an
internal reference.
2024-09-21 07:18:12 +02:00
Romain Thomas 77c633cc22 Add missing bindings 2024-09-21 07:13:46 +02:00
Mike Nawrocki 53ea6eae0b Python: mark add_entry return value as reference (#1106)
Makes the return value from the PE::Reference add_entry method an
internal reference.
2024-09-19 11:17:30 +02:00
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 c8cc69c77e Make sure we support buffer larger than 1000.
See: https://github.com/python/cpython/blob/453da532fee26dc4f83d4cab77eb9bdb17b941e6/Python/sysmodule.c#L4001
2024-09-19 09:44:49 +02:00
Romain Thomas 94adbf5f2a Fix types (from #1100) 2024-09-14 08:07:29 +02:00
Romain Thomas cd81ed3ba6 Add get_int_from_virtual_address in the abstract layer 2024-09-14 05:57:08 +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 39b21e4319 Add NONE entry 2024-09-01 14:18:11 +02:00
Romain Thomas d574f58004 Update position 2024-08-31 09:53:43 +02:00
Aiden-Isik 93e2e65a6f Add PowerPC Big Endian 0x1F2 (found on Xbox 360) (#1090) 2024-08-31 09:25:22 +02:00
Romain Thomas 2001d8c9b7 Resolve #1093 2024-08-31 09:19:27 +02:00
Romain Thomas 993f24bdc1 Add Mach-O symbol stubs iterator 2024-08-31 07:35:26 +02:00