diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-23 21:43:58 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-23 21:43:58 -0700 |
commit | ae94594a64daacd32d0ec85746b2e7f3d02164f3 (patch) | |
tree | 96dbd0eeae66b09464ecc5fd360d12829d3560b7 /templates/tools/fuzzer | |
parent | 0b8bf0863fd220ba165b211cf1ac6051fb81b8d9 (diff) |
Support tracing fuzzers
Diffstat (limited to 'templates/tools/fuzzer')
-rw-r--r-- | templates/tools/fuzzer/runners.template | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/tools/fuzzer/runners.template b/templates/tools/fuzzer/runners.template index 99cd737676..26ac7c80df 100644 --- a/templates/tools/fuzzer/runners.template +++ b/templates/tools/fuzzer/runners.template @@ -35,4 +35,10 @@ template: | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # - bins/$config/${selected.name} -max_total_time=3600 fuzzer_output ${' '.join(selected.corpus_dirs)} + flags="-max_total_time=3600" + if [ "$config" == "asan-trace-cmp" ] + then + flags="-use_traces=1 $flags" + fi + + bins/$config/${selected.name} $flags fuzzer_output ${' '.join(selected.corpus_dirs)} |