From 5d90f783ce55eb93aa0628276fb13a60cb9344ff Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 13 Jun 2018 16:15:28 +0200 Subject: [PATCH] [strongswan] Changes for PA-TNC and PB-TNC fuzzers (#1514) --- projects/strongswan/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/projects/strongswan/build.sh b/projects/strongswan/build.sh index db8be475f..b8da1fa70 100644 --- a/projects/strongswan/build.sh +++ b/projects/strongswan/build.sh @@ -17,7 +17,14 @@ ./autogen.sh -./configure CFLAGS="$CFLAGS -DNO_CHECK_MEMWIPE" --enable-fuzzing --with-libfuzzer=$LIB_FUZZING_ENGINE --enable-monolithic --disable-shared --enable-static +./configure CFLAGS="$CFLAGS -DNO_CHECK_MEMWIPE" \ + --enable-imc-test \ + --enable-tnccs-20 \ + --enable-fuzzing \ + --with-libfuzzer=$LIB_FUZZING_ENGINE \ + --enable-monolithic \ + --disable-shared \ + --enable-static make -j$(nproc) @@ -26,7 +33,6 @@ for f in $fuzzers; do fuzzer=$(basename $f) cp $f $OUT/ corpus=${fuzzer#fuzz_} - corpus=${corpus%%_*} if [ -d "fuzzing-corpora/${corpus}" ]; then zip -rj $OUT/${fuzzer}_seed_corpus.zip fuzzing-corpora/${corpus} fi