diff --git a/docs/deps.txt b/docs/deps.txt new file mode 100644 index 0000000..e8b222e --- /dev/null +++ b/docs/deps.txt @@ -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 diff --git a/finalize/CMakeLists.txt b/finalize/CMakeLists.txt index 828fc5a..b3d0e7d 100644 --- a/finalize/CMakeLists.txt +++ b/finalize/CMakeLists.txt @@ -1 +1,4 @@ +find_package(LIEF REQUIRED) + add_executable(spslr_finalize finalize.cpp) +target_link_libraries(spslr_finalize PRIVATE LIEF::LIEF)