>>> afl++: Building community/afl++ 4.30c-r0 (using abuild 3.14.1-r3) started Thu, 19 Dec 2024 04:38:01 +0000 >>> afl++: Validating /home/buildozer/aports/community/afl++/APKBUILD... >>> afl++: Analyzing dependencies... >>> afl++: Installing for build: build-base clang18 compiler-rt lld18 llvm18 python3 bash clang18-dev coreutils gmp-dev grep llvm18-dev python3-dev cmocka-dev (1/47) Installing clang18-headers (18.1.8-r2) (2/47) Installing libffi (3.4.6-r0) (3/47) Installing xz-libs (5.6.3-r0) (4/47) Installing libxml2 (2.13.4-r3) (5/47) Installing llvm18-libs (18.1.8-r1) (6/47) Installing clang18-libs (18.1.8-r2) (7/47) Installing llvm18-linker-tools (18.1.8-r1) (8/47) Installing clang18 (18.1.8-r2) (9/47) Installing compiler-rt (19.1.4-r0) (10/47) Installing lld18-libs (18.1.8-r0) (11/47) Installing scudo-malloc (19.1.4-r0) (12/47) Installing lld18 (18.1.8-r0) (13/47) Installing llvm18 (18.1.8-r1) (14/47) Installing libbz2 (1.0.8-r6) (15/47) Installing gdbm (1.24-r0) (16/47) Installing mpdecimal (4.0.0-r0) (17/47) Installing libpanelw (6.5_p20241006-r3) (18/47) Installing sqlite-libs (3.47.2-r0) (19/47) Installing python3 (3.12.8-r1) (20/47) Installing python3-pycache-pyc0 (3.12.8-r1) (21/47) Installing pyc (3.12.8-r1) (22/47) Installing python3-pyc (3.12.8-r1) (23/47) Installing bash (5.2.37-r0) Executing bash-5.2.37-r0.post-install (24/47) Installing clang18-libclang (18.1.8-r2) (25/47) Installing clang18-dev (18.1.8-r2) (26/47) Installing coreutils-env (9.5-r1) (27/47) Installing coreutils-fmt (9.5-r1) (28/47) Installing coreutils-sha512sum (9.5-r1) (29/47) Installing libattr (2.5.2-r2) (30/47) Installing skalibs-libs (2.14.3.0-r0) (31/47) Installing utmps-libs (0.1.2.3-r2) (32/47) Installing coreutils (9.5-r1) (33/47) Installing libgmpxx (6.3.0-r2) (34/47) Installing gmp-dev (6.3.0-r2) (35/47) Installing grep (3.11-r0) (36/47) Installing linux-headers (6.6-r1) (37/47) Installing libffi-dev (3.4.6-r0) (38/47) Installing zlib-dev (1.3.1-r2) (39/47) Installing zstd (1.5.6-r1) (40/47) Installing zstd-dev (1.5.6-r1) (41/47) Installing llvm18-test-utils (18.1.8-r1) (42/47) Installing llvm18-test-utils-pyc (18.1.8-r1) (43/47) Installing llvm18-dev (18.1.8-r1) (44/47) Installing python3-dev (3.12.8-r1) (45/47) Installing cmocka (1.1.7-r2) (46/47) Installing cmocka-dev (1.1.7-r2) (47/47) Installing .makedepends-afl++ (20241219.043802) Executing busybox-1.37.0-r10.trigger OK: 818 MiB in 149 packages >>> afl++: Cleaning up srcdir >>> afl++: Cleaning up pkgdir >>> afl++: Cleaning up tmpdir >>> afl++: Fetching https://distfiles.alpinelinux.org/distfiles/edge/afl++-4.30c.tar.gz >>> afl++: Fetching https://distfiles.alpinelinux.org/distfiles/edge/afl++-4.30c.tar.gz >>> afl++: Checking sha512sums... afl++-4.30c.tar.gz: OK f2f417325f25de83bb149c178d36e00631e3d4bb.patch: OK >>> afl++: Unpacking /var/cache/distfiles/edge/afl++-4.30c.tar.gz... >>> afl++: f2f417325f25de83bb149c178d36e00631e3d4bb.patch patching file test/test-gcc-plugin.sh [*] Compiling AFL++ for OS Linux on ARCH armv8l [+] ZLIB detected [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.12.8 support seems to be working. [+] Everything seems to be working, ready to compile. (gcc (Alpine 14.2.0) 14.2.0) gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB -c src/afl-common.c -o src/afl-common.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB -c src/afl-sharedmem.c -o src/afl-sharedmem.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB -c src/afl-forkserver.c -o src/afl-forkserver.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -Wno-format-truncation -DHAVE_ZLIB -Iinclude -c src/afl-performance.c -o src/afl-performance.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB 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-skipdet.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.12 -I/usr/include/python3.12 -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -lpython3.12 -ldl -lm -L/usr/lib -lpython3.12 -ldl -lm -DPYTHON_VERSION="\"Python 3.12.8\"" -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -lm In file included from include/afl-fuzz.h:41, from src/afl-fuzz-run.c:27: src/afl-fuzz-run.c: In function 'write_to_testcase': src/afl-fuzz-run.c:165:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 165 | if (unlikely(new_size < afl->min_length && !fix)) { | ^ include/types.h:199:46: note: in definition of macro 'unlikely' 199 | #define unlikely(_x) __builtin_expect(!!(_x), 0) | ^~ src/afl-fuzz-run.c:169:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 169 | } else if (unlikely(new_size > afl->max_length)) { | ^ include/types.h:199:46: note: in definition of macro 'unlikely' 199 | #define unlikely(_x) __builtin_expect(!!(_x), 0) | ^~ src/afl-fuzz-run.c: In function 'trim_case': src/afl-fuzz-run.c:1112:29: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1112 | if (unlikely(new_size < afl->min_length)) { | ^ include/types.h:199:46: note: in definition of macro 'unlikely' 199 | #define unlikely(_x) __builtin_expect(!!(_x), 0) | ^~ src/afl-fuzz-run.c:1116:36: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1116 | } else if (unlikely(new_size > afl->max_length)) { | ^ include/types.h:199:46: note: in definition of macro 'unlikely' 199 | #define unlikely(_x) __builtin_expect(!!(_x), 0) | ^~ src/afl-fuzz-stats.c: In function 'write_setup_file': src/afl-fuzz-stats.c:94:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 94 | fprintf(f2, "%p\n", (void *)get_binary_hash(afl->fsrv.target_path)); | ^ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB src/afl-showmap.c src/afl-fuzz-mutators.c src/afl-fuzz-python.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -DUSE_PYTHON -I/usr/include/python3.12 -I/usr/include/python3.12 -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -lpython3.12 -ldl -lm -L/usr/lib -lpython3.12 -ldl -lm -DPYTHON_VERSION="\"Python 3.12.8\"" -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-tmin -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -flto -DHAVE_ZLIB src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o src/afl-forkserver.o -o afl-analyze -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz make -j -f GNUmakefile.llvm make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 16+, enabling c++17 [+] llvm_mode detected llvm 12+, enabling afl-lto LTO implementation GNUmakefile.llvm:244: ld.lld found in a weird location (/usr/bin/ld.lld), but its the same version as LLVM so we will allow it [+] shmat seems to be working. [*] Checking for working 'llvm-config'... /usr/lib/llvm18/bin/clang -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated -c src/afl-common.c -o instrumentation/afl-common.o -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz [*] Checking for working '/usr/lib/llvm18/bin/clang'... [*] Checking for matching versions of '/usr/lib/llvm18/bin/clang' and 'llvm-config' [*] We have llvm-config version 18.1.8 with a clang version 18.1.8, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. /usr/lib/llvm18/bin/clang -I/usr/lib/llvm18/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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o clang: warning: -Wl,--as-needed,-O1,--sort-common: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lz: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] [*] Building 32-bit variant of the runtime (-m32)... [*] Building 64-bit variant of the runtime (-m64)... /usr/lib/llvm18/bin/clang++ -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated $(llvm-config --cxxflags) -fno-rtti -fPIC -std=c++17 -c instrumentation/afl-llvm-common.cc -o instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated src/afl-ld-lto.c -o afl-ld-lto clangclang++: : warning: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] /usr/lib/llvm18/bin/clang -I/usr/lib/llvm18/include -I./../include -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -DCFLAGS_OPT=\"\" -lm success! failed (that's fine) src/afl-cc.c:1189:52: warning: unused parameter 'argc' [-Wunused-parameter] 1189 | void mode_final_checkout(aflcc_state_t *aflcc, int argc, char **argv) { | ^ src/afl-cc.c:1189:65: warning: unused parameter 'argv' [-Wunused-parameter] 1189 | void mode_final_checkout(aflcc_state_t *aflcc, int argc, char **argv) { | ^ 2 warnings generated. In file included from instrumentation/afl-llvm-common.cc:17: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:147:43: warning: unused parameter 'ExtraSize' [-Wunused-parameter] 147 | virtual void reserveExtraSpace(uint64_t ExtraSize) {} | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:22: In file included from /usr/lib/llvm18/include/llvm/IR/BasicBlock.h:18: /usr/lib/llvm18/include/llvm/ADT/ilist.h:58:34: warning: unused parameter 'V' [-Wunused-parameter] 58 | static void deleteNode(NodeTy *V) {} | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:22: In file included from /usr/lib/llvm18/include/llvm/IR/BasicBlock.h:22: In file included from /usr/lib/llvm18/include/llvm/IR/DebugProgramInstruction.h:53: In file included from /usr/lib/llvm18/include/llvm/IR/DebugLoc.h:17: In file included from /usr/lib/llvm18/include/llvm/IR/TrackingMDRef.h:16: In file included from /usr/lib/llvm18/include/llvm/IR/Metadata.h:19: /usr/lib/llvm18/include/llvm/ADT/DenseMap.h:592:45: warning: unused parameter 'Key' [-Wunused-parameter] 592 | BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:22: In file included from /usr/lib/llvm18/include/llvm/IR/BasicBlock.h:22: In file included from /usr/lib/llvm18/include/llvm/IR/DebugProgramInstruction.h:53: In file included from /usr/lib/llvm18/include/llvm/IR/DebugLoc.h:17: In file included from /usr/lib/llvm18/include/llvm/IR/TrackingMDRef.h:16: In file included from /usr/lib/llvm18/include/llvm/IR/Metadata.h:21: In file included from /usr/lib/llvm18/include/llvm/ADT/PointerUnion.h:21: /usr/lib/llvm18/include/llvm/Support/Casting.h:279:45: warning: unused parameter 'f' [-Wunused-parameter] 279 | static inline bool isPossible(const From &f) { return true; } | ^ /usr/lib/llvm18/include/llvm/Support/Casting.h:604:41: warning: unused parameter 't' [-Wunused-parameter] 604 | static inline bool isPresent(const T &t) { return true; } | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:24: In file included from /usr/lib/llvm18/include/llvm/IR/ConstantFolder.h:21: /usr/lib/llvm18/include/llvm/IR/Constants.h:54:41: warning: unused parameter 'From' [-Wunused-parameter] 54 | Value *handleOperandChangeImpl(Value *From, Value *To) { | ^ /usr/lib/llvm18/include/llvm/IR/Constants.h:54:54: warning: unused parameter 'To' [-Wunused-parameter] 54 | Value *handleOperandChangeImpl(Value *From, Value *To) { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:24: /usr/lib/llvm18/include/llvm/IR/ConstantFolder.h:87:37: warning: unused parameter 'FMF' [-Wunused-parameter] 87 | FastMathFlags FMF) const override { | ^ /usr/lib/llvm18/include/llvm/IR/ConstantFolder.h:92:37: warning: unused parameter 'FMF' [-Wunused-parameter] 92 | FastMathFlags FMF) const override { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:26: In file included from /usr/lib/llvm18/include/llvm/IR/DataLayout.h:34: /usr/lib/llvm18/include/llvm/Support/TrailingObjects.h:260:40: warning: unused parameter 'Obj' [-Wunused-parameter] 260 | callNumTrailingObjects(const BaseTy *Obj, | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:34: /usr/lib/llvm18/include/llvm/IR/Instructions.h:3131:37: warning: unused parameter 'idx' [-Wunused-parameter] 3131 | BasicBlock *getSuccessor(unsigned idx) const { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:3135:30: warning: unused parameter 'idx' [-Wunused-parameter] 3135 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:3135:47: warning: unused parameter 'B' [-Wunused-parameter] 3135 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:4308:37: warning: unused parameter 'idx' [-Wunused-parameter] 4308 | BasicBlock *getSuccessor(unsigned idx) const { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:4312:30: warning: unused parameter 'idx' [-Wunused-parameter] 4312 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:4312:47: warning: unused parameter 'NewSucc' [-Wunused-parameter] 4312 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:4813:37: warning: unused parameter 'idx' [-Wunused-parameter] 4813 | BasicBlock *getSuccessor(unsigned idx) const { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:4817:30: warning: unused parameter 'idx' [-Wunused-parameter] 4817 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ /usr/lib/llvm18/include/llvm/IR/Instructions.h:4817:47: warning: unused parameter 'B' [-Wunused-parameter] 4817 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:25: /usr/lib/llvm18/include/llvm/IR/IRBuilder.h:1220:55: warning: unused parameter 'OpBundles' [-Wunused-parameter] 1220 | ArrayRef OpBundles, | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:37: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfo.h:28: In file included from /usr/lib/llvm18/include/llvm/IR/IntrinsicInst.h:27: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfoMetadata.h:27: In file included from /usr/lib/llvm18/include/llvm/Support/CommandLine.h:32: In file included from /usr/lib/llvm18/include/llvm/Support/StringSaver.h:15: /usr/lib/llvm18/include/llvm/Support/Allocator.h:218:31: warning: unused parameter 'Ptr' [-Wunused-parameter] 218 | void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:218:43: warning: unused parameter 'Size' [-Wunused-parameter] 218 | void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:37: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfo.h:28: In file included from /usr/lib/llvm18/include/llvm/IR/IntrinsicInst.h:27: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfoMetadata.h:28: In file included from /usr/lib/llvm18/include/llvm/Support/Discriminator.h:16: In file included from /usr/lib/llvm18/include/llvm/Support/Error.h:23: /usr/lib/llvm18/include/llvm/Support/ErrorOr.h:188:47: warning: unused parameter 'a' [-Wunused-parameter] 188 | static bool compareThisIfSameType(const T1 &a, const T2 &b) { | ^ /usr/lib/llvm18/include/llvm/Support/ErrorOr.h:188:60: warning: unused parameter 'b' [-Wunused-parameter] 188 | static bool compareThisIfSameType(const T1 &a, const T2 &b) { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:37: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfo.h:28: In file included from /usr/lib/llvm18/include/llvm/IR/IntrinsicInst.h:27: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfoMetadata.h:28: In file included from /usr/lib/llvm18/include/llvm/Support/Discriminator.h:16: /usr/lib/llvm18/include/llvm/Support/Error.h:302:24: warning: unused parameter 'V' [-Wunused-parameter] 302 | void setChecked(bool V) { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:37: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfo.h:29: In file included from /usr/lib/llvm18/include/llvm/IR/PassManager.h:47: /usr/lib/llvm18/include/llvm/IR/PassInstrumentation.h:211:27: warning: unused parameter 'Pass' [-Wunused-parameter] 211 | isRequired(const PassT &Pass) { | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from instrumentation/afl-llvm-common.h:37: In file included from /usr/lib/llvm18/include/llvm/IR/DebugInfo.h:29: /usr/lib/llvm18/include/llvm/IR/PassManager.h:68:68: warning: unused parameter 'IR' [-Wunused-parameter] 68 | template inline bool shouldConvertDbgInfo(IRUnitT &IR) { | ^ /usr/lib/llvm18/include/llvm/IR/PassManager.h:74:69: warning: unused parameter 'IR' [-Wunused-parameter] 74 | template inline void doConvertDbgInfoToNew(IRUnitT &IR) {} | ^ /usr/lib/llvm18/include/llvm/IR/PassManager.h:78:71: warning: unused parameter 'IR' [-Wunused-parameter] 78 | template inline void doConvertDebugInfoToOld(IRUnitT &IR) {} | ^ /usr/lib/llvm18/include/llvm/IR/PassManager.h:1023:23: warning: unused parameter 'IR' [-Wunused-parameter] 1023 | Result run(IRUnitT &IR, AnalysisManager &AM, | ^ /usr/lib/llvm18/include/llvm/IR/PassManager.h:1023:68: warning: unused parameter 'AM' [-Wunused-parameter] 1023 | Result run(IRUnitT &IR, AnalysisManager &AM, | ^ /usr/lib/llvm18/include/llvm/IR/PassManager.h:1309:34: warning: unused parameter 'Arg' [-Wunused-parameter] 1309 | PreservedAnalyses run(IRUnitT &Arg, AnalysisManagerT &AM, ExtraArgTs &&...) { | ^ /usr/lib/llvm18/include/llvm/IR/PassManager.h:1309:57: warning: unused parameter 'AM' [-Wunused-parameter] 1309 | PreservedAnalyses run(IRUnitT &Arg, AnalysisManagerT &AM, ExtraArgTs &&...) { | ^ 33 warnings generated. /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -Wdeprecated -fno-rtti -fPIC -std=c++17 -shared instrumentation/afl-llvm-pass.so.cc -o afl-llvm-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -fno-rtti -fPIC -std=c++17 -shared instrumentation/SanitizerCoveragePCGUARD.so.cc -o SanitizerCoveragePCGUARD.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -Wno-deprecated-copy-dtor -Wdeprecated instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-compares-pass.so.cc -o split-compares-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-switches-pass.so.cc -o split-switches-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-routines-pass.cc -o cmplog-routines-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-instructions-pass.cc -o cmplog-instructions-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-switches-pass.cc -o cmplog-switches-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/afl-llvm-dict2file.so.cc -o afl-llvm-dict2file.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/compare-transform-pass.so.cc -o compare-transform-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -fno-rtti -fPIC -std=c++17 -shared instrumentation/afl-llvm-lto-instrumentlist.so.cc -o afl-llvm-lto-instrumentlist.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -Wno-writable-strings -fno-rtti -fPIC -std=c++17 -shared instrumentation/SanitizerCoverageLTO.so.cc -o SanitizerCoverageLTO.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/lib/llvm18/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=18 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/injection-pass.cc -o injection-pass.so $(llvm-config --ldflags) -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o In file included from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: In file included from /usr/lib/llvm18/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:18: In file included from /usr/lib/llvm18/include/llvm/IR/PassManager.h:45: In file included from /usr/lib/llvm18/include/llvm/IR/Function.h:25: In file included from /usr/lib/llvm18/include/llvm/IR/Argument.h:17: /usr/lib/llvm18/include/llvm/IR/Attributes.h:315:3: warning: definition of implicit copy assignment operator for 'AttributeSet' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] 315 | ~AttributeSet() = default; | ^ /usr/lib/llvm18/include/llvm/IR/GlobalVariable.h:194:11: note: in implicit copy assignment operator for 'llvm::AttributeSet' first required here 194 | Attrs = Attrs.addAttribute(getContext(), Kind); | ^ In file included from instrumentation/afl-llvm-pass.so.cc:43: In file included from /usr/lib/llvm18/include/llvm/Passes/PassBuilder.h:18: In file included from /usr/lib/llvm18/include/llvm/Analysis/CGSCCPassManager.h:92: In file included from /usr/lib/llvm18/include/llvm/Analysis/LazyCallGraph.h:45: In file included from /usr/lib/llvm18/include/llvm/Analysis/TargetLibraryInfo.h:14: In file included from /usr/lib/llvm18/include/llvm/IR/InstrTypes.h:24: /usr/lib/llvm18/include/llvm/IR/Attributes.h:315:3: warning: definition of implicit copy assignment operator for 'AttributeSet' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] 315 | ~AttributeSet() = default; | ^ /usr/lib/llvm18/include/llvm/IR/GlobalVariable.h:194:11: note: in implicit copy assignment operator for 'llvm::AttributeSet' first required here 194 | Attrs = Attrs.addAttribute(getContext(), Kind); | ^ In file included from instrumentation/afl-llvm-pass.so.cc:43: In file included from /usr/lib/llvm18/include/llvm/Passes/PassBuilder.h:25: In file included from /usr/lib/llvm18/include/llvm/Transforms/IPO/Inliner.h:13: In file included from /usr/lib/llvm18/include/llvm/Analysis/InlineAdvisor.h:13: In file included from /usr/lib/llvm18/include/llvm/Analysis/InlineCost.h:18: In file included from /usr/lib/llvm18/include/llvm/Analysis/InlineModelFeatureMaps.h:13: In file included from /usr/lib/llvm18/include/llvm/Analysis/TensorSpec.h:16: In file included from /usr/lib/llvm18/include/llvm/Support/JSON.h:55: In file included from /usr/lib/llvm18/include/llvm/Support/FormatVariadic.h:33: In file included from /usr/lib/llvm18/include/llvm/Support/FormatCommon.h:13: /usr/lib/llvm18/include/llvm/Support/FormatVariadicDetails.h:27:11: warning: definition of implicit copy constructor for 'format_adapter' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] 27 | virtual ~format_adapter() = default; | ^ /usr/lib/llvm18/include/llvm/Support/FormatVariadicDetails.h:33:29: note: in implicit copy constructor for 'llvm::detail::format_adapter' first required here 33 | template class provider_format_adapter : public format_adapter { | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:209:4: note: in implicit move constructor for 'llvm::detail::provider_format_adapter' first required here 209 | : _M_head_impl(std::forward<_UHead>(__h)) { } | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:573:4: note: in instantiation of function template specialization 'std::_Head_base<3, llvm::detail::provider_format_adapter>::_Head_base>' requested here 573 | : _Base(std::forward<_UHead>(__head)) | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:316:4: note: in instantiation of function template specialization 'std::_Tuple_impl<3, llvm::detail::provider_format_adapter>::_Tuple_impl>' requested here 316 | : _Inherited(std::forward<_UTail>(__tail)...), | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:316:4: note: in instantiation of function template specialization 'std::_Tuple_impl<2, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::_Tuple_impl, llvm::detail::provider_format_adapter, void>' requested here /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:316:4: note: in instantiation of function template specialization 'std::_Tuple_impl<1, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::_Tuple_impl, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, void>' requested here /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:1489:4: note: in instantiation of function template specialization 'std::_Tuple_impl<0, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::_Tuple_impl, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, void>' requested here 1489 | : _Inherited(std::forward<_UElements>(__elements)...) | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:2642:14: note: in instantiation of function template specialization 'std::tuple, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::tuple, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, true, true>' requested here 2642 | return __result_type(std::forward<_Elements>(__args)...); | ^ /usr/lib/llvm18/include/llvm/Support/FormatVariadic.h:257:12: note: in instantiation of function template specialization 'std::make_tuple, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>' requested here 257 | std::make_tuple(detail::build_format_adapter(std::forward(Vals))...)); | ^ /usr/lib/llvm18/include/llvm/Support/JSON.h:902:17: note: in instantiation of function template specialization 'llvm::formatv' requested here 902 | OS << llvm::formatv("[{0}:{1}, byte={2}]: {3}", Line, Column, Offset, Msg); | ^ In file included from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: In file included from /usr/lib/llvm18/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:20: In file included from /usr/lib/llvm18/include/llvm/Support/VirtualFileSystem.h:21: In file included from /usr/lib/llvm18/include/llvm/Support/Chrono.h:13: In file included from /usr/lib/llvm18/include/llvm/Support/FormatProviders.h:20: /usr/lib/llvm18/include/llvm/Support/FormatVariadicDetails.h:27:11: warning: definition of implicit copy constructor for 'format_adapter' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] 27 | virtual ~format_adapter() = default; | ^ /usr/lib/llvm18/include/llvm/Support/FormatVariadicDetails.h:33:29: note: in implicit copy constructor for 'llvm::detail::format_adapter' first required here 33 | template class provider_format_adapter : public format_adapter { | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:209:4: note: in implicit move constructor for 'llvm::detail::provider_format_adapter' first required here 209 | : _M_head_impl(std::forward<_UHead>(__h)) { } | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:573:4: note: in instantiation of function template specialization 'std::_Head_base<3, llvm::detail::provider_format_adapter>::_Head_base>' requested here 573 | : _Base(std::forward<_UHead>(__head)) | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:316:4: note: in instantiation of function template specialization 'std::_Tuple_impl<3, llvm::detail::provider_format_adapter>::_Tuple_impl>' requested here 316 | : _Inherited(std::forward<_UTail>(__tail)...), | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:316:4: note: in instantiation of function template specialization 'std::_Tuple_impl<2, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::_Tuple_impl, llvm::detail::provider_format_adapter, void>' requested here /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:316:4: note: in instantiation of function template specialization 'std::_Tuple_impl<1, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::_Tuple_impl, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, void>' requested here /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:1489:4: note: in instantiation of function template specialization 'std::_Tuple_impl<0, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::_Tuple_impl, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, void>' requested here 1489 | : _Inherited(std::forward<_UElements>(__elements)...) | ^ /usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/../../../../include/c++/14.2.0/tuple:2642:14: note: in instantiation of function template specialization 'std::tuple, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>::tuple, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, true, true>' requested here 2642 | return __result_type(std::forward<_Elements>(__args)...); | ^ /usr/lib/llvm18/include/llvm/Support/FormatVariadic.h:257:12: note: in instantiation of function template specialization 'std::make_tuple, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter, llvm::detail::provider_format_adapter>' requested here 257 | std::make_tuple(detail::build_format_adapter(std::forward(Vals))...)); | ^ /usr/lib/llvm18/include/llvm/Support/JSON.h:902:17: note: in instantiation of function template specialization 'llvm::formatv' requested here 902 | OS << llvm::formatv("[{0}:{1}, byte={2}]: {3}", Line, Column, Offset, Msg); | ^ 2 warnings generated. 2 warnings generated. /usr/lib/llvm18/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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated -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 AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz 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.30c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Building 64-bit variant of the runtime (-m64)... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. failed (that's fine) g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/plugin"/include -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/plugin" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/plugin"/include -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/plugin" -shared instrumentation/afl-gcc-cmplog-pass.so.cc -o afl-gcc-cmplog-pass.so g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/plugin"/include -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/14.2.0/plugin" -shared instrumentation/afl-gcc-cmptrs-pass.so.cc -o afl-gcc-cmptrs-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 AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc ./afl-gcc-fast -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -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.30c/utils/aflpp_driver' Build Summary: [+] afl-fuzz and supporting tools successfully built [+] LLVM basic mode successfully built [+] LLVM mode successfully built [+] LLVM LTO mode successfully built [+] gcc_mode successfully built [*] Compiling AFL++ for OS Linux on ARCH armv8l [+] ZLIB detected [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.12.8 support seems to be working. [+] Everything seems to be working, ready to compile. (gcc (Alpine 14.2.0) 14.2.0) make -j -f GNUmakefile.llvm make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 16+, enabling c++17 [+] llvm_mode detected llvm 12+, enabling afl-lto LTO implementation GNUmakefile.llvm:244: ld.lld found in a weird location (/usr/bin/ld.lld), but its the same version as LLVM so we will allow it [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/lib/llvm18/bin/clang'... [*] Checking for matching versions of '/usr/lib/llvm18/bin/clang' and 'llvm-config' [*] We have llvm-config version 18.1.8 with a clang version 18.1.8, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Building 64-bit variant of the runtime (-m64)... failed (that's fine) [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz 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.30c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Building 64-bit variant of the runtime (-m64)... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. failed (that's fine) [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc ./afl-gcc-fast -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -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.30c/utils/libdislocator' make -C utils/libtokencap make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c/utils/libtokencap' gcc -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I ../../include/ -Wall -g -Wno-pointer-sign -shared -fPIC libtokencap.so.c -o libtokencap.so -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz "-ldl" libtokencap.so.c: In function '__tokencap_dump': libtokencap.so.c:349:18: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 349 | 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.30c/utils/libtokencap' # -make -C utils/plot_ui Build Summary: [+] afl-fuzz and supporting tools successfully built [+] LLVM basic mode successfully built [+] LLVM mode successfully built [+] LLVM LTO mode successfully built [+] gcc_mode successfully built [*] starting AFL++ test framework ... [*] Testing: afl-clang-fast, afl-showmap, afl-fuzz, afl-cmin and afl-tmin [+] afl-clang-fast compilation succeeded [+] afl-clang-fast instrumentation present and working correctly [+] afl-clang-fast run reported 5 instrumented locations which is fine [+] afl-clang-fast hardened mode succeeded and is working [*] running afl-fuzz for afl-clang-fast, this will take approx 10 seconds [+] afl-fuzz is working correctly with afl-clang-fast [+] afl-cmin correctly minimized the number of testcases [+] afl-cmin.bash correctly minimized the number of testcases [+] afl-tmin correctly minimized the testcase [*] 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 5 instrumented locations which is fine [+] llvm_mode threadsafe compilation succeeded [+] llvm_mode threadsafe instrumentation present and working correctly [+] llvm_mode run reported 5 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 7 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 4 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 6 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: nyx_mode [-] nyx_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]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' [*] Compiling AFL++ for OS Linux on ARCH armv8l [+] ZLIB detected ./test/unittests/unit_preallocable [==========] tests: Running 2 test(s). [ RUN ] test_alloc_free [ OK ] test_alloc_free [ RUN ] test_prealloc_overflow [ OK ] test_prealloc_overflow [==========] tests: 2 test(s) run. [ PASSED ] 2 test(s). ./test/unittests/unit_list ./test/unittests/unit_hash [==========] tests: Running 3 test(s). [ RUN ] test_contains [ OK ] test_contains [ RUN ] test_foreach [ OK ] test_foreach [ RUN ] test_long_list [ OK ] test_long_list [==========] tests: 3 test(s) run. [ PASSED ] 3 test(s). [==========] tests: Running 1 test(s). [ RUN ] test_hash [ OK ] test_hash [==========] tests: 1 test(s) run. [ PASSED ] 1 test(s). ./test/unittests/unit_maybe_alloc [==========] tests: 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 [==========] tests: 6 test(s) run. [ PASSED ] 6 test(s). ./test/unittests/unit_rand [==========] tests: Running 2 test(s). [ RUN ] test_rand_0 [ OK ] test_rand_0 [ RUN ] test_rand_below [ OK ] test_rand_below [==========] tests: 2 test(s) run. [ PASSED ] 2 test(s). make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' [*] 12 test cases completed. [-] not all test cases were executed [+] all tests were successful :-) >>> afl++: Entering fakeroot... [*] Compiling AFL++ for OS Linux on ARCH armv8l [+] ZLIB detected [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.12.8 support seems to be working. [+] Everything seems to be working, ready to compile. (gcc (Alpine 14.2.0) 14.2.0) make -j -f GNUmakefile.llvm make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 16+, enabling c++17 [+] llvm_mode detected llvm 12+, enabling afl-lto LTO implementation GNUmakefile.llvm:257: clang option -flto is not working - maybe LLVMgold.so not found - cannot enable LTO mode [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/lib/llvm18/bin/clang'... [*] Checking for matching versions of '/usr/lib/llvm18/bin/clang' and 'llvm-config' [*] We have llvm-config version 18.1.8 with a clang version 18.1.8, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Building 64-bit variant of the runtime (-m64)... failed (that's fine) [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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/lib/llvm18/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib/llvm18/lib\" -DLLVM_VERSION=\"18.1.8\" -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/lib/llvm18/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm18/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz 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.30c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.30c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Building 64-bit variant of the runtime (-m64)... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... failed (that's fine) [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc ./afl-gcc-fast -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lz -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr >> afl++-doc*: Running split function doc... renamed 'usr/share/doc' -> '/home/buildozer/aports/community/afl++/pkg/afl++-doc/usr/share/doc' renamed 'usr/share/man' -> '/home/buildozer/aports/community/afl++/pkg/afl++-doc/usr/share/man' >>> afl++-doc*: Preparing subpackage afl++-doc... >>> afl++-doc*: Running postcheck for afl++-doc >>> afl++-tools*: Running split function tools... renamed 'usr/bin/afl-cmin' -> '/home/buildozer/aports/community/afl++/pkg/afl++-tools/usr/bin/afl-cmin' renamed 'usr/bin/afl-plot' -> '/home/buildozer/aports/community/afl++/pkg/afl++-tools/usr/bin/afl-plot' renamed 'usr/bin/afl-showmap' -> '/home/buildozer/aports/community/afl++/pkg/afl++-tools/usr/bin/afl-showmap' renamed 'usr/bin/afl-tmin' -> '/home/buildozer/aports/community/afl++/pkg/afl++-tools/usr/bin/afl-tmin' >>> afl++-tools*: Preparing subpackage afl++-tools... >>> afl++-tools*: Stripping binaries >>> afl++-tools*: Running postcheck for afl++-tools >>> afl++*: Running postcheck for afl++ >>> afl++*: Preparing package afl++... >>> afl++*: Stripping binaries >>> afl++-doc*: Scanning shared objects >>> afl++-tools*: Scanning shared objects >>> afl++*: Scanning shared objects >>> afl++-doc*: Tracing dependencies... >>> afl++-doc*: Package size: 388.2 KB >>> afl++-doc*: Compressing data... >>> afl++-doc*: Create checksum... >>> afl++-doc*: Create afl++-doc-4.30c-r0.apk >>> afl++-tools*: Tracing dependencies... afl++ coreutils grep so:libc.musl-armhf.so.1 so:libpython3.12.so.1.0 >>> afl++-tools*: Package size: 232.3 KB >>> afl++-tools*: Compressing data... >>> afl++-tools*: Create checksum... >>> afl++-tools*: Create afl++-tools-4.30c-r0.apk >>> afl++*: Tracing dependencies... clang18 compiler-rt lld18 llvm18 python3 so:libc.musl-armhf.so.1 so:libgcc_s.so.1 so:libpython3.12.so.1.0 so:libstdc++.so.6 so:libz.so.1 >>> afl++*: Package size: 2.5 MB >>> afl++*: Compressing data... >>> afl++*: Create checksum... >>> afl++*: Create afl++-4.30c-r0.apk >>> afl++: Build complete at Thu, 19 Dec 2024 04:40:33 +0000 elapsed time 0h 2m 32s >>> afl++: Cleaning up srcdir >>> afl++: Cleaning up pkgdir >>> afl++: Uninstalling dependencies... (1/47) Purging .makedepends-afl++ (20241219.043802) (2/47) Purging compiler-rt (19.1.4-r0) (3/47) Purging lld18 (18.1.8-r0) (4/47) Purging bash (5.2.37-r0) Executing bash-5.2.37-r0.pre-deinstall (5/47) Purging clang18-dev (18.1.8-r2) (6/47) Purging clang18 (18.1.8-r2) (7/47) Purging clang18-libclang (18.1.8-r2) (8/47) Purging clang18-headers (18.1.8-r2) (9/47) Purging clang18-libs (18.1.8-r2) (10/47) Purging coreutils (9.5-r1) Executing coreutils-9.5-r1.post-deinstall (11/47) Purging coreutils-env (9.5-r1) (12/47) Purging coreutils-fmt (9.5-r1) (13/47) Purging coreutils-sha512sum (9.5-r1) (14/47) Purging gmp-dev (6.3.0-r2) (15/47) Purging libgmpxx (6.3.0-r2) (16/47) Purging grep (3.11-r0) (17/47) Purging llvm18-dev (18.1.8-r1) (18/47) Purging llvm18 (18.1.8-r1) (19/47) Purging llvm18-linker-tools (18.1.8-r1) (20/47) Purging libffi-dev (3.4.6-r0) (21/47) Purging linux-headers (6.6-r1) (22/47) Purging zlib-dev (1.3.1-r2) (23/47) Purging zstd-dev (1.5.6-r1) (24/47) Purging zstd (1.5.6-r1) (25/47) Purging llvm18-test-utils-pyc (18.1.8-r1) (26/47) Purging llvm18-test-utils (18.1.8-r1) (27/47) Purging python3-dev (3.12.8-r1) (28/47) Purging python3-pyc (3.12.8-r1) (29/47) Purging python3-pycache-pyc0 (3.12.8-r1) (30/47) Purging pyc (3.12.8-r1) (31/47) Purging python3 (3.12.8-r1) (32/47) Purging cmocka-dev (1.1.7-r2) (33/47) Purging cmocka (1.1.7-r2) (34/47) Purging gdbm (1.24-r0) (35/47) Purging libattr (2.5.2-r2) (36/47) Purging libbz2 (1.0.8-r6) (37/47) Purging libpanelw (6.5_p20241006-r3) (38/47) Purging lld18-libs (18.1.8-r0) (39/47) Purging llvm18-libs (18.1.8-r1) (40/47) Purging mpdecimal (4.0.0-r0) (41/47) Purging scudo-malloc (19.1.4-r0) (42/47) Purging sqlite-libs (3.47.2-r0) (43/47) Purging utmps-libs (0.1.2.3-r2) (44/47) Purging libffi (3.4.6-r0) (45/47) Purging libxml2 (2.13.4-r3) (46/47) Purging skalibs-libs (2.14.3.0-r0) (47/47) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r10.trigger OK: 322 MiB in 102 packages >>> afl++: Updating the community/armhf repository index... >>> afl++: Signing the index...