[bind9] Re-enable AFL fuzzing engine. (#4310)

This commit is contained in:
Ondřej Surý 2020-08-13 16:21:38 +02:00 committed by GitHub
parent eb5b769c75
commit 6f0a24f0d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -18,8 +18,9 @@
# build the project
autoreconf -fi
./configure --disable-shared --enable-static --enable-developer --without-cmocka --without-zlib --disable-linux-caps --prefix="$WORK" --enable-fuzzing=ossfuzz
make -j"$(nproc)" all
(cd fuzz && TESTS='' make -e -j"$(nproc)" check)
(cd libltdl && make -j"$(nproc)" all V=1)
(cd lib/isc && make -j"$(nproc)" all V=1)
(cd lib/dns && make -j"$(nproc)" all V=1)
LIBISC_CFLAGS="-Ilib/isc/unix/include -Ilib/isc/pthreads/include -Ilib/isc/include"
LIBDNS_CFLAGS="-Ilib/dns/include"
@ -30,6 +31,7 @@ for fuzzer in fuzz/*.c; do
output=$(basename "${fuzzer%.c}")
[ "$output" = "main" ] && continue
# We need to try little bit harder to link everything statically
(cd fuzz && make -j"$(nproc)" "${output}.o" V=1)
${CXX} ${CXXFLAGS} \
-o "${OUT}/${output}_fuzzer" \
"fuzz/${output}.o" \

View File

@ -8,9 +8,6 @@ auto_ccs:
- "wpk@isc.org"
- "matthijs@isc.org"
- "dfronza@isc.org"
fuzzing_engines:
- libfuzzer
- honggfuzz
sanitizers:
- address
- memory: