Skip to content

Commit

Permalink
Zip up seed corpus for libchewing fuzzer.
Browse files Browse the repository at this point in the history
Also adds zip package to base-libfuzzer image. Addresses google#13.
  • Loading branch information
oliverchang committed Oct 17, 2016
1 parent 7c11d15 commit 41aa336
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/base-images/base-libfuzzer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

FROM ossfuzz/base-clang
MAINTAINER mike.aizatsky@gmail.com
RUN apt-get install -y git libc6-dev
RUN apt-get install -y git libc6-dev zip

RUN mkdir -p /work/libfuzzer

Expand Down
7 changes: 6 additions & 1 deletion libchewing/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ $CC $CFLAGS \
-lfuzzer $FUZZER_LDFLAGS

# install data files
make -C data pkgdatadir=/out install
mkdir -p /out/seed
make -C data pkgdatadir=/out/seed install

zip -j -r /out/chewing_fuzzer_seed_corpus.zip /out/seed
rm -r /out/seed

0 comments on commit 41aa336

Please sign in to comment.