mirror of https://github.com/kgabis/parson.git
parent
85303b8c22
commit
346dd0f6e1
@ -1,8 +1,6 @@ |
||||
FROM gcr.io/oss-fuzz-base/base-builder |
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool cmake \ |
||||
pkg-config curl check |
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool |
||||
COPY . $SRC/parson |
||||
COPY .clusterfuzzlite/build.sh $SRC/build.sh |
||||
COPY .clusterfuzzlite/*.cpp $SRC/ |
||||
COPY .clusterfuzzlite/*.c $SRC/ |
||||
WORKDIR parson |
||||
|
@ -1,10 +1,6 @@ |
||||
#!/bin/bash |
||||
for file in "parson.c"; do |
||||
$CC $CFLAGS -c ${file} |
||||
done |
||||
|
||||
rm -f ./test*.o |
||||
$CC $CFLAGS -c parson.c |
||||
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