>>> afl++: Building community/afl++ 4.05c-r1 (using abuild 3.10.0-r3) started Wed, 12 Apr 2023 10:50:38 +0000 >>> afl++: Checking sanity of /home/buildozer/aports/community/afl++/APKBUILD... >>> afl++: Analyzing dependencies... >>> afl++: Installing for build: build-base clang15 lld llvm15 python3 clang15-dev gmp-dev grep llvm15-dev python3-dev bash cmocka-dev (1/35) Installing libffi (3.4.4-r2) (2/35) Installing xz-libs (5.4.2-r1) (3/35) Installing libxml2 (2.10.4-r1) (4/35) Installing llvm15-libs (15.0.7-r5) (5/35) Installing clang15-libs (15.0.7-r14) (6/35) Installing clang15-libclang (15.0.7-r14) (7/35) Installing clang15 (15.0.7-r14) (8/35) Installing scudo-malloc (16.0.1-r1) (9/35) Installing llvm16-libs (16.0.1-r1) (10/35) Installing lld-libs (16.0.1-r1) (11/35) Installing lld (16.0.1-r1) (12/35) Installing llvm15 (15.0.7-r5) (13/35) Installing libbz2 (1.0.8-r5) (14/35) Installing gdbm (1.23-r1) (15/35) Installing mpdecimal (2.5.1-r2) (16/35) Installing libpanelw (6.4_p20230401-r3) (17/35) Installing readline (8.2.1-r1) (18/35) Installing sqlite-libs (3.41.2-r2) (19/35) Installing python3 (3.11.3-r1) (20/35) Installing clang15-dev (15.0.7-r14) (21/35) Installing libgmpxx (6.2.1-r3) (22/35) Installing gmp-dev (6.2.1-r3) (23/35) Installing grep (3.10-r1) (24/35) Installing linux-headers (6.2-r0) (25/35) Installing libffi-dev (3.4.4-r2) (26/35) Installing zlib-dev (1.2.13-r1) (27/35) Installing zstd (1.5.5-r1) (28/35) Installing zstd-dev (1.5.5-r1) (29/35) Installing llvm15-test-utils (15.0.7-r5) (30/35) Installing llvm15-dev (15.0.7-r5) (31/35) Installing python3-dev (3.11.3-r1) (32/35) Installing bash (5.2.15-r3) Executing bash-5.2.15-r3.post-install (33/35) Installing cmocka (1.1.7-r2) (34/35) Installing cmocka-dev (1.1.7-r2) (35/35) Installing .makedepends-afl++ (20230412.105039) Executing busybox-1.36.0-r7.trigger OK: 975 MiB in 134 packages >>> afl++: Cleaning up srcdir >>> afl++: Cleaning up pkgdir >>> afl++: Fetching https://distfiles.alpinelinux.org/distfiles/edge/afl++-4.05c.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 39 2773k 39 1103k 0 0 2706k 0 0:00:01 --:--:-- 0:00:01 2705k 100 2773k 100 2773k 0 0 3311k 0 --:--:-- --:--:-- --:--:-- 3309k >>> afl++: Fetching https://distfiles.alpinelinux.org/distfiles/edge/afl++-4.05c.tar.gz >>> afl++: Checking sha512sums... afl++-4.05c.tar.gz: OK 0001-fix-missing-max-path-define.patch: OK 0003-fix-wrong-format-specifier.patch: OK 0004-busybox-stat.patch: OK >>> afl++: Unpacking /var/cache/distfiles/edge/afl++-4.05c.tar.gz... >>> afl++: 0001-fix-missing-max-path-define.patch patching file src/afl-ld-lto.c >>> afl++: 0003-fix-wrong-format-specifier.patch patching file instrumentation/SanitizerCoverageLTO.so.cc Hunk #1 succeeded at 1063 (offset -17 lines). >>> afl++: 0004-busybox-stat.patch patching file afl-cmin Hunk #1 succeeded at 373 (offset 26 lines). [*] Compiling afl++ for OS Linux on ARCH armv8l [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.11.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 -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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 -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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 -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -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 -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=1 -Iinclude -c src/afl-performance.c -o src/afl-performance.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition gcc -Os -fomit-frame-pointer -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 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.11 -I/usr/include/python3.11 -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -lpython3.11 -ldl -lm -L/usr/lib -lpython3.11 -ldl -lm -DPYTHON_VERSION="\"Python 3.11.3\"" -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -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:126:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 126 | if (unlikely(new_size < afl->min_length && !fix)) { | ^ include/types.h:191:46: note: in definition of macro 'unlikely' 191 | #define unlikely(_x) __builtin_expect(!!(_x), 0) | ^~ src/afl-fuzz-run.c:130:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 130 | } else if (unlikely(new_size > afl->max_length)) { | ^ include/types.h:191:46: note: in definition of macro 'unlikely' 191 | #define unlikely(_x) __builtin_expect(!!(_x), 0) | ^~ lto-wrapper: warning: using serial compilation of 5 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information gcc -Os -fomit-frame-pointer -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 src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm gcc -Os -fomit-frame-pointer -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 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 gcc -Os -fomit-frame-pointer -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 src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm gcc -Os -fomit-frame-pointer -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 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 gcc -Os -fomit-frame-pointer -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\" src/afl-as.c -o afl-as -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm make -j -f GNUmakefile.llvm make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. GNUmakefile.llvm:60: [!] llvm_mode needs llvm-config, which was not found. Set LLVM_CONFIG to its path and retry. [!] llvm_mode detected an old version of llvm, upgrade to at least 9 or preferable 11! [+] llvm_mode detected llvm < 11, afl-lto LTO will not be build. GNUmakefile.llvm:119: we have trouble finding clang - llvm-config is not helping us GNUmakefile.llvm:134: we have trouble finding clang++ - llvm-config is not helping us make[1]: llvm-config: No such file or directory [+] shmat seems to be working. cc -Os -fomit-frame-pointer -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=\"\" -DVERSION=\"++4.05c\" -DLLVM_LIBDIR=\"\" -DLLVM_VERSION=\"\" -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/clang\" -DCLANGPP_BIN=\"/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -Os -fomit-frame-pointer -c src/afl-common.c -o instrumentation/afl-common.o -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm make[1]: llvm-config: No such file or directory cc -I -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=\"\" -DVERSION=\"++4.05c\" -DLLVM_LIBDIR=\"\" -DLLVM_VERSION=\"\" -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/clang\" -DCLANGPP_BIN=\"/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -Os -fomit-frame-pointer -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o make[1]: llvm-config: No such file or directory [*] Building 32-bit variant of the runtime (-m32)... failed (that's fine) make[1]: llvm-config: No such file or directory [*] Building 64-bit variant of the runtime (-m64)... failed (that's fine) instrumentation/afl-compiler-rt.o.c: In function '__afl_map_shm': instrumentation/afl-compiler-rt.o.c:434:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 434 | munmap((void *)__afl_map_addr, __afl_final_loc); | ^ instrumentation/afl-compiler-rt.o.c:508:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 508 | __afl_area_ptr = (u8 *)shmat(shm_id, (void *)__afl_map_addr, 0); | ^ instrumentation/afl-compiler-rt.o.c:536:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 536 | (void *)__afl_map_addr, __afl_map_size, PROT_READ | PROT_WRITE, | ^ instrumentation/afl-compiler-rt.o.c:542:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 542 | (void *)__afl_map_addr); | ^ instrumentation/afl-compiler-rt.o.c: In function '__afl_unmap_shm': instrumentation/afl-compiler-rt.o.c:706:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 706 | munmap((void *)__afl_map_addr, __afl_map_size); | ^ instrumentation/afl-compiler-rt.o.c: At top level: instrumentation/afl-compiler-rt.o.c:1366:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1366 | __attribute__((constructor(EARLY_FS_PRIO))) void __early_forkserver(void) { | ^~~~~~~~~~~~~ instrumentation/afl-compiler-rt.o.c:1374:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1374 | __attribute__((constructor(CTOR_PRIO))) void __afl_auto_early(void) { | ^~~~~~~~~~~~~ instrumentation/afl-compiler-rt.o.c:1386:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1386 | __attribute__((constructor(1))) void __afl_auto_second(void) { | ^~~~~~~~~~~~~ instrumentation/afl-compiler-rt.o.c: In function '__afl_auto_second': instrumentation/afl-compiler-rt.o.c:1409:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1409 | ptr = (u8 *)mmap((void *)__afl_map_addr, __afl_first_final_loc, | ^ instrumentation/afl-compiler-rt.o.c: At top level: instrumentation/afl-compiler-rt.o.c:1430:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1430 | __attribute__((constructor(0))) void __afl_auto_first(void) { | ^~~~~~~~~~~~~ make[1]: llvm-config: No such file or directory cc -I -I./../include -Os -fomit-frame-pointer -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=\"\" -DVERSION=\"++4.05c\" -DLLVM_LIBDIR=\"\" -DLLVM_VERSION=\"\" -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/clang\" -DCLANGPP_BIN=\"/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -Os -fomit-frame-pointer src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR= -DLLVM_MAJOR= -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -DCFLAGS_OPT=\"\" -lm make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Building 32-bit variant of the runtime (-m32)... [*] 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) failed (that's fine) g++ -Os -fomit-frame-pointer -Wall -std=c++11 -fPIC -fno-rtti -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/12.2.1/plugin"/include -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/12.2.1/plugin" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so g++ -Os -fomit-frame-pointer -Wall -std=c++11 -fPIC -fno-rtti -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/12.2.1/plugin"/include -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/12.2.1/plugin" -shared instrumentation/afl-gcc-cmplog-pass.so.cc -o afl-gcc-cmplog-pass.so g++ -Os -fomit-frame-pointer -Wall -std=c++11 -fPIC -fno-rtti -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/12.2.1/plugin"/include -I"/usr/lib/gcc/armv6-alpine-linux-musleabihf/12.2.1/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; 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 -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 -Os -fomit-frame-pointer ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -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.05c/utils/libdislocator' make -C utils/libtokencap make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c/utils/libtokencap' gcc -Os -fomit-frame-pointer -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 -Os -fomit-frame-pointer -shared -fPIC libtokencap.so.c -o libtokencap.so -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm "-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.05c/utils/libtokencap' # -make -C utils/plot_ui Build Summary: [+] afl-fuzz and supporting tools successfully built [-] LLVM mode could not be build, please install at least llvm-11 and clang-11 or newer, see docs/INSTALL.md [-] LLVM mode could not be build, please install at least llvm-11 and clang-11 or newer, see docs/INSTALL.md [-] LLVM LTO mode could not be build, it is optional, if you want it, please install LLVM 11-14. More information at instrumentation/README.lto.md on how to build it test -e afl-gcc-pass.so && echo "[+] gcc_mode successfully built" || echo "[-] gcc_mode could not be built, it is optional, install gcc-VERSION-plugin-dev to enable this" [+] gcc_mode successfully built [*] 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 not compiled, cannot test [*] Testing: LTO llvm_mode [-] LTO llvm_mode not compiled, cannot test [*] 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]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' [*] Compiling afl++ for OS Linux on ARCH armv8l ./test/unittests/unit_hash [==========] tests: Running 1 test(s). [ RUN ] test_hash [ OK ] test_hash [==========] tests: 1 test(s) run. [ PASSED ] 1 test(s). ./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 [==========] 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). ./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). ./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). make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' [*] 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.11.3 support seems to be working. [+] Everything seems to be working, ready to compile. make -j -f GNUmakefile.llvm make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. GNUmakefile.llvm:60: [!] llvm_mode needs llvm-config, which was not found. Set LLVM_CONFIG to its path and retry. [!] llvm_mode detected an old version of llvm, upgrade to at least 9 or preferable 11! [+] llvm_mode detected llvm < 11, afl-lto LTO will not be build. GNUmakefile.llvm:119: we have trouble finding clang - llvm-config is not helping us GNUmakefile.llvm:134: we have trouble finding clang++ - llvm-config is not helping us make[1]: llvm-config: No such file or directory [+] shmat seems to be working. make[1]: llvm-config: No such file or directory [*] Building 32-bit variant of the runtime (-m32)... failed (that's fine) make[1]: llvm-config: No such file or directory [*] Building 64-bit variant of the runtime (-m64)... failed (that's fine) make[1]: Leaving directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/home/buildozer/aports/community/afl++/src/AFLplusplus-4.05c' [+] shmat seems to be working. [*] Checking for working 'gcc'... [*] Building 32-bit variant of the runtime (-m32)... [*] 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) failed (that's fine) [*] 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 -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 -Os -fomit-frame-pointer ./test-instr.c -o test-instr -Wl,--as-needed,-O1,--sort-common -ldl -lrt -lm -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.05c-r1.apk >>> afl++*: Tracing dependencies... clang15 lld llvm15 python3 so:libc.musl-armhf.so.1 so:libgcc_s.so.1 so:libpython3.11.so.1.0 so:libstdc++.so.6 >>> afl++*: Package size: 1.4 MB >>> afl++*: Compressing data... >>> afl++*: Create checksum... >>> afl++*: Create afl++-4.05c-r1.apk >>> afl++: Build complete at Wed, 12 Apr 2023 10:51:57 +0000 elapsed time 0h 1m 19s >>> afl++: Cleaning up srcdir >>> afl++: Cleaning up pkgdir >>> afl++: Uninstalling dependencies... (1/35) Purging .makedepends-afl++ (20230412.105039) (2/35) Purging lld (16.0.1-r1) (3/35) Purging scudo-malloc (16.0.1-r1) (4/35) Purging clang15-dev (15.0.7-r14) (5/35) Purging clang15 (15.0.7-r14) (6/35) Purging gmp-dev (6.2.1-r3) (7/35) Purging libgmpxx (6.2.1-r3) (8/35) Purging grep (3.10-r1) (9/35) Purging llvm15-dev (15.0.7-r5) (10/35) Purging llvm15 (15.0.7-r5) (11/35) Purging libffi-dev (3.4.4-r2) (12/35) Purging linux-headers (6.2-r0) (13/35) Purging zlib-dev (1.2.13-r1) (14/35) Purging zstd-dev (1.5.5-r1) (15/35) Purging zstd (1.5.5-r1) (16/35) Purging llvm15-test-utils (15.0.7-r5) (17/35) Purging python3-dev (3.11.3-r1) (18/35) Purging python3 (3.11.3-r1) (19/35) Purging bash (5.2.15-r3) Executing bash-5.2.15-r3.pre-deinstall (20/35) Purging cmocka-dev (1.1.7-r2) (21/35) Purging cmocka (1.1.7-r2) (22/35) Purging lld-libs (16.0.1-r1) (23/35) Purging llvm16-libs (16.0.1-r1) (24/35) Purging clang15-libclang (15.0.7-r14) (25/35) Purging clang15-libs (15.0.7-r14) (26/35) Purging llvm15-libs (15.0.7-r5) (27/35) Purging libffi (3.4.4-r2) (28/35) Purging libxml2 (2.10.4-r1) (29/35) Purging xz-libs (5.4.2-r1) (30/35) Purging libbz2 (1.0.8-r5) (31/35) Purging gdbm (1.23-r1) (32/35) Purging mpdecimal (2.5.1-r2) (33/35) Purging libpanelw (6.4_p20230401-r3) (34/35) Purging readline (8.2.1-r1) (35/35) Purging sqlite-libs (3.41.2-r2) Executing busybox-1.36.0-r7.trigger OK: 326 MiB in 99 packages >>> afl++: Updating the community/armhf repository index... >>> afl++: Signing the index...