mirror of https://github.com/google/oss-fuzz.git
file: Add elf and pe seeds (#8073)
* file: Add elf and pe seeds * file: make binary-samples path explicit * Update Dockerfile Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
This commit is contained in:
parent
05d1ebf6c2
commit
cea71828c0
|
@ -17,5 +17,9 @@
|
|||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool shtool
|
||||
RUN git clone --depth 1 https://github.com/file/file.git
|
||||
|
||||
# Supplement file's existing test files to get elf + pe coverage.
|
||||
RUN git clone --depth 1 https://github.com/DavidKorczynski/binary-samples.git
|
||||
|
||||
WORKDIR file
|
||||
COPY build.sh magic_fuzzer.cc $SRC/
|
||||
|
|
|
@ -25,4 +25,4 @@ $CXX $CXXFLAGS -std=c++11 -Isrc/ \
|
|||
|
||||
cp ./magic/magic.mgc $OUT/
|
||||
|
||||
zip -j $OUT/magic_fuzzer_seed_corpus.zip ./tests/*.testfile
|
||||
zip -j $OUT/magic_fuzzer_seed_corpus.zip ./tests/*.testfile $SRC/binary-samples/{elf,pe}-*
|
||||
|
|
Loading…
Reference in New Issue