Commit Graph

407 Commits

Author SHA1 Message Date
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
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 dffcff5df7 Fix logging 2023-10-15 23:03:20 +02:00
Romain Thomas 3ade2736c0 Improve typing stubs 2023-10-15 22:14:28 +02:00
Romain Thomas b8409a73c2 Fix missing include 2023-10-15 16:48:57 +02:00
Romain Thomas 5c43eadcd1 Use Python sys.stderr for LIEF's logger
By default, LIEF's logger uses `stderr` to emit log messages which
is not catchable in Python. This commit makes use of `sys.stderr` for
the Python bindings.
2023-10-14 05:36:41 +02:00
Romain Thomas 068512c331 Bump nanobind to 1.6.2.r7.gb4c5af0 2023-10-07 12:48:52 +02:00
Romain Thomas d7b962d782 Fix 2023-10-01 10:35:08 +02:00
Romain Thomas dd95b2fbab Fix list vs tuple 2023-10-01 09:20:55 +02:00
Romain Thomas 9de43ed301 Set build temp 2023-10-01 09:14:08 +02:00
Romain Thomas 84b053793c Overload setuptools commands 2023-09-30 21:13:51 +02:00
Romain Thomas dd96f0129c pip wheel update 2023-09-30 15:56:10 +02:00
Romain Thomas b4c2f47563 Get rid of setup.py (deprecated) 2023-09-30 10:48:42 +02:00
Romain Thomas db0bf3e794 Remove typing info 2023-09-30 06:40:03 +02:00
Romain Thomas ad312da094 Add option for a custom build dir 2023-09-30 04:39:37 +02:00
Romain Thomas 6e4722624a Fix typo 2023-09-23 06:49:27 +02:00
Vikas 84d1388e5e ELF Python - fixing utf-8 encoding issue 2023-09-21 20:08:13 +05:30
Romain Thomas b3d6b20085 Fix return type (#965) 2023-09-16 06:00:21 +02:00
Romain Thomas 3c959daa58 Resolve #965 2023-09-16 05:49:26 +02:00
Romain Thomas 3414ded8cd Fix doc (#962) 2023-09-10 20:54:36 +02:00
Romain Thomas b820df0bd7 Fix space 2023-09-10 13:11:23 +02:00
Romain Thomas 1ecfbf1fd8 Add new ELF DT_ enums.
This commit resolves the `UNDEFINED` output mentioned in #954, whilst
not supporting yet the packed relocations.
2023-08-27 21:33:23 +02:00
Romain Thomas 5b6eefbe9c Resolve #945 2023-08-05 21:28:36 +02:00
Romain Thomas f999ea6456 Clean and refactor the PE SignatureParser 2023-07-30 06:07:41 +02:00
Romain Thomas cc165d2aba Refactor and clean LIEF::PE::Section 2023-07-28 17:15:14 +02:00
Romain Thomas 6a90b3457f Refactor and clean LIEF::PE::DataDirectory 2023-07-27 21:14:38 +02:00
Romain Thomas d34d20c198 Refactor and clean LIEF::PE::Header 2023-07-27 18:33:09 +02:00
Romain Thomas 22a6ffa0bd Refactor and clean LIEF::PE::OptionHeader 2023-07-27 18:30:11 +02:00
Romain Thomas 1781ba0f61 Clean DosHeader interface 2023-07-27 18:23:43 +02:00
Romain Thomas 6e328569fb Clean TLS interface 2023-07-27 07:48:08 +02:00
Romain Thomas 97bf8b65ff Clean and simplify code 2023-07-25 18:41:39 +02:00
Romain Thomas 7289bbb01f Refactor and clean PE debug entries 2023-07-22 13:39:11 +02:00
Romain Thomas 98e85cd6f6 Expose copy method 2023-07-22 08:35:59 +02:00
Romain Thomas 76aa4eb895 Fix typo 2023-07-22 05:56:50 +02:00
Romain Thomas 550f8cbcb4 Update tests 2023-07-22 05:34:03 +02:00
Romain Thomas 60ab1f281d Resolve #943 2023-07-15 13:08:13 +02:00
Romain Thomas 9fecc8301a Use cache for the iOS ci and improve testing 2023-07-15 06:34:59 +02:00
Romain Thomas 4b29b87c14 Fix Python module API 2023-07-15 05:39:57 +02:00
Romain Thomas afc84c9c0c Move to pointers 2023-07-14 05:44:23 +02:00
Romain Thomas e37ffa9ec8 Switch the bindings to nanobind (and update the CI) 2023-07-09 21:33:43 +02:00
Romain Thomas 7057b9d359 Resolve #936 2023-07-01 08:38:56 +02:00
Romain Thomas 1a3b65117f Update setup.py 2023-07-01 06:39:33 +02:00
Romain Thomas 57a59c5696 Do not reset the position
(issue: #935)
2023-06-26 07:46:16 +02:00
Romain Thomas 15f40f2b8d Resolve #935 2023-06-24 07:37:00 +02:00
Romain Thomas a30b8adb2b remove useless checks
`seek` and `tell` are always present when inheriting from `io.IOBase`
2023-06-24 07:36:57 +02:00