Added LIEF for spslr_finalize

This commit is contained in:
York Jasper Niebuhr 2025-10-27 16:40:30 +01:00
parent 1585426dae
commit 9576893b00
2 changed files with 13 additions and 0 deletions

10
docs/deps.txt Normal file
View File

@ -0,0 +1,10 @@
The spslr_pinpoint plugin requires a patched version of gcc. The provided patch will hopefully be
upstreamed in gcc 16.
The spslr_finalize tool requires LIEF:
1. git clone https://github.com/lief-project/LIEF.git
2. cd LIEF
3. git checkout 0.17.1
4. cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DLIEF_PYTHON_API=OFF -DLIEF_DOC=OFF -DLIEF_EXAMPLES=OFF
5. cmake --build build -j$(nproc)
6. sudo cmake --install build

View File

@ -1 +1,4 @@
find_package(LIEF REQUIRED)
add_executable(spslr_finalize finalize.cpp) add_executable(spslr_finalize finalize.cpp)
target_link_libraries(spslr_finalize PRIVATE LIEF::LIEF)