==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_3108a635-e6da-4973-9dcf-e4742b09a0c3]...done ==> Making package: afl++ 4.30c-1.1 (Sun Jan 12 18:07:36 2025) ==> Retrieving sources... -> Downloading afl++-4.30c.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2960k 0 2960k 0 0 3876k 0 --:--:-- --:--:-- --:--:-- 3876k -> Found 0001-fix-gcc-plugin-test.patch -> Found 0002-unbreak-mutators-with-python-3.13.patch ==> Validating source files with sha256sums... afl++-4.30c.tar.gz ... Passed 0001-fix-gcc-plugin-test.patch ... Passed 0002-unbreak-mutators-with-python-3.13.patch ... Passed ==> Validating source files with b2sums... afl++-4.30c.tar.gz ... Passed 0001-fix-gcc-plugin-test.patch ... Passed 0002-unbreak-mutators-with-python-3.13.patch ... Passed ==> Making package: afl++ 4.30c-1.1 (Sun Jan 12 17:07:39 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size core/libedit 20240808_3.1-1 0.26 MiB extra/llvm-libs 19.1.6-3 134.51 MiB 35.07 MiB core/mpdecimal 4.0.0-2 0.32 MiB extra/clang 19.1.6-1 197.74 MiB 43.02 MiB extra/compiler-rt 19.1.6-1 43.92 MiB 3.54 MiB extra/lld 19.1.6-1 6.18 MiB 1.83 MiB extra/llvm 19.1.6-3 112.08 MiB 20.53 MiB core/python 3.13.1-1 67.54 MiB Total Download Size: 103.98 MiB Total Installed Size: 562.56 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... clang-19.1.6-1-x86_64 downloading... llvm-libs-19.1.6-3-x86_64 downloading... llvm-19.1.6-3-x86_64 downloading... compiler-rt-19.1.6-1-x86_64 downloading... lld-19.1.6-1-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format [pending] llvm: referenced by some clang headers [pending] installing lld... installing llvm... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (12) New Version Net Change Download Size extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.22-1 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/python-markupsafe 2.1.5-3 0.08 MiB extra/python-pyelftools 0.31-3 2.04 MiB extra/cmocka 1.1.7-2 0.14 MiB extra/cpio 2.15-2 0.97 MiB extra/git 2.48.0-1 28.48 MiB extra/pax-utils 1.3.8-1 0.22 MiB extra/python-jinja 1:3.1.5-1 1.77 MiB extra/python-msgpack 1.0.5-3 0.33 MiB extra/rust 1:1.84.0-1 272.32 MiB 64.97 MiB Total Download Size: 64.97 MiB Total Installed Size: 306.56 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rust-1:1.84.0-1-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing cpio... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python-pyelftools... installing pax-utils... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-msgpack... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script installing cmocka... :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Arming ConditionNeedsUpdate... (4/5) Warn about old perl modules (5/5) Updating the info directory file... ==> Retrieving sources... -> Found afl++-4.30c.tar.gz -> Found 0001-fix-gcc-plugin-test.patch -> Found 0002-unbreak-mutators-with-python-3.13.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting afl++-4.30c.tar.gz with bsdtar ==> Starting prepare()... patching file test/test-gcc-plugin.sh patching file src/afl-fuzz-python.c ==> Starting build()... [*] Compiling AFL++ for OS Linux on ARCH x86_64 [+] ZLIB detected [*] Checking for the default compiler cc... [*] Testing the PATH environment variable... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [+] Python 3.13.1 support seems to be working. [+] Everything seems to be working, ready to compile. (cc (GCC) 14.2.1 20240910) cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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 cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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 cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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 cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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 cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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.13 -I/usr/include/python3.13 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz -lpython3.13 -ldl -lm -L/usr/lib -lpython3.13 -ldl -lm -DPYTHON_VERSION="\"Python 3.13.1\"" -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz -lm cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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.13 -I/usr/include/python3.13 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz -lpython3.13 -ldl -lm -L/usr/lib -lpython3.13 -ldl -lm -DPYTHON_VERSION="\"Python 3.13.1\"" -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz make -j -f GNUmakefile.llvm make[1]: Entering directory '/startdir/src/AFLplusplus-4.30c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. GNUmakefile.llvm:85: you are using an in-development llvm version - this might break llvm_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/bin/clang -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated -c src/afl-common.c -o instrumentation/afl-common.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz [*] Checking for working '/usr/bin/clang'... [*] Checking for matching versions of '/usr/bin/clang' and 'llvm-config' [*] We have llvm-config version 19.1.6 with a clang version 19.1.6, good. clang: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,--sort-common: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-z,pack-relative-relocs: '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] [*] Checking for './afl-showmap'... [+] All set and ready to build. /usr/bin/clang -I/usr/include -I./../include -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/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 [*] Building 32-bit variant of the runtime (-m32)... [*] Building 64-bit variant of the runtime (-m64)... /usr/bin/clang++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/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/bin/clang -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated src/afl-ld-lto.c -o afl-ld-lto /usr/bin/clang -I/usr/include -I./../include -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz -DCFLAGS_OPT=\"\" -lm success! 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. success! /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -fno-rtti -fPIC -std=c++17 -shared instrumentation/SanitizerCoveragePCGUARD.so.cc -o SanitizerCoveragePCGUARD.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz -Wno-deprecated-copy-dtor -Wdeprecated instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-compares-pass.so.cc -o split-compares-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-switches-pass.so.cc -o split-switches-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-routines-pass.cc -o cmplog-routines-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-instructions-pass.cc -o cmplog-instructions-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-switches-pass.cc -o cmplog-switches-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/afl-llvm-dict2file.so.cc -o afl-llvm-dict2file.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/compare-transform-pass.so.cc -o compare-transform-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -g -I ./include/ -DVERSION=\"++4.30c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/injection-pass.cc -o injection-pass.so $(llvm-config --ldflags) -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz instrumentation/afl-llvm-common.o /usr/bin/clang -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/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 -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated ./test-instr.c -o test-instr -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -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 '/startdir/src/AFLplusplus-4.30c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/startdir/src/AFLplusplus-4.30c' [+] shmat seems to be working. [*] Checking for working 'cc'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/plugin"/include -I"/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/plugin" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/plugin"/include -I"/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/plugin" -shared instrumentation/afl-gcc-cmplog-pass.so.cc -o afl-gcc-cmplog-pass.so g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/plugin"/include -I"/usr/lib/gcc/x86_64-pc-linux-gnu/14.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 AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=cc ./afl-gcc-fast -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/afl++ -flto=auto -falign-functions=32 -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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -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 '/startdir/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 ==> Starting check()... [*] Compiling AFL++ for OS Linux on ARCH x86_64 [+] ZLIB detected [*] Checking for the default compiler cc... [*] Testing the PATH environment variable... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [+] Python 3.13.1 support seems to be working. [+] Everything seems to be working, ready to compile. (cc (GCC) 14.2.1 20240910) make -j -f GNUmakefile.llvm make[1]: Entering directory '/startdir/src/AFLplusplus-4.30c' make[1]: warning: -j0 forced in submake: resetting jobserver mode. GNUmakefile.llvm:85: you are using an in-development llvm version - this might break llvm_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/bin/clang'... [*] Checking for matching versions of '/usr/bin/clang' and 'llvm-config' [*] We have llvm-config version 19.1.6 with a clang version 19.1.6, good. [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO 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/bin\" -DVERSION=\"++4.30c\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"19.1.6\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"/usr/bin/ld.lld\" -DAFL_CLANG_LDPATH=\"1\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/startdir/src/AFLplusplus-4.30c=llvm_mode" -Wno-deprecated ./test-instr.c -o test-instr -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -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 '/startdir/src/AFLplusplus-4.30c' make -f GNUmakefile.gcc_plugin make[1]: Entering directory '/startdir/src/AFLplusplus-4.30c' [+] shmat seems to be working. [*] Checking for working 'cc'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=cc ./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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -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 '/startdir/src/AFLplusplus-4.30c/utils/libdislocator' make -C utils/libtokencap make[1]: Entering directory '/startdir/src/AFLplusplus-4.30c/utils/libtokencap' 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\" -I ../../include/ -Wall -g -Wno-pointer-sign -shared -fPIC libtokencap.so.c -o libtokencap.so -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -ldl -lrt -lm -lz "-ldl" cp -f libtokencap.so ../../ make[1]: Leaving directory '/startdir/src/AFLplusplus-4.30c/utils/libtokencap' # -make -C utils/plot_ui cd nyx_mode && ./build_nyx_support.sh ================================================= Nyx build script ================================================= [*] Performing basic sanity checks... [*] Making sure all Nyx is checked out [*] initializing QEMU-Nyx submodule [*] initializing packer submodule [*] initializing libnyx submodule [-] packer not checked out, please install git or check your internet connection. make: [GNUmakefile:755: source-only] Error 1 (ignored) 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 [-] nyx_mode could not be built, it is optional, see nyx_mode/README.md for what is needed [*] 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 [*] 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 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 CUT------------------------------------------------------------------CUT [+] Enabled environment variable AFL_SKIP_CPUFREQ with value 1 [+] Enabled environment variable AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES with value 1 [+] Enabled environment variable AFL_EXIT_ON_TIME with value 60 [+] Enabled environment variable AFL_TRY_AFFINITY with value 1 [+] Enabled environment variable AFL_PATH with value /startdir/src/AFLplusplus-4.30c/test/.. [+] Enabled environment variable AFL_EXIT_WHEN_DONE with value 1 afl-fuzz++4.30c based on afl by Michal Zalewski and a large online community [+] AFL++ is maintained by Marc "van Hauser" Heuse, Dominik Maier, Andrea Fioraldi and Heiko "hexcoder" Eißfeldt [+] AFL++ is open source, get it at https://github.com/AFLplusplus/AFLplusplus [+] NOTE: AFL++ >= v3 has changed defaults and behaviours - see README.md [+] Enabled environment variable ASAN_OPTIONS with value detect_leaks=0:allocator_may_return_null=1:abort_on_error=1:symbolize=0 [+] No -M/-S set, autoconfiguring for "-S default" [*] Getting to work... [+] Using exploration-based constant power schedule (EXPLORE) [+] Enabled testcache with 50 MB [+] Generating fuzz data with a length of min=1 max=1048576 [*] Checking core_pattern... [-] Your system is configured to send core dump notifications to an external utility. This will cause issues: there will be an extended delay between stumbling upon a crash and having this information relayed to the fuzzer via the standard waitpid() API. If you're just experimenting, set 'AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1'. To avoid having crashes misinterpreted as timeouts, please temporarily modify /proc/sys/kernel/core_pattern, like so: echo core | sudo tee /proc/sys/kernel/core_pattern [+] Looks like we're not running on a tty, so I'll be a bit less verbose. [+] You have 12 CPU cores and 58 runnable tasks (utilization: 483%). [!] WARNING: System under apparent load, performance may be spotty. [*] Setting up output directories... [-] Looks like the job output directory is being actively used by another instance of afl-fuzz. You will need to choose a different fuzzer ID or stop the other process first. [?25h [-] PROGRAM ABORT : Directory 'out/default' is in use Location : handle_existing_out_dir(), src/afl-fuzz-init.c:1862 CUT------------------------------------------------------------------CUT [!] afl-fuzz is not 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 '/startdir/src/AFLplusplus-4.30c' [*] Compiling AFL++ for OS Linux on ARCH x86_64 [+] ZLIB detected ./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_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_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_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_hash [==========] tests: Running 1 test(s). [ RUN ] test_hash [ OK ] test_hash [==========] tests: 1 test(s) run. [ PASSED ] 1 test(s). make[1]: Leaving directory '/startdir/src/AFLplusplus-4.30c' [*] 12 test cases completed. [-] not all test cases were executed [!] failure in tests :-( make: *** [GNUmakefile:364: tests] Error 1 ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_3108a635-e6da-4973-9dcf-e4742b09a0c3/build