-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Branch: dev
Commit: f519fff
Compilation log:
==> Starting build()...
[*] 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.8.5 support seems to be working.
[+] Everything seems to be working, ready to compile.
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto -c src/afl-common.c -o src/afl-common.o
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto -c src/afl-forkserver.c -o src/afl-forkserver.o
cc -Iinclude -fno-move-loop-invariants -fdisable-tree-cunrolli -O3 -fno-unroll-loops -c src/afl-performance.c -o src/afl-performance.o
cc1: note: disable pass tree-cunrolli for functions in the range of [0, 4294967295]
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-fuzz-bitmap.c src/afl-fuzz.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-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-fuzz -DUSE_PYTHON -I/usr/include/python3.8 -I/usr/include/python3.8 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -DPYTHON_VERSION="\"Python 3.8.5\"" -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-showmap -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-tmin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -flto src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o -o afl-analyze -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 src/afl-as.c -o afl-as -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
make -f GNUmakefile.llvm
make[1]: Entering directory '/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus'
[+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14
[+] llvm_mode detected llvm < 11, afl-lto LTO will not be build.
[+] 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 10.0.1 with a clang version 10.0.1, good.
[*] Checking for './afl-showmap'...
[+] All set and ready to build.
/usr/bin/clang -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++3.00a\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"10.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus=llvm_mode" -D_FORTIFY_SOURCE=2 -c src/afl-common.c -o instrumentation/afl-common.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
clang-10: warning: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now: 'linker' input unused [-Wunused-command-line-argument]
clang-10: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
clang-10: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument]
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
/usr/bin/clang -I/usr/include -I./../include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++3.00a\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"10.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus=llvm_mode" -D_FORTIFY_SOURCE=2 src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MAJOR=10 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm -DCFLAGS_OPT=\"\"
/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=\"++3.00a\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"10.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus=llvm_mode" -D_FORTIFY_SOURCE=2 -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o
[*] Building 32-bit variant of the runtime (-m32)... success!
[*] Building 64-bit variant of the runtime (-m64)... success!
/usr/bin/clang++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++3.00a\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"10.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus=llvm_mode" -D_FORTIFY_SOURCE=2 `llvm-config --cxxflags` -fno-rtti -fPIC -std=c++14 -c instrumentation/afl-llvm-common.cc -o instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=c++14 -shared instrumentation/afl-llvm-pass.so.cc -o afl-llvm-pass.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-compares-pass.so.cc -o split-compares-pass.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-switches-pass.so.cc -o split-switches-pass.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-routines-pass.cc -o cmplog-routines-pass.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-instructions-pass.cc -o cmplog-instructions-pass.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/afl-llvm-dict2file.so.cc -o afl-llvm-dict2file.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/compare-transform-pass.so.cc -o compare-transform-pass.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
/usr/bin/clang++ `llvm-config --cxxflags` -fno-rtti -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -g -I ./include/ -DVERSION=\"++3.00a\" -Wno-variadic-macros -Wno-deprecated-declarations -Wl,-znodelete -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=c++14 -shared instrumentation/LLVMInsTrim.so.cc instrumentation/MarkNodes.cc -o libLLVMInsTrim.so `llvm-config --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm instrumentation/afl-llvm-common.o
[*] Testing the CC wrapper and instrumentation output...
unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/bin\" -DVERSION=\"++3.00a\" -DLLVM_LIBDIR=\"/usr/lib\" -DLLVM_VERSION=\"10.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/bin/clang\" -DCLANGPP_BIN=\"/usr/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus=llvm_mode" -D_FORTIFY_SOURCE=2 ./test-instr.c -o test-instr -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm
ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null
echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr
[+] All right, the instrumentation seems to be working!
[+] All done! You can now use './afl-cc' to compile programs.
make[1]: Leaving directory '/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus'
make -f GNUmakefile.gcc_plugin
make[1]: Entering directory '/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus'
[+] 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 -mtune=generic -O2 -pipe -fno-plt -Wall -std=c++11 -fPIC -fno-rtti -I"/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/plugin/include" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so
ln -sf afl-cc afl-gcc-fast
ln -sf afl-cc afl-g++-fast
ln -sf afl-cc.8 afl-gcc-fast.8
ln -sf afl-cc.8 afl-g++-fast.8
[*] Testing the CC wrapper and instrumentation output...
unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=cc ./afl-gcc-fast -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/afl\" -D_FORTIFY_SOURCE=2 -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function -D_FORTIFY_SOURCE=2 ./test-instr.c -o test-instr -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl -lrt -lm -lrt
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-gcc-fast' to compile programs.
make[1]: Leaving directory '/home/theaifam5/Documents/Projects/Shell/AUR/aflplusplus-git/src/aflplusplus'
[*] Testing the CC wrapper and instrumentation output...
ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null
[-] PROGRAM ABORT : Program './test-instr' not found or not executable
Location : find_binary(), src/afl-common.c:346
make: *** [GNUmakefile:492: test_build] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Metadata
Metadata
Assignees
Labels
No labels