Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
David Korczynski 2024-05-10 16:33:10 -07:00
parent b691ff34ff
commit 792bacb2c7
2 changed files with 4 additions and 6 deletions

View File

@ -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/tiny-json
COPY .clusterfuzzlite/build.sh $SRC/build.sh
COPY .clusterfuzzlite/*.cpp $SRC/
COPY .clusterfuzzlite/*.c $SRC/
WORKDIR tiny-json

View File

@ -1,8 +1,8 @@
#!/bin/bash
find . -name "*.c" -exec $CC $CFLAGS -I./src -c {} \;
find . -name "*.o" -exec cp {} . \;
for file in "tiny-json.c"; do
$CC $CFLAGS -c ${file}
done
rm -f ./test*.o
llvm-ar rcs libfuzz.a *.o