>>> afl++: Building community/afl++ 4.00c-r0 (using abuild 3.9.0-r0) started Thu, 21 Apr 2022 19:56:56 +0000 >>> afl++: Checking sanity of /home/buildozer/aports/community/afl++/APKBUILD... >>> afl++: Analyzing dependencies... >>> afl++: Installing for build: build-base clang cmd:stat lld llvm python3 clang-dev gmp-dev grep llvm-dev python3-dev bash cmocka-dev (1/37) Installing libffi (3.4.2-r1) (2/37) Installing xz-libs (5.2.5-r1) (3/37) Installing libxml2 (2.9.13-r0) (4/37) Installing llvm13-libs (13.0.1-r2) (5/37) Installing clang-libs (13.0.1-r0) (6/37) Installing clang (13.0.1-r0) (7/37) Installing skalibs (2.11.2.0-r0) (8/37) Installing utmps-libs (0.1.2.0-r0) (9/37) Installing coreutils (9.1-r0) (10/37) Installing lld (13.0.1-r0) (11/37) Installing llvm13 (13.0.1-r2) (12/37) Installing libbz2 (1.0.8-r1) (13/37) Installing gdbm (1.23-r0) (14/37) Installing mpdecimal (2.5.1-r1) (15/37) Installing readline (8.1.2-r0) (16/37) Installing sqlite-libs (3.38.2-r0) (17/37) Installing python3 (3.10.3-r1) (18/37) Installing clang-extra-tools (13.0.1-r0) (19/37) Installing clang-dev (13.0.1-r0) (20/37) Installing libgmpxx (6.2.1-r2) (21/37) Installing gmp-dev (6.2.1-r2) (22/37) Installing pcre (8.45-r2) (23/37) Installing grep (3.7-r0) (24/37) Installing py3-appdirs (1.4.4-r3) (25/37) Installing py3-more-itertools (8.12.0-r2) (26/37) Installing py3-ordered-set (4.0.2-r3) (27/37) Installing py3-parsing (2.4.7-r3) (28/37) Installing py3-six (1.16.0-r1) (29/37) Installing py3-packaging (21.3-r0) (30/37) Installing py3-setuptools (59.4.0-r0) (31/37) Installing llvm13-test-utils (13.0.1-r2) (32/37) Installing llvm13-dev (13.0.1-r2) (33/37) Installing python3-dev (3.10.3-r1) (34/37) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (35/37) Installing cmocka (1.1.5-r2) (36/37) Installing cmocka-dev (1.1.5-r2) (37/37) Installing .makedepends-afl++ (20220421.195657) Executing busybox-1.35.0-r10.trigger OK: 623 MiB in 126 packages >>> afl++: Cleaning up srcdir >>> afl++: Cleaning up pkgdir >>> afl++: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/afl++-4.00c.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> afl++: Fetching afl++-4.00c.tar.gz::https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/4.00c.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 140 100 140 0 0 212 0 --:--:-- --:--:-- --:--:-- 212 100 40973 0 40973 0 0 28320 0 --:--:-- 0:00:01 --:--:-- 28320 100 2739k 0 2739k 0 0 1255k 0 --:--:-- 0:00:02 --:--:-- 3677k >>> afl++: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/afl++-4.00c.tar.gz >>> afl++: Checking sha512sums... afl++-4.00c.tar.gz: OK 0001-fix-missing-max-path-define.patch: OK 0002-fix-bin-dir.patch: OK 0003-fix-wrong-format-specifier.patch: OK >>> afl++: Unpacking /var/cache/distfiles/v3.16/afl++-4.00c.tar.gz... >>> afl++: 0001-fix-missing-max-path-define.patch patching file src/afl-ld-lto.c >>> afl++: 0002-fix-bin-dir.patch patching file utils/aflpp_driver/GNUmakefile patching file GNUmakefile.llvm >>> afl++: 0003-fix-wrong-format-specifier.patch patching file instrumentation/SanitizerCoverageLTO.so.cc [*] Compiling afl++ for OS Linux on ARCH armv8l [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.10.3 support seems to be working. [+] Everything seems to be working, ready to compile. gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto -c src/afl-common.c -o src/afl-common.o gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto -c src/afl-forkserver.c -o src/afl-forkserver.o gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Iinclude -fno-move-loop-invariants -fdisable-tree-cunrolli -O3 -fno-unroll-loops -c src/afl-performance.c -o src/afl-performance.o cc1: note: disable pass tree-cunrolli for functions in the range of [0, 4294967295] gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-fuzz-bitmap.c src/afl-fuzz-cmplog.c src/afl-fuzz-extras.c src/afl-fuzz-init.c src/afl-fuzz-mutators.c src/afl-fuzz-one.c src/afl-fuzz-python.c src/afl-fuzz-queue.c src/afl-fuzz-redqueen.c src/afl-fuzz-run.c src/afl-fuzz-state.c src/afl-fuzz-stats.c src/afl-fuzz-statsd.c src/afl-fuzz.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-fuzz -DUSE_PYTHON -I/usr/include/python3.10 -I/usr/include/python3.10 -ldl -lrt -lm -lpython3.10 -ldl -lm -lm -L/usr/lib -lpython3.10 -ldl -lm -lm -DPYTHON_VERSION="\"Python 3.10.3\"" -ldl -lrt -lm -lm gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -ldl -lrt -lm gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-tmin -ldl -lrt -lm gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -ldl -lrt -lm gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o src/afl-forkserver.o -o afl-analyze -ldl -lrt -lm gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 src/afl-as.c -o afl-as -ldl -lrt -lm make -j4 -f GNUmakefile.llvm make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/bin/clang'... [*] Checking for matching versions of '/usr/bin/clang' and 'llvm-config' [*] We have llvm-config version 13.0.1 with a clang version 13.0.1, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. /usr/bin/clang -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer -c src/afl-common.c -o instrumentation/afl-common.o /usr/bin/clang -I/usr/lib/llvm13/include -I./../include -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -DCFLAGS_OPT=\"\" -lm /usr/bin/clang -I/usr/lib/llvm13/include -I./../include -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o [*] Building 32-bit variant of the runtime (-m32)... success! [*] Building 64-bit variant of the runtime (-m64)... success! /usr/bin/clang++ -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer `llvm-config --cxxflags` -fno-rtti -fPIC -std=c++14 -c instrumentation/afl-llvm-common.cc -o instrumentation/afl-llvm-common.o In file included from instrumentation/afl-llvm-common.cc:16: /usr/lib/llvm13/include/llvm/Support/raw_ostream.h:148:43: warning: unused parameter 'ExtraSize' [-Wunused-parameter] virtual void reserveExtraSpace(uint64_t ExtraSize) {} ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:23: In file included from /usr/lib/llvm13/include/llvm/IR/BasicBlock.h:18: /usr/lib/llvm13/include/llvm/ADT/ilist.h:57:34: warning: unused parameter 'V' [-Wunused-parameter] static void deleteNode(NodeTy *V) {} ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:23: In file included from /usr/lib/llvm13/include/llvm/IR/BasicBlock.h:22: In file included from /usr/lib/llvm13/include/llvm/IR/Instruction.h:22: In file included from /usr/lib/llvm13/include/llvm/IR/DebugLoc.h:17: In file included from /usr/lib/llvm13/include/llvm/IR/TrackingMDRef.h:16: In file included from /usr/lib/llvm13/include/llvm/IR/Metadata.h:19: /usr/lib/llvm13/include/llvm/ADT/DenseMap.h:565:45: warning: unused parameter 'Key' [-Wunused-parameter] BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:25: In file included from /usr/lib/llvm13/include/llvm/IR/ConstantFolder.h:20: /usr/lib/llvm13/include/llvm/IR/Constants.h:54:41: warning: unused parameter 'From' [-Wunused-parameter] Value *handleOperandChangeImpl(Value *From, Value *To) { ^ /usr/lib/llvm13/include/llvm/IR/Constants.h:54:54: warning: unused parameter 'To' [-Wunused-parameter] Value *handleOperandChangeImpl(Value *From, Value *To) { ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:25: In file included from /usr/lib/llvm13/include/llvm/IR/ConstantFolder.h:21: /usr/lib/llvm13/include/llvm/IR/InstrTypes.h:2073:47: warning: unused parameter 'S' [-Wunused-parameter] bool isFnAttrDisallowedByOpBundle(StringRef S) const { ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:27: In file included from /usr/lib/llvm13/include/llvm/IR/DataLayout.h:32: /usr/lib/llvm13/include/llvm/Support/TrailingObjects.h:260:40: warning: unused parameter 'Obj' [-Wunused-parameter] callNumTrailingObjects(const BaseTy *Obj, ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:28: In file included from /usr/lib/llvm13/include/llvm/IR/DebugInfoMetadata.h:25: /usr/lib/llvm13/include/llvm/BinaryFormat/Dwarf.h:785:64: warning: unused parameter 'Style' [-Wunused-parameter] static void format(const Enum &E, raw_ostream &OS, StringRef Style) { ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:28: In file included from /usr/lib/llvm13/include/llvm/IR/DebugInfoMetadata.h:30: In file included from /usr/lib/llvm13/include/llvm/Support/Discriminator.h:16: In file included from /usr/lib/llvm13/include/llvm/Support/Error.h:19: /usr/lib/llvm13/include/llvm/ADT/StringExtras.h:413:42: warning: unused parameter 'Result' [-Wunused-parameter] inline void join_items_impl(std::string &Result, Sep Separator) {} ^ /usr/lib/llvm13/include/llvm/ADT/StringExtras.h:413:54: warning: unused parameter 'Separator' [-Wunused-parameter] inline void join_items_impl(std::string &Result, Sep Separator) {} ^ /usr/lib/llvm13/include/llvm/ADT/StringExtras.h:416:54: warning: unused parameter 'Separator' [-Wunused-parameter] inline void join_items_impl(std::string &Result, Sep Separator, ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:28: In file included from /usr/lib/llvm13/include/llvm/IR/DebugInfoMetadata.h:30: In file included from /usr/lib/llvm13/include/llvm/Support/Discriminator.h:16: In file included from /usr/lib/llvm13/include/llvm/Support/Error.h:26: /usr/lib/llvm13/include/llvm/Support/ErrorOr.h:189:47: warning: unused parameter 'a' [-Wunused-parameter] static bool compareThisIfSameType(const T1 &a, const T2 &b) { ^ /usr/lib/llvm13/include/llvm/Support/ErrorOr.h:189:60: warning: unused parameter 'b' [-Wunused-parameter] static bool compareThisIfSameType(const T1 &a, const T2 &b) { ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:28: In file included from /usr/lib/llvm13/include/llvm/IR/DebugInfoMetadata.h:30: In file included from /usr/lib/llvm13/include/llvm/Support/Discriminator.h:16: /usr/lib/llvm13/include/llvm/Support/Error.h:300:24: warning: unused parameter 'V' [-Wunused-parameter] void setChecked(bool V) { ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:35: /usr/lib/llvm13/include/llvm/IR/Instructions.h:3010:37: warning: unused parameter 'idx' [-Wunused-parameter] BasicBlock *getSuccessor(unsigned idx) const { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:3014:30: warning: unused parameter 'idx' [-Wunused-parameter] void setSuccessor(unsigned idx, BasicBlock *B) { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:3014:47: warning: unused parameter 'B' [-Wunused-parameter] void setSuccessor(unsigned idx, BasicBlock *B) { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:4201:37: warning: unused parameter 'idx' [-Wunused-parameter] BasicBlock *getSuccessor(unsigned idx) const { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:4205:30: warning: unused parameter 'idx' [-Wunused-parameter] void setSuccessor(unsigned idx, BasicBlock *NewSucc) { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:4205:47: warning: unused parameter 'NewSucc' [-Wunused-parameter] void setSuccessor(unsigned idx, BasicBlock *NewSucc) { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:4705:37: warning: unused parameter 'idx' [-Wunused-parameter] BasicBlock *getSuccessor(unsigned idx) const { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:4709:30: warning: unused parameter 'idx' [-Wunused-parameter] void setSuccessor(unsigned idx, BasicBlock *B) { ^ /usr/lib/llvm13/include/llvm/IR/Instructions.h:4709:47: warning: unused parameter 'B' [-Wunused-parameter] void setSuccessor(unsigned idx, BasicBlock *B) { ^ In file included from instrumentation/afl-llvm-common.cc:19: In file included from ./instrumentation/afl-llvm-common.h:18: /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1097:55: warning: unused parameter 'OpBundles' [-Wunused-parameter] ArrayRef OpBundles, ^ 24 warnings generated. /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -Wdeprecated -fno-rtti -fPIC -std=c++14 -shared instrumentation/afl-llvm-pass.so.cc -o afl-llvm-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o In file included from instrumentation/afl-llvm-pass.so.cc:47: In file included from /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:25: In file included from /usr/lib/llvm13/include/llvm/IR/ConstantFolder.h:21: In file included from /usr/lib/llvm13/include/llvm/IR/InstrTypes.h:26: /usr/lib/llvm13/include/llvm/IR/Attributes.h:284:3: warning: definition of implicit copy assignment operator for 'AttributeSet' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] ~AttributeSet() = default; ^ /usr/lib/llvm13/include/llvm/IR/GlobalVariable.h:189:11: note: in implicit copy assignment operator for 'llvm::AttributeSet' first required here Attrs = Attrs.addAttribute(getContext(), Kind); ^ instrumentation/afl-llvm-pass.so.cc:457:28: warning: 'CreateLoad' is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations] PrevCaller = IRB.CreateLoad( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1678:3: note: 'CreateLoad' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(LoadInst *CreateLoad(Value *Ptr, ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ instrumentation/afl-llvm-pass.so.cc:474:39: warning: 'CreateLoad' is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations] LoadInst *PrevCtxLoad = IRB.CreateLoad( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1678:3: note: 'CreateLoad' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(LoadInst *CreateLoad(Value *Ptr, ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ instrumentation/afl-llvm-pass.so.cc:635:23: warning: 'CreateLoad' is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations] PrevLoc = IRB.CreateLoad( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1678:3: note: 'CreateLoad' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(LoadInst *CreateLoad(Value *Ptr, ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ instrumentation/afl-llvm-pass.so.cc:643:23: warning: 'CreateLoad' is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations] PrevLoc = IRB.CreateLoad( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1678:3: note: 'CreateLoad' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(LoadInst *CreateLoad(Value *Ptr, ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ instrumentation/afl-llvm-pass.so.cc:674:30: warning: 'CreateLoad' is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations] LoadInst *MapPtr = IRB.CreateLoad( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1678:3: note: 'CreateLoad' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(LoadInst *CreateLoad(Value *Ptr, ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ instrumentation/afl-llvm-pass.so.cc:691:25: warning: 'CreateGEP' is deprecated: Use the version with explicit element type instead [-Wdeprecated-declarations] MapPtrIdx = IRB.CreateGEP( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1787:3: note: 'CreateGEP' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED( ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ instrumentation/afl-llvm-pass.so.cc:714:33: warning: 'CreateLoad' is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations] LoadInst *Counter = IRB.CreateLoad( ^ /usr/lib/llvm13/include/llvm/IR/IRBuilder.h:1678:3: note: 'CreateLoad' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(LoadInst *CreateLoad(Value *Ptr, ^ /usr/lib/llvm13/include/llvm/Support/Compiler.h:320:52: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' #define LLVM_ATTRIBUTE_DEPRECATED(decl, message) [[deprecated(message)]] decl ^ 8 warnings generated. /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -Wdeprecated -fno-rtti -fPIC -std=c++14 -shared instrumentation/SanitizerCoveragePCGUARD.so.cc -o SanitizerCoveragePCGUARD.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o In file included from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: In file included from /usr/lib/llvm13/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19: In file included from /usr/lib/llvm13/include/llvm/IR/Module.h:23: /usr/lib/llvm13/include/llvm/IR/Attributes.h:284:3: warning: definition of implicit copy assignment operator for 'AttributeSet' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] ~AttributeSet() = default; ^ /usr/lib/llvm13/include/llvm/IR/GlobalVariable.h:189:11: note: in implicit copy assignment operator for 'llvm::AttributeSet' first required here Attrs = Attrs.addAttribute(getContext(), Kind); ^ 1 warning generated. /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-compares-pass.so.cc -o split-compares-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-switches-pass.so.cc -o split-switches-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-routines-pass.cc -o cmplog-routines-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-instructions-pass.cc -o cmplog-instructions-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-switches-pass.cc -o cmplog-switches-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/afl-llvm-dict2file.so.cc -o afl-llvm-dict2file.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/compare-transform-pass.so.cc -o compare-transform-pass.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer src/afl-ld-lto.c -o afl-ld-lto /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -fno-rtti -fPIC -std=c++14 -shared instrumentation/afl-llvm-lto-instrumentlist.so.cc -o afl-llvm-lto-instrumentlist.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -Os -fomit-frame-pointer -Wall -g -I ./include/ -DVERSION=\"++4.00c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=13 -Wno-deprecated-declarations -Wl,-znodelete -Wno-writable-strings -fno-rtti -fPIC -std=c++14 -shared instrumentation/SanitizerCoverageLTO.so.cc -o SanitizerCoverageLTO.so `llvm-config --ldflags` instrumentation/afl-llvm-common.o /usr/bin/clang -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer -Wno-unused-result -O0 -flto=full -fPIC -c instrumentation/afl-llvm-rt-lto.o.c -o ./afl-llvm-rt-lto.o [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer ./test-instr.c -o test-instr ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! [+] All done! You can now use './afl-cc' to compile programs. make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. g++ -Os -fomit-frame-pointer -Wall -std=c++11 -fPIC -fno-rtti -I"/usr/lib/gcc/armv7-alpine-linux-musleabihf/11.2.1/plugin"/include -I"/usr/lib/gcc/armv7-alpine-linux-musleabihf/11.2.1/plugin" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so ln -sf afl-cc afl-gcc-fast ln -sf afl-cc afl-g++-fast ln -sf afl-cc.8 afl-gcc-fast.8 ln -sf afl-cc.8 afl-g++-fast.8 [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc ./afl-gcc-fast -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function -Os -fomit-frame-pointer ./test-instr.c -o test-instr -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr '../../libAFLQemuDriver.a' 'libAFLDriver.a' -> '../../libAFLDriver.a' make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c/utils/aflpp_driver' [*] Compiling afl++ for OS Linux on ARCH armv8l [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.10.3 support seems to be working. [+] Everything seems to be working, ready to compile. make -j4 -f GNUmakefile.llvm make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/bin/clang'... [*] Checking for matching versions of '/usr/bin/clang' and 'llvm-config' [*] We have llvm-config version 13.0.1 with a clang version 13.0.1, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer ./test-instr.c -o test-instr ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! [+] All done! You can now use './afl-cc' to compile programs. make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc ./afl-gcc-fast -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function -Os -fomit-frame-pointer ./test-instr.c -o test-instr -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr '../../libdislocator.so' make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c/utils/libdislocator' make -C utils/libtokencap make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c/utils/libtokencap' gcc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -D_FORTIFY_SOURCE=2 -I ../../include/ -Wall -g -Wno-pointer-sign -Os -fomit-frame-pointer -shared -fPIC libtokencap.so.c -o libtokencap.so "-ldl" libtokencap.so.c: In function '__tokencap_dump': libtokencap.so.c:345:18: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 345 | wrt_ok &= (pos == write(__tokencap_out_file, buf, pos)); | ^~ cp -f libtokencap.so ../../ make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c/utils/libtokencap' # -make -C utils/plot_ui cd nyx_mode && ./build_nyx_support.sh ================================================= Nyx build script ================================================= [*] Performing basic sanity checks... [*] Making sure all Nyx is checked out [*] initializing QEMU-Nyx submodule make: [GNUmakefile:659: source-only] Error 1 (ignored) [*] starting afl++ test framework ... [*] Testing: afl-gcc, afl-showmap, afl-fuzz, afl-cmin and afl-tmin [*] not an intel platform, skipped tests of afl-gcc [*] Testing: llvm_mode, afl-showmap, afl-fuzz, afl-cmin and afl-tmin [+] llvm_mode compilation succeeded [+] llvm_mode instrumentation present and working correctly [+] llvm_mode run reported 4 instrumented locations which is fine [+] llvm_mode threadsafe compilation succeeded [+] llvm_mode threadsafe instrumentation present and working correctly [+] llvm_mode run reported 4 threadsafe instrumented locations which is fine [+] llvm_mode shared object with -z defs compilation succeeded [+] llvm_mode test-dlopen compilation succeeded [+] llvm_mode test-dlopen instrumentation present and working correctly [+] llvm_mode test-dlopen run reported 6 instrumented locations which is fine [+] llvm_mode hardened mode succeeded and is working [*] running afl-fuzz for llvm_mode, this will take approx 10 seconds [+] afl-fuzz is working correctly with llvm_mode [+] afl-cmin correctly minimized the number of testcases [+] afl-cmin.bash correctly minimized the number of testcases [+] afl-tmin correctly minimized the testcase [*] llvm_mode laf-intel/compcov testing splitting integer types (this might take some time) [+] llvm_mode laf-intel/compcov feature works correctly [*] running afl-fuzz with floating point splitting, this will take max. 45 seconds [+] llvm_mode laf-intel floatingpoint splitting feature works correctly [+] llvm_mode instrumentlist feature works correctly [*] running afl-fuzz for llvm_mode cmplog, this will take approx 10 seconds [+] afl-fuzz is working correctly with llvm_mode cmplog [+] llvm_mode persistent mode feature works correctly [*] Testing: LTO llvm_mode [+] llvm_mode LTO compilation succeeded [+] llvm_mode LTO instrumentation present and working correctly [+] llvm_mode LTO run reported 3 instrumented locations which is fine [+] llvm_mode LTO instrumentlist feature works correctly [+] llvm_mode LTO persistent mode feature works correctly [*] Testing: gcc_plugin [+] gcc_plugin compilation succeeded [+] gcc_plugin instrumentation present and working correctly [+] gcc_plugin run reported 5 instrumented locations which is fine [+] gcc_plugin hardened mode succeeded and is working [*] running afl-fuzz for gcc_plugin, this will take approx 10 seconds [+] afl-fuzz is working correctly with gcc_plugin [+] gcc_plugin instrumentlist feature works correctly [+] gcc_plugin persistent mode feature works correctly [*] Testing: shared library extensions [+] libtokencap did successfully capture tokens [+] libdislocator did successfully detect the memory corruption [*] Testing: qemu_mode [-] qemu_mode is not compiled, cannot test [*] Testing: frida_mode [-] frida_mode is not compiled, cannot test [*] Testing: unicorn_mode [-] unicorn_mode is not compiled, cannot test [*] Testing: custom mutator [*] running afl-fuzz for the C mutator, this will take approx 10 seconds [+] afl-fuzz is working correctly with the C mutator [*] running afl-fuzz with multiple custom C mutators, this will take approx 10 seconds [+] afl-fuzz is working correctly with multiple C mutators [*] running afl-fuzz for the Python mutator, this will take approx 10 seconds [+] afl-fuzz is working correctly with the Python mutator [*] Execution cmocka Unit-Tests  make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [*] Compiling afl++ for OS Linux on ARCH armv8l ./test/unittests/unit_maybe_alloc [==========] Running 6 test(s). [ RUN ] test_pow2 [ OK ] test_pow2 [ RUN ] test_null_allocs [ OK ] test_null_allocs [ RUN ] test_nonpow2_size [ OK ] test_nonpow2_size [ RUN ] test_zero_size [ OK ] test_zero_size [ RUN ] test_unchanged_size [ OK ] test_unchanged_size [ RUN ] test_grow_multiple [ OK ] test_grow_multiple [==========] 6 test(s) run. [ PASSED ] 6 test(s). ./test/unittests/unit_preallocable [==========] Running 2 test(s). [ RUN ] test_alloc_free [ OK ] test_alloc_free [ RUN ] test_prealloc_overflow [ OK ] test_prealloc_overflow [==========] 2 test(s) run. [ PASSED ] 2 test(s). ./test/unittests/unit_list [==========] Running 3 test(s). [ RUN ] test_contains [ OK ] test_contains [ RUN ] test_foreach [ OK ] test_foreach [ RUN ] test_long_list [ OK ] test_long_list [==========] 3 test(s) run. [ PASSED ] 3 test(s). ./test/unittests/unit_rand [==========] Running 2 test(s). [ RUN ] test_rand_0 [ OK ] test_rand_0 [ RUN ] test_rand_below [ OK ] test_rand_below [==========] 2 test(s) run. [ PASSED ] 2 test(s). ./test/unittests/unit_hash [==========] Running 1 test(s). [ RUN ] test_hash [ OK ] test_hash [==========] 1 test(s) run. [ PASSED ] 1 test(s). make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [*] 10 test cases completed. [-] not all test cases were executed [+] all tests were successful :-) >>> afl++: Entering fakeroot... [*] Compiling afl++ for OS Linux on ARCH armv8l [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.10.3 support seems to be working. [+] Everything seems to be working, ready to compile. make -j4 -f GNUmakefile.llvm make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/bin/clang'... [*] Checking for matching versions of '/usr/bin/clang' and 'llvm-config' [*] We have llvm-config version 13.0.1 with a clang version 13.0.1, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.00c\" -DLLVM_LIBDIR=\"/usr/lib/llvm13/lib\" -DLLVM_VERSION=\"13.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c=llvm_mode" -Os -fomit-frame-pointer ./test-instr.c -o test-instr ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! [+] All done! You can now use './afl-cc' to compile programs. make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.00c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc ./afl-gcc-fast -Os -fomit-frame-pointer -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function -Os -fomit-frame-pointer ./test-instr.c -o test-instr -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr >> afl++-doc*: Running split function doc... >>> afl++-doc*: Preparing subpackage afl++-doc... >>> afl++-doc*: Running postcheck for afl++-doc >>> afl++*: Running postcheck for afl++ >>> afl++*: Preparing package afl++... >>> afl++*: Stripping binaries >>> afl++-doc*: Scanning shared objects >>> afl++*: Scanning shared objects >>> afl++-doc*: Tracing dependencies... >>> afl++-doc*: Package size: 492.0 KB >>> afl++-doc*: Compressing data... >>> afl++-doc*: Create checksum... >>> afl++-doc*: Create afl++-doc-4.00c-r0.apk >>> afl++*: Tracing dependencies... clang cmd:stat lld llvm python3 so:libc.musl-armv7.so.1 so:libgcc_s.so.1 so:libpython3.10.so.1.0 so:libstdc++.so.6 >>> afl++*: Package size: 2.2 MB >>> afl++*: Compressing data... >>> afl++*: Create checksum... >>> afl++*: Create afl++-4.00c-r0.apk >>> afl++: Build complete at Thu, 21 Apr 2022 20:00:53 +0000 elapsed time 0h 3m 57s >>> afl++: Cleaning up srcdir >>> afl++: Cleaning up pkgdir >>> afl++: Uninstalling dependencies... (1/37) Purging .makedepends-afl++ (20220421.195657) (2/37) Purging lld (13.0.1-r0) (3/37) Purging clang-dev (13.0.1-r0) (4/37) Purging clang (13.0.1-r0) (5/37) Purging clang-extra-tools (13.0.1-r0) (6/37) Purging clang-libs (13.0.1-r0) (7/37) Purging gmp-dev (6.2.1-r2) (8/37) Purging libgmpxx (6.2.1-r2) (9/37) Purging grep (3.7-r0) (10/37) Purging python3-dev (3.10.3-r1) (11/37) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (12/37) Purging cmocka-dev (1.1.5-r2) (13/37) Purging cmocka (1.1.5-r2) (14/37) Purging llvm13-dev (13.0.1-r2) (15/37) Purging llvm13 (13.0.1-r2) (16/37) Purging llvm13-test-utils (13.0.1-r2) (17/37) Purging py3-setuptools (59.4.0-r0) (18/37) Purging py3-appdirs (1.4.4-r3) (19/37) Purging py3-more-itertools (8.12.0-r2) (20/37) Purging py3-ordered-set (4.0.2-r3) (21/37) Purging py3-packaging (21.3-r0) (22/37) Purging py3-six (1.16.0-r1) (23/37) Purging py3-parsing (2.4.7-r3) (24/37) Purging python3 (3.10.3-r1) (25/37) Purging llvm13-libs (13.0.1-r2) (26/37) Purging libffi (3.4.2-r1) (27/37) Purging libxml2 (2.9.13-r0) (28/37) Purging xz-libs (5.2.5-r1) (29/37) Purging coreutils (9.1-r0) Executing coreutils-9.1-r0.post-deinstall (30/37) Purging utmps-libs (0.1.2.0-r0) (31/37) Purging skalibs (2.11.2.0-r0) (32/37) Purging libbz2 (1.0.8-r1) (33/37) Purging gdbm (1.23-r0) (34/37) Purging mpdecimal (2.5.1-r1) (35/37) Purging readline (8.1.2-r0) (36/37) Purging sqlite-libs (3.38.2-r0) (37/37) Purging pcre (8.45-r2) Executing busybox-1.35.0-r10.trigger OK: 255 MiB in 89 packages >>> afl++: Updating the community/armv7 repository index... >>> afl++: Signing the index...