From dbd419667ac45ed0547d4da4704adfc8dee0e97b Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Thu, 25 Feb 2021 18:19:19 +0100 Subject: [PATCH] libredwg changed the fuzzer source (#5256) --- projects/libredwg/Dockerfile | 2 +- projects/libredwg/build.sh | 7 +++---- .../libredwg/{fuzz_dwg_decode.options => llvmfuzz.options} | 0 3 files changed, 4 insertions(+), 5 deletions(-) rename projects/libredwg/{fuzz_dwg_decode.options => llvmfuzz.options} (100%) diff --git a/projects/libredwg/Dockerfile b/projects/libredwg/Dockerfile index aaa99fb73..93695c368 100755 --- a/projects/libredwg/Dockerfile +++ b/projects/libredwg/Dockerfile @@ -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/ diff --git a/projects/libredwg/build.sh b/projects/libredwg/build.sh index b356d651b..b6f287883 100755 --- a/projects/libredwg/build.sh +++ b/projects/libredwg/build.sh @@ -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 diff --git a/projects/libredwg/fuzz_dwg_decode.options b/projects/libredwg/llvmfuzz.options similarity index 100% rename from projects/libredwg/fuzz_dwg_decode.options rename to projects/libredwg/llvmfuzz.options