File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ifneq "" "$(LLVM_BINDIR)"
7
7
LLVM_BINDIR := $(LLVM_BINDIR ) /
8
8
endif
9
9
10
- FLAGS =-O3 -funroll-loops
10
+ FLAGS =-O2 -g
11
11
12
12
all : libAFLDriver.a libAFLQemuDriver.a aflpp_qemu_driver_hook.so
13
13
Original file line number Diff line number Diff line change @@ -376,15 +376,15 @@ document:
376
376
@$(CLANG_BIN ) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE ) -O3 -Wno-unused-result -m64 -fPIC -c afl-llvm-rt.o.c -o ../afl-llvm-rt-64.o 2> /dev/null; if [ " $$ ?" = " 0" ]; then echo " success!" ; else echo " failed (that's fine)" ; fi
377
377
378
378
../afl-llvm-rt.o : afl-llvm-rt.o.c | test_deps
379
- $(CLANG_BIN ) $(CFLAGS_SAFE ) -O3 -Wno-unused-result -fPIC -c $< -o $@
379
+ $(CLANG_BIN ) $(CFLAGS_SAFE ) -O2 -Wno-unused-result -fPIC -c $< -o $@
380
380
381
381
../afl-llvm-rt-32.o : afl-llvm-rt.o.c | test_deps
382
382
@printf " [*] Building 32-bit variant of the runtime (-m32)... "
383
- @$(CLANG_BIN ) $(CFLAGS_SAFE ) -O3 -Wno-unused-result -m32 -fPIC -c $< -o $@ 2> /dev/null; if [ " $$ ?" = " 0" ]; then echo " success!" ; else echo " failed (that's fine)" ; fi
383
+ @$(CLANG_BIN ) $(CFLAGS_SAFE ) -O2 -Wno-unused-result -m32 -fPIC -c $< -o $@ 2> /dev/null; if [ " $$ ?" = " 0" ]; then echo " success!" ; else echo " failed (that's fine)" ; fi
384
384
385
385
../afl-llvm-rt-64.o : afl-llvm-rt.o.c | test_deps
386
386
@printf " [*] Building 64-bit variant of the runtime (-m64)... "
387
- @$(CLANG_BIN ) $(CFLAGS_SAFE ) -O3 -Wno-unused-result -m64 -fPIC -c $< -o $@ 2> /dev/null; if [ " $$ ?" = " 0" ]; then echo " success!" ; else echo " failed (that's fine)" ; fi
387
+ @$(CLANG_BIN ) $(CFLAGS_SAFE ) -O2 -Wno-unused-result -m64 -fPIC -c $< -o $@ 2> /dev/null; if [ " $$ ?" = " 0" ]; then echo " success!" ; else echo " failed (that's fine)" ; fi
388
388
389
389
test_build : $(PROGS )
390
390
@echo " [*] Testing the CC wrapper and instrumentation output..."
You can’t perform that action at this time.
0 commit comments