Commit Graph

532 Commits

Author SHA1 Message Date
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
Romain Thomas 5915877834 Add require_extended_version error type 2024-08-31 07:06:47 +02:00
Romain Thomas 0ff2f093c0 Enhance demangling support (especially with LIEF extended) 2024-08-31 07:01:05 +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 f979004437 Resolve #1086 2024-08-24 04:44:44 +02:00
Romain Thomas b267a99cb8 Update LIEF Python package README 2024-08-18 12:34:38 +02:00
Romain Thomas 7c3b4a3f9f Add demangle utility (resolve: #1054) 2024-08-17 05:30:57 +02:00
Romain Thomas ab85865f27 Improve support for RISC-V architecture
Resolve: #1082
2024-08-17 04:57:30 +02:00
Peter Meerwald-Stadler 42df4964f0 Fix some more typos (#1084) 2024-08-02 21:28:08 +02:00
Romain Thomas 24d48ad0b5 Fix Mach-O issue 2024-07-27 21:01:04 +02:00
nsurbay f4bf30dfbc Support new Dynamic tags for X86_64 (#1081)
* Add new X86_64 specific Dynamic Tag

See https://sourceware.org/git/?p=glibc.git;a=commit;h=848746e88ec2aa22e8dea25f2110e2b2c59c712e

* Add missing Dynamic Tag in C api

---------

Co-authored-by: Romain Thomas <me@romainthomas.fr>
Co-authored-by: Romain Thomas <7450402+romainthomas@users.noreply.github.com>
2024-07-27 11:00:43 +02:00
Romain Thomas ff72aa9242 Fix warnings 2024-07-27 05:31:44 +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 ab1387add8 Add utilities 2024-07-23 16:58:13 +02:00
Romain Thomas d4e767b3d9 Add OFF level and the API to get the current level 2024-07-23 16:58:12 +02:00
Romain Thomas fd1cc42b6d Add support for Mach-O .hwx files 2024-07-23 16:58:08 +02:00
Romain Thomas a9210e5af3 Cleanup 2024-07-20 07:31:26 +02:00
Romain Thomas fec7d0190f Various updates 2024-07-20 07:20:05 +02:00
Romain Thomas 4c67c5b5de Enable versioning from 'LIEF_VERSION_ENV' 2024-07-20 07:10:00 +02:00
Romain Thomas 27d406be96 Resolve #1026 2024-07-20 07:01:19 +02:00
Romain Thomas 3d44a66cf9 Support more PKCS7 attributes for PE Authenticode 2024-07-20 06:04:31 +02:00
Romain Thomas 469c799e56 Update documentation 2024-07-20 05:10:01 +02:00
Romain Thomas 306f34e992 Fix missing <string> 2024-07-13 07:53:52 +02:00
Romain Thomas b2b7fb96ec Add support for extensions. 2024-07-13 07:51:52 +02:00
Romain Thomas da6ca93e7d Avoid polluting compilation units with static initializer 2024-07-13 06:45:30 +02:00