Skip to content

Commit

Permalink
[libmodbus] remove bloat (#9634)
Browse files Browse the repository at this point in the history
- Remove bloat.
Signed-off-by: Arjun Singh <[email protected]>

Signed-off-by: Arjun Singh <[email protected]>
  • Loading branch information
0x34d authored Feb 8, 2023
1 parent f3a8a33 commit 42d219a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion projects/libmodbus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make autoconf automake libtool libtool-bin
RUN git clone https://github.com/stephane/libmodbus/
RUN git clone https://github.com/stephane/libmodbus.git
RUN git clone https://github.com/0x34d/oss-fuzz-bloat.git
COPY build.sh $SRC/
COPY fuzz/ $SRC/libmodbus/fuzz/
WORKDIR $SRC/libmodbus/
6 changes: 4 additions & 2 deletions projects/libmodbus/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ make all

cp FuzzClient $OUT/FuzzClient
cp FuzzServer $OUT/FuzzServer
cp input.zip $OUT/FuzzClient_seed_corpus.zip
cp input.zip $OUT/FuzzServer_seed_corpus.zip

pushd $SRC/oss-fuzz-bloat/libmodbus/
cp FuzzClient_seed_corpus.zip $OUT/FuzzClient_seed_corpus.zip
cp FuzzServer_seed_corpus.zip $OUT/FuzzServer_seed_corpus.zip
popd
Binary file removed projects/libmodbus/fuzz/input.zip
Binary file not shown.

0 comments on commit 42d219a

Please sign in to comment.