diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-04-01 21:38:28 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-04-02 01:05:58 +0200 |
commit | 762a8df773a0d2289cac11522bc852972821a78b (patch) | |
tree | 353ed2d1743373a3a0f25149c1763b0118e9021f /tools | |
parent | 4fe4b02a79d017f05646a382f1d0a1895441e95e (diff) |
Fuzzers now handle asserts.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/fuzzer/build_and_run_fuzzer.sh | 1 | ||||
-rw-r--r-- | tools/fuzzer/runners/hpack_parser_fuzzer_test.sh | 2 | ||||
-rw-r--r-- | tools/fuzzer/runners/http_fuzzer_test.sh | 2 | ||||
-rw-r--r-- | tools/fuzzer/runners/json_fuzzer_test.sh | 2 | ||||
-rw-r--r-- | tools/fuzzer/runners/uri_fuzzer_test.sh | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/tools/fuzzer/build_and_run_fuzzer.sh b/tools/fuzzer/build_and_run_fuzzer.sh index bbe68884ad..7139097e3e 100755 --- a/tools/fuzzer/build_and_run_fuzzer.sh +++ b/tools/fuzzer/build_and_run_fuzzer.sh @@ -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 diff --git a/tools/fuzzer/runners/hpack_parser_fuzzer_test.sh b/tools/fuzzer/runners/hpack_parser_fuzzer_test.sh index a91cf6d458..ebe09bc072 100644 --- a/tools/fuzzer/runners/hpack_parser_fuzzer_test.sh +++ b/tools/fuzzer/runners/hpack_parser_fuzzer_test.sh @@ -29,7 +29,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -flags="-max_total_time=3600 -jobs=3 -workers=3" +flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/" if [ "$config" == "asan-trace-cmp" ] then flags="-use_traces=1 $flags" diff --git a/tools/fuzzer/runners/http_fuzzer_test.sh b/tools/fuzzer/runners/http_fuzzer_test.sh index 47adad0cb7..bb6dc95085 100644 --- a/tools/fuzzer/runners/http_fuzzer_test.sh +++ b/tools/fuzzer/runners/http_fuzzer_test.sh @@ -29,7 +29,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -flags="-max_total_time=3600 -jobs=3 -workers=3" +flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/" if [ "$config" == "asan-trace-cmp" ] then flags="-use_traces=1 $flags" diff --git a/tools/fuzzer/runners/json_fuzzer_test.sh b/tools/fuzzer/runners/json_fuzzer_test.sh index 9c5cba3baf..303eb9fd00 100644 --- a/tools/fuzzer/runners/json_fuzzer_test.sh +++ b/tools/fuzzer/runners/json_fuzzer_test.sh @@ -29,7 +29,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -flags="-max_total_time=3600 -jobs=3 -workers=3" +flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/" if [ "$config" == "asan-trace-cmp" ] then flags="-use_traces=1 $flags" diff --git a/tools/fuzzer/runners/uri_fuzzer_test.sh b/tools/fuzzer/runners/uri_fuzzer_test.sh index 58f20d021c..2bdc949158 100644 --- a/tools/fuzzer/runners/uri_fuzzer_test.sh +++ b/tools/fuzzer/runners/uri_fuzzer_test.sh @@ -29,7 +29,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -flags="-max_total_time=3600 -jobs=3 -workers=3" +flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/" if [ "$config" == "asan-trace-cmp" ] then flags="-use_traces=1 $flags" |