hdf5: disable leak detection for extended fuzzer (#9781)

The fuzzer runs into them quickly and it would be nice to have it
explore more code for now.

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2023-02-22 13:35:29 +00:00 committed by GitHub
parent 9b661d95ff
commit 1efd21bd5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -19,4 +19,4 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool \
pkg-config cmake zlib1g-dev
RUN git clone --depth 1 https://github.com/HDFGroup/hdf5
WORKDIR hdf5
COPY build.sh *.c $SRC/
COPY build.sh *.c *.options $SRC/

View File

@ -48,3 +48,4 @@ $CC $CFLAGS -std=c99 -c \
$CXX $CXXFLAGS $LIB_FUZZING_ENGINE h5_extended_fuzzer.o ./build-dir/bin/libhdf5.a -lz -o $OUT/h5_extended_fuzzer
zip -j $OUT/h5_extended_fuzzer_seed_corpus.zip $SRC/hdf5/test/*.h5
cp $SRC/*.options $OUT/

View File

@ -0,0 +1,2 @@
[libfuzzer]
detect_leaks=0