=> Building security/afl++ Started : Monday, 23 DEC 2019 at 00:50:30 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1191.g9d275-DEVELOPMENT #19: Sun Dec 22 10:53:59 PST 2019 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for afl++-2.59c: DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples GCC=off: Build GCC plugin and afl-gcc-fast PYTHON=on: Python mutators support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/construction/security/afl++ XDG_CONFIG_HOME=/construction/security/afl++ HOME=/construction/security/afl++ TMPDIR="/tmp" PATH=/construction/security/afl++/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/afl++ XDG_CONFIG_HOME=/construction/security/afl++ HOME=/construction/security/afl++ TMPDIR="/tmp" PATH=/construction/security/afl++/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="clang80" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="clang++80" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- STRIP_CMD="/usr/bin/strip" LLVM_CONFIG=llvm-config80 DESTDIR=/construction/security/afl++/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " GCC="@comment " NO_GCC="" LLVM="" NO_LLVM="@comment " PYTHON="" NO_PYTHON="@comment " X86="" PYTHON_INCLUDEDIR=include/python3.7m PYTHON_LIBDIR=lib/python3.7 PYTHON_PLATFORM=dragonfly5 PYTHON_SITELIBDIR=lib/python3.7/site-packages PYTHON_SUFFIX=37 PYTHON_VER=3.7 PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/afl" EXAMPLESDIR="share/examples/afl" DATADIR="share/afl" WWWDIR="www/afl" ETCDIR="etc/afl" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " GCC="@comment " NO_GCC="" LLVM="" NO_LLVM="@comment " PYTHON="" NO_PYTHON="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/afl DOCSDIR=/usr/local/share/doc/afl EXAMPLESDIR=/usr/local/share/examples/afl WWWDIR=/usr/local/www/afl ETCDIR=/usr/local/etc/afl -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.0 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> afl++-2.59c depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0.txz Installing pkg-1.12.0... Extracting pkg-1.12.0: .......... done ===> afl++-2.59c depends on file: /usr/local/sbin/pkg - found ===> Returning to build of afl++-2.59c -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/vanhauser-thc/AFLplusplus/tar.gz/2.59c?dummy=/vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz fetch: https://codeload.github.com/vanhauser-thc/AFLplusplus/tar.gz/2.59c?dummy=/vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz: size unknown fetch: https://codeload.github.com/vanhauser-thc/AFLplusplus/tar.gz/2.59c?dummy=/vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz: size of remote file is not known vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz 1183 kB 1394 kBps 00s ===> Fetching all distfiles required by afl++-2.59c for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by afl++-2.59c for building => SHA256 Checksum OK for vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by afl++-2.59c for building ===> Extracting for afl++-2.59c => SHA256 Checksum OK for vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for afl++-2.59c -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> afl++-2.59c depends on executable: clang80 - not found ===> Installing existing package /packages/All/llvm80-8.0.1_3.txz Installing llvm80-8.0.1_3... `-- Installing libedit-3.1.20190324,1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting libedit-3.1.20190324,1: .......... done `-- Installing libxml2-2.9.10... `-- Extracting libxml2-2.9.10: .......... done `-- Installing perl5-5.30.1... `-- Extracting perl5-5.30.1: .......... done `-- Installing python37-3.7.5_1... | `-- Installing expat-2.2.8... | `-- Extracting expat-2.2.8: .......... done | `-- Installing gettext-runtime-0.20.1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: . done | `-- Extracting gettext-runtime-0.20.1: .......... done | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing openssl-1.0.2u,1... | `-- Extracting openssl-1.0.2u,1: .......... done | `-- Installing readline-8.0.0_1... | `-- Extracting readline-8.0.0_1: .......... done `-- Extracting python37-3.7.5_1: .......... done Extracting llvm80-8.0.1_3: .......... done ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===== Message from openssl-1.0.2u,1: -- Edit /usr/local/openssl/openssl.cnf to fit your needs. ===== Message from python37-3.7.5_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 ===> afl++-2.59c depends on executable: clang80 - found ===> Returning to build of afl++-2.59c ===> afl++-2.59c depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... Extracting gmake-4.2.1_3: .......... done ===> afl++-2.59c depends on executable: gmake - found ===> Returning to build of afl++-2.59c ===> afl++-2.59c depends on file: /usr/local/bin/python3.7 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> afl++-2.59c depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for afl++-2.59c -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for afl++-2.59c gmake[1]: Entering directory '/construction/security/afl++/AFLplusplus-2.59c' [*] Checking for the default compiler cc... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [+] Python 3.7m support seems to be working. [+] Everything seems to be working, ready to compile. clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-gcc.c -o afl-gcc set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -c src/afl-common.c -o src/afl-common.o clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -c src/afl-sharedmem.c -o src/afl-sharedmem.o clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -c src/afl-forkserver.c -o src/afl-forkserver.o clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-fuzz-globals.c src/afl-fuzz-run.c src/afl-fuzz-bitmap.c src/afl-fuzz.c src/afl-fuzz-init.c src/afl-fuzz-stats.c src/afl-fuzz-python.c src/afl-fuzz-one.c src/afl-fuzz-queue.c src/afl-fuzz-extras.c src/afl-fuzz-misc.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-fuzz -DUSE_PYTHON -I-I/usr/local/include/python3.7m -I/usr/local/include/python3.7m -L/usr/local/lib -lpython3.7m -lcrypt -lintl -ldl -L/usr/local/lib -lintl -lutil -lm clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o -o afl-showmap clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-tmin clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-gotcpu.c -o afl-gotcpu clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o -o afl-analyze clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function src/afl-as.c -o afl-as ln -sf afl-as as [+] All done! Be sure to review the README.md - it's pretty short and useful. gmake -C libdislocator CFLAGS="-I../include -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function" gmake[2]: Entering directory '/construction/security/afl++/AFLplusplus-2.59c/libdislocator' clang80 -I../include -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH="/usr/local/lib/afl" -DBIN_PATH="/usr/local/bin" -DDOC_PATH="/usr/local/share/doc/afl" -Wno-unused-function -shared -fPIC libdislocator.so.c -o ../libdislocator.so gmake[2]: Leaving directory '/construction/security/afl++/AFLplusplus-2.59c/libdislocator' gmake -C libtokencap gmake[2]: Entering directory '/construction/security/afl++/AFLplusplus-2.59c/libtokencap' clang80 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -shared -fPIC libtokencap.so.c -o ../libtokencap.so -ldl gmake[2]: Leaving directory '/construction/security/afl++/AFLplusplus-2.59c/libtokencap' gmake -C llvm_mode gmake[2]: Entering directory '/construction/security/afl++/AFLplusplus-2.59c/llvm_mode' [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/local/llvm80/bin/clang'... [*] Checking for matching versions of '/usr/local/llvm80/bin/clang' and 'llvm-config80' [*] We have llvm-config version 8.0.1 with a clang version 8.0.1, good. [*] Checking for '../afl-showmap'... [+] All set and ready to build. /usr/local/llvm80/bin/clang -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I ../include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DLLVM_BINDIR=\"/usr/local/llvm80/bin\" -DVERSION=\"++2.59c\" afl-clang-fast.c -o ../afl-clang-fast ln -sf afl-clang-fast ../afl-clang-fast++ /usr/local/llvm80/bin/clang++ `llvm-config80 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -I ../include/ -DVERSION=\"++2.59c\" -Wno-variadic-macros -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=gnu++11 -shared afl-llvm-pass.so.cc -o ../afl-llvm-pass.so `llvm-config80 --ldflags` /usr/local/llvm80/bin/clang++ `llvm-config80 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -I ../include/ -DVERSION=\"++2.59c\" -Wno-variadic-macros -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=gnu++11 -shared LLVMInsTrim.so.cc MarkNodes.cc -o ../libLLVMInsTrim.so `llvm-config80 --ldflags` /usr/local/llvm80/bin/clang -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I ../include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DLLVM_BINDIR=\"/usr/local/llvm80/bin\" -DVERSION=\"++2.59c\" -fPIC -c afl-llvm-rt.o.c -o ../afl-llvm-rt.o [*] Building 32-bit variant of the runtime (-m32)... success! [*] Building 64-bit variant of the runtime (-m64)... success! /usr/local/llvm80/bin/clang++ `llvm-config80 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -I ../include/ -DVERSION=\"++2.59c\" -Wno-variadic-macros -shared compare-transform-pass.so.cc -o ../compare-transform-pass.so `llvm-config80 --ldflags` /usr/local/llvm80/bin/clang++ `llvm-config80 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -I ../include/ -DVERSION=\"++2.59c\" -Wno-variadic-macros -shared split-compares-pass.so.cc -o ../split-compares-pass.so `llvm-config80 --ldflags` /usr/local/llvm80/bin/clang++ `llvm-config80 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -I ../include/ -DVERSION=\"++2.59c\" -Wno-variadic-macros -shared split-switches-pass.so.cc -o ../split-switches-pass.so `llvm-config80 --ldflags` ln -sf afl-clang-fast.8 ../afl-clang-fast++.8 [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=/usr/local/llvm80/bin/clang AFL_LLVM_LAF_SPLIT_SWITCHES=1 AFL_LLVM_LAF_TRANSFORM_COMPARES=1 AFL_LLVM_LAF_SPLIT_COMPARES=1 ../afl-clang-fast -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I ../include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DLLVM_BINDIR=\"/usr/local/llvm80/bin\" -DVERSION=\"++2.59c\" ../test-instr.c -o test-instr Rewriting 1 switch statements switch: 2 cases 8 bit Split-integer-compare-pass 64bit: 1 splitted Split-integer-compare-pass 32bit: 4 splitted Split-integer-compare-pass 16bit: 12 splitted ../afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ../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-clang-fast' to compile programs. gmake[2]: Leaving directory '/construction/security/afl++/AFLplusplus-2.59c/llvm_mode' gmake[1]: Leaving directory '/construction/security/afl++/AFLplusplus-2.59c' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> afl++-2.59c depends on executable: clang80 - found ===> afl++-2.59c depends on file: /usr/local/bin/python3.7 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for afl++-2.59c ===> Generating temporary packing list gmake[1]: Entering directory '/construction/security/afl++/AFLplusplus-2.59c' [*] Checking for the default compiler cc... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [+] Python 3.7m support seems to be working. [+] Everything seems to be working, ready to compile. [+] All done! Be sure to review the README.md - it's pretty short and useful. date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- I usage: date [-jnRu] [-r seconds] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] mkdir -p -m 755 ${DESTDIR}/usr/local/bin ${DESTDIR}/usr/local/lib/afl ${DESTDIR}/usr/local/share/doc/afl ${DESTDIR}/usr/local/share/afl rm -f ${DESTDIR}/usr/local/bin/afl-plot.sh install -m 755 afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-plot afl-cmin afl-whatsup afl-system-config ${DESTDIR}/usr/local/bin rm -f ${DESTDIR}/usr/local/bin/afl-as if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/usr/local/bin; fi if [ -f afl-gcc-fast ]; then set e; install -m 755 afl-gcc-fast ${DESTDIR}/usr/local/bin; ln -sf afl-gcc-fast ${DESTDIR}/usr/local/bin/afl-g++-fast; install -m 755 afl-gcc-pass.so afl-gcc-rt.o ${DESTDIR}/usr/local/lib/afl; fi if [ -f afl-clang-fast -a -f libLLVMInsTrim.so -a -f afl-llvm-rt.o ]; then set -e; install -m 755 afl-clang-fast ${DESTDIR}/usr/local/bin; ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang-fast++; install -m 755 libLLVMInsTrim.so afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/usr/local/lib/afl; fi if [ -f afl-llvm-rt-32.o ]; then set -e; install -m 755 afl-llvm-rt-32.o ${DESTDIR}/usr/local/lib/afl; fi if [ -f afl-llvm-rt-64.o ]; then set -e; install -m 755 afl-llvm-rt-64.o ${DESTDIR}/usr/local/lib/afl; fi if [ -f compare-transform-pass.so ]; then set -e; install -m 755 compare-transform-pass.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f split-compares-pass.so ]; then set -e; install -m 755 split-compares-pass.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f split-switches-pass.so ]; then set -e; install -m 755 split-switches-pass.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f libdislocator.so ]; then set -e; install -m 755 libdislocator.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f libtokencap.so ]; then set -e; install -m 755 libtokencap.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f libcompcov.so ]; then set -e; install -m 755 libcompcov.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f libradamsa.so ]; then set -e; install -m 755 libradamsa.so ${DESTDIR}/usr/local/lib/afl; fi if [ -f afl-fuzz-document ]; then set -e; install -m 755 afl-fuzz-document ${DESTDIR}/usr/local/bin; fi set -e; ln -sf afl-gcc ${DESTDIR}/usr/local/bin/afl-g++ set -e; if [ -f afl-clang-fast ] ; then ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang ; ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang++ ; else ln -sf afl-gcc ${DESTDIR}/usr/local/bin/afl-clang ; ln -sf afl-gcc ${DESTDIR}/usr/local/bin/afl-clang++; fi mkdir -m 0755 -p /construction/security/afl++/stage/usr/local/man/man8 install -m0644 -D *.8 /construction/security/afl++/stage/usr/local/man/man8 install -m 755 afl-as ${DESTDIR}/usr/local/lib/afl ln -sf afl-as ${DESTDIR}/usr/local/lib/afl/as install -m 644 docs/README.md docs/ChangeLog docs/*.txt ${DESTDIR}/usr/local/share/doc/afl cp -r testcases/ ${DESTDIR}/usr/local/share/afl cp -r dictionaries/ ${DESTDIR}/usr/local/share/afl /usr/libexec/binutils227/elf/strip: '/construction/security/afl++/stage/usr/local/bin/afl-gcc-fast': No such file gmake[1]: [/xports/security/afl++/files/Makefile.extra:6: install-strip] Error 1 (ignored) gmake[1]: Leaving directory '/construction/security/afl++/AFLplusplus-2.59c' install -m 444 /construction/security/afl++/AFLplusplus-2.59c/libdislocator/README.dislocator.md /construction/security/afl++/stage/usr/local/share/doc/afl/libdislocator install -m 444 /construction/security/afl++/AFLplusplus-2.59c/libtokencap/README.tokencap.md /construction/security/afl++/stage/usr/local/share/doc/afl/libtokencap /bin/mkdir -p /construction/security/afl++/stage/usr/local/share/doc/afl/llvm_mode install -m 444 /construction/security/afl++/AFLplusplus-2.59c/llvm_mode/README.* /construction/security/afl++/stage/usr/local/share/doc/afl/llvm_mode ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: '/usr/local/lib/afl/afl-llvm-rt-32.o' is 'ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), with debug_info, not stripped' unknown OS specific binary file. Warning: '/usr/local/lib/afl/afl-llvm-rt-64.o' is 'ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped' unknown OS specific binary file. Warning: '/usr/local/lib/afl/afl-llvm-rt.o' is 'ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped' unknown OS specific binary file. -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for afl++-2.59c file sizes/checksums [120]: .. done packing files [120]: .. done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 23 DEC 2019 at 00:56:06 UTC Duration: 00:05:36