Commit Graph

4 Commits

Author SHA1 Message Date
Khem Raj
0b44d2427b python3-lief: Define LIEF_BUILD_DIR as B
It avoids building everything in systems /tmp dir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-05 13:56:34 -08:00
Khem Raj
21230e8d8f python3-lief: Disable build on 32bit x86
Asserts fail, need upstream to validate the right approach to fix it [1]

[1] 3def579f75 (r152197203)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-05 13:56:33 -08:00
Khem Raj
4797b72ba0 python3-lief: Update to tip of master branch
Fixes build issues with clang

In file included from TMPDIR/work/core2-32-yoe-linux/python3-lief/0.16.2/git/src/MachO/ChainedPointerAnalysis.cpp:19:
TMPDIR/work/core2-32-yoe-linux/python3-lief/0.16.2/git/include/LIEF/MachO/ChainedPointerAnalysis.hpp:390:17: error: static assertion failed due to requirement 'sizeof(LIEF::MachO::ChainedPointerAnalysis::union_pointer_t) == 16'
  390 |   static_assert(sizeof(union_pointer_t) == 16);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-02 12:36:29 -08:00
Leon Anavi
b23c36d407 python3-lief: Add recipe
Add recipe to build the Python API of LIEF (Library to Instrument
Executable Formats). The purpose of this project is to provide a
cross-platform library to parse, modify and abstract ELF, PE and
MachO formats.

Changelog for LIEF release 0.16.2:

- Fix broken aarch64 Python wheel which is related to a toolchain
  issue

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-29 17:43:05 -08:00