Skip to content

Commit

Permalink
Merge branch 'fuzzer-polish' of github.com:nicolasnoble/grpc into e2e…
Browse files Browse the repository at this point in the history
…fuzz
  • Loading branch information
ctiller committed Apr 4, 2016
2 parents 49fe21c + 762a8df commit f35e5f7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tools/fuzzer/runners.template
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ template: |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

flags="-max_total_time=300"
flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/"
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"
Expand Down
1 change: 1 addition & 0 deletions tools/fuzzer/build_and_run_fuzzer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ set -ex
cd $(dirname $0)/../..
make CONFIG=$config $1 -j3
mkdir -p fuzzer_output
export ASAN_OPTIONS=handle_abort=1
. tools/fuzzer/runners/$1.sh
4 changes: 4 additions & 0 deletions tools/fuzzer/runners/hpack_parser_fuzzer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

<<<<<<< HEAD
flags="-max_total_time=300"
=======
flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/"
>>>>>>> 762a8df773a0d2289cac11522bc852972821a78b
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"
Expand Down
4 changes: 4 additions & 0 deletions tools/fuzzer/runners/http_fuzzer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

<<<<<<< HEAD
flags="-max_total_time=300"
=======
flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/"
>>>>>>> 762a8df773a0d2289cac11522bc852972821a78b
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"
Expand Down
4 changes: 4 additions & 0 deletions tools/fuzzer/runners/json_fuzzer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

<<<<<<< HEAD
flags="-max_total_time=300"
=======
flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/"
>>>>>>> 762a8df773a0d2289cac11522bc852972821a78b
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"
Expand Down
4 changes: 4 additions & 0 deletions tools/fuzzer/runners/uri_fuzzer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

<<<<<<< HEAD
flags="-max_total_time=300"
=======
flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/"
>>>>>>> 762a8df773a0d2289cac11522bc852972821a78b
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"
Expand Down

0 comments on commit f35e5f7

Please sign in to comment.