mirror of https://github.com/google/oss-fuzz.git
enhance afl++ performance (#5916)
This commit is contained in:
parent
53f3757b2a
commit
6ca95a1817
|
@ -181,7 +181,7 @@ WORKDIR $SRC
|
|||
# TODO: switch to -b stable once we can.
|
||||
RUN git clone https://github.com/AFLplusplus/AFLplusplus.git aflplusplus && \
|
||||
cd aflplusplus && \
|
||||
git checkout 5997a4fc09163c1baa186f5a9d00c4c8668a72b1
|
||||
git checkout ade8cdca55951958024c86766453430f904381c5
|
||||
|
||||
RUN cd $SRC && \
|
||||
curl -L -O https://github.com/google/honggfuzz/archive/oss-fuzz.tar.gz && \
|
||||
|
|
|
@ -103,8 +103,9 @@ if [[ "$FUZZING_ENGINE" = afl ]]; then
|
|||
export UBSAN_OPTIONS="$UBSAN_OPTIONS:symbolize=0"
|
||||
export AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1
|
||||
export AFL_SKIP_CPUFREQ=1
|
||||
export AFL_NO_AFFINITY=1
|
||||
export AFL_TRY_AFFINITY=1
|
||||
export AFL_FAST_CAL=1
|
||||
export AFL_CMPLOG_ONLY_NEW=1
|
||||
export AFL_FORKSRV_INIT_TMOUT=30000
|
||||
# If $OUT/afl_cmplog.txt is present this means the target was compiled for
|
||||
# CMPLOG. So we have to add the proper parameters to afl-fuzz.
|
||||
|
|
Loading…
Reference in New Issue