Skip to content

Commit

Permalink
Build AFL libs with -O2, google#421
Browse files Browse the repository at this point in the history
  • Loading branch information
inferno-chromium authored and tmatth committed Oct 22, 2018
1 parent 4c2fef5 commit 47d2371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/base-images/base-builder/compile_afl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export COVERAGE_FLAGS="-fsanitize-coverage=trace-pc-guard"
mkdir -p $WORK/afl
pushd $WORK/afl > /dev/null
$CC $CFLAGS -c $SRC/afl/llvm_mode/afl-llvm-rt.o.c
$CXX $CXXFLAGS -std=c++11 -c $SRC/libfuzzer/afl/*.cpp -I$SRC/libfuzzer
$CXX $CXXFLAGS -std=c++11 -O2 -c $SRC/libfuzzer/afl/*.cpp -I$SRC/libfuzzer
ar r $LIB_FUZZING_ENGINE $WORK/afl/*.o
popd > /dev/null
rm -rf $WORK/afl
Expand Down

0 comments on commit 47d2371

Please sign in to comment.