aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/base-images/base-builder/compile_afl
diff options
context:
space:
mode:
authorGravatar van Hauser <vh@thc.org>2021-12-14 15:23:58 +0100
committerGravatar GitHub <noreply@github.com>2021-12-14 06:23:58 -0800
commit95e437c59982cf242d01c53af44181e81a03e4ce (patch)
tree2d4681bbac08666b3b86b9e1d50a1dc6f014ce99 /infra/base-images/base-builder/compile_afl
parent0de0dcd0f4f706db048bf9cdd9ce5c454bebe2a6 (diff)
Update afl++ (#7008)
* update afl++ commit id * update afl++ commit id * fix for afl++ * attempt fix for curl * allow easy reproducable afl++ builds * new commit id * fixes * another afl++ commit increase * not a relevant update, but why not
Diffstat (limited to 'infra/base-images/base-builder/compile_afl')
-rw-r--r--infra/base-images/base-builder/compile_afl4
1 files changed, 3 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/compile_afl b/infra/base-images/base-builder/compile_afl
index a9e5ae25..6a834143 100644
--- a/infra/base-images/base-builder/compile_afl
+++ b/infra/base-images/base-builder/compile_afl
@@ -37,6 +37,9 @@ export ASAN_OPTIONS="detect_leaks=0:symbolize=0:detect_odr_violation=0:abort_on_
# No complain on unknown AFL environment variables
export AFL_IGNORE_UNKNOWN_ENVS=1
+# To not use AFL++'s afl-cc compiler but clang sancov, set this to 1:
+export AFL_LLVM_MODE_WORKAROUND=0
+
# To analyze build failures and set specific AFL++ settings, set
# `export AFL_SKIP_OSSFUZZ=1`
# The 'env|grep' setup ensures we do not trigger the linter.
@@ -44,7 +47,6 @@ env | egrep -q '^AFL_SKIP_OSSFUZZ=' || {
# The variables need to be set to "1" here - or before running this script.
# AFL++ configuration options.
- export AFL_LLVM_MODE_WORKAROUND=0
export AFL_ENABLE_DICTIONARY=0
export AFL_ENABLE_CMPLOG=1
export AFL_LAF_CHANCE=5