From 0b8d8d6d040419f23f6ff1aee6842e5b3a834f42 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Fri, 5 Feb 2021 07:27:03 -0800 Subject: [PATCH] Fix libcacard afl++ build. (#5125) --- projects/libcacard/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/libcacard/build.sh b/projects/libcacard/build.sh index f4c823cf2..719502e90 100755 --- a/projects/libcacard/build.sh +++ b/projects/libcacard/build.sh @@ -15,6 +15,10 @@ # ################################################################################ +# Workaround for fixing AFL++ build, discarded for others. +# See https://github.com/google/oss-fuzz/issues/4280#issuecomment-773977943 +export AFL_LLVM_INSTRUMENT=CLASSIC,NGRAM-4 + # Compile NSS mkdir $SRC/nss-nspr mv $SRC/nss $SRC/nss-nspr/