libredwg changed the fuzzer source (#5256)

This commit is contained in:
Reini Urban 2021-02-25 18:19:19 +01:00 committed by GitHub
parent 796938bae0
commit dbd419667a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -20,4 +20,4 @@ RUN git clone https://github.com/LibreDWG/libredwg
WORKDIR $SRC
COPY build.sh $SRC/
COPY fuzz_dwg_decode.options $SRC/
COPY llvmfuzz.options $SRC/

View File

@ -17,11 +17,10 @@
cd libredwg
sh ./autogen.sh
./configure --disable-shared
./configure --disable-shared --disable-bindings
make
$CC $CFLAGS $LIB_FUZZING_ENGINE ./test/fuzz/fuzz_dwg_decode.c -o $OUT/fuzz_dwg_decode \
$CC $CFLAGS $LIB_FUZZING_ENGINE examples/llvmfuzz.c -o $OUT/llvmfuzz \
src/.libs/libredwg.a -I./include -I./src
cp $SRC/fuzz_dwg_decode.options $OUT/fuzz_dwg_decode.options
cp $SRC/llvmfuzz.options $OUT/llvmfuzz.options