mirror of https://github.com/kgabis/parson.git
parent
85303b8c22
commit
346dd0f6e1
@ -1,8 +1,6 @@ |
|||||||
FROM gcr.io/oss-fuzz-base/base-builder |
FROM gcr.io/oss-fuzz-base/base-builder |
||||||
RUN apt-get update && apt-get install -y make autoconf automake libtool cmake \ |
RUN apt-get update && apt-get install -y make autoconf automake libtool |
||||||
pkg-config curl check |
|
||||||
COPY . $SRC/parson |
COPY . $SRC/parson |
||||||
COPY .clusterfuzzlite/build.sh $SRC/build.sh |
|
||||||
COPY .clusterfuzzlite/*.cpp $SRC/ |
COPY .clusterfuzzlite/*.cpp $SRC/ |
||||||
COPY .clusterfuzzlite/*.c $SRC/ |
COPY .clusterfuzzlite/*.c $SRC/ |
||||||
WORKDIR parson |
WORKDIR parson |
||||||
|
@ -1,10 +1,6 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
for file in "parson.c"; do |
$CC $CFLAGS -c parson.c |
||||||
$CC $CFLAGS -c ${file} |
|
||||||
done |
|
||||||
|
|
||||||
rm -f ./test*.o |
|
||||||
llvm-ar rcs libfuzz.a *.o |
llvm-ar rcs libfuzz.a *.o |
||||||
|
|
||||||
|
|
||||||
$CC $CFLAGS $LIB_FUZZING_ENGINE $SRC/fuzzer.c -Wl,--whole-archive $SRC/parson/libfuzz.a -Wl,--allow-multiple-definition -I$SRC/parson/ -o $OUT/fuzzer |
$CC $CFLAGS $LIB_FUZZING_ENGINE $SRC/fuzzer.c -Wl,--whole-archive $SRC/parson/libfuzz.a -Wl,--allow-multiple-definition -I$SRC/parson/ -o $OUT/fuzzer |
||||||
|
Loading…
Reference in new issue