[libFuzzer] Replace -seed_corpus to better support fork mode on Win
authorJonathan Metzman <metzman@chromium.org>
Tue, 30 Apr 2019 20:56:18 +0000 (20:56 +0000)
committerJonathan Metzman <metzman@chromium.org>
Tue, 30 Apr 2019 20:56:18 +0000 (20:56 +0000)
commitf3ee97731eb524e9c7bc6911c205a38e643dfff4
tree4e2bb339020d1c0221c5d798cf91f01ab906108f
parenteeae45dc77d227d0376e381708e5ece4760ededb
[libFuzzer] Replace -seed_corpus to better support fork mode on Win

Summary:
Pass seed corpus list in a file to get around argument length limits on Windows.
This limit was preventing many uses of fork mode on Windows.

Reviewers: kcc, morehouse

Reviewed By: kcc

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D60980

llvm-svn: 359610
compiler-rt/lib/fuzzer/FuzzerDriver.cpp
compiler-rt/lib/fuzzer/FuzzerFlags.def
compiler-rt/lib/fuzzer/FuzzerFork.cpp
compiler-rt/lib/fuzzer/FuzzerIO.cpp
compiler-rt/lib/fuzzer/FuzzerIO.h
compiler-rt/test/fuzzer/seed_inputs.test [new file with mode: 0644]