From 792bacb2c7d51126e38ff0f6b75cc723f436df4a Mon Sep 17 00:00:00 2001 From: David Korczynski Date: Fri, 10 May 2024 16:33:10 -0700 Subject: [PATCH] cleanup Signed-off-by: David Korczynski --- .clusterfuzzlite/Dockerfile | 4 +--- .clusterfuzzlite/build.sh | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.clusterfuzzlite/Dockerfile b/.clusterfuzzlite/Dockerfile index 932e6e0..4473fe9 100644 --- a/.clusterfuzzlite/Dockerfile +++ b/.clusterfuzzlite/Dockerfile @@ -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 diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh index ec95de1..b4bf7ac 100644 --- a/.clusterfuzzlite/build.sh +++ b/.clusterfuzzlite/build.sh @@ -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