summaryrefslogtreecommitdiff
path: root/pcr/aflplusplus/PKGBUILD
AgeCommit message (Collapse)Author
2022-06-17pcr: aflplusplus: Fix runtime dependencies for LTODenis 'GNUtoo' Carikli
Without ldb we have the following error when running ./configure with CC=afl-lto with source code that uses the autools build system: clang-13: error: invalid linker name in argument '--ld-path=/usr/bin/ld.lld' And without clang we can't even build a simple hello world: $ afl-lto ~/main.c afl-cc++4.00c by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-LTO-PCGUARD [-] PROGRAM ABORT : Oops, failed to execute '/usr/bin/clang' - check your PATH Location : main(), src/afl-cc.c:2145 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-06-16pcr: aflplusplus: Add clang build dependencyDenis 'GNUtoo' Carikli
Without that fix we have: [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation GNUmakefile.llvm:120: we have trouble finding clang - llvm-config is not helping us GNUmakefile.llvm:135: we have trouble finding clang++ - llvm-config is not helping us GNUmakefile.llvm:223: clang option -flto is not working - maybe LLVMgold.so not found - cannot enable LTO mode Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-06-16aflplusplus: add python3 to makedependsDenis 'GNUtoo' Carikli
Without that fix, we have: | [-] You seem to need to install the package python3-dev, python2-dev or python-dev (and perhaps python[23]-apt), but it is optional so we continue Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-06-16pcr: aflplusplus: fix typoDenis 'GNUtoo' Carikli
We need lld not lldb. Without lld we have: [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation GNUmakefile.llvm:218: ld.lld not found, cannot enable LTO mode Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-06-16pcr: aflplusplus: Add llvm to makedepends for llvm-configDenis 'GNUtoo' Carikli
Without that fix, with libremakepkg, we have: | [+] llvm_mode detected llvm < 11, afl-lto LTO will not be build. | GNUmakefile.llvm:120: we have trouble finding clang - llvm-config is not helping us | GNUmakefile.llvm:135: we have trouble finding clang++ - llvm-config is not helping us Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-06-16pcr: aflplusplus: enable LTODenis 'GNUtoo' Carikli
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-05-31pcr: Add aflplusplusDenis 'GNUtoo' Carikli
The AFL website[1] states the following: Note: AFL hasn't been updated for a couple of years; while it should still work fine, a more complex fork with a variety of improvements and additional features, known as AFL++, is available from other members of the community and might be worth checking out. [1]https://lcamtuf.coredump.cx/afl/ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>