mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
3c74855934
This isn't fuzzing per se, so much as replaying the highlights of past fuzzer runs.
16 lines
362 B
Bash
Executable File
16 lines
362 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copyright (c) 2016, The Tor Project, Inc.
|
|
# See LICENSE for licensing information
|
|
|
|
set -e
|
|
|
|
for fuzzer in "${builddir:-.}"/src/test/fuzz/fuzz-* ; do
|
|
f=`basename $fuzzer`
|
|
case="${f#fuzz-}"
|
|
echo "Running tests for ${case}"
|
|
for entry in ${abs_top_srcdir:-.}/src/test/fuzz/data/${case}/*; do
|
|
"${fuzzer}" "--err" < "$entry"
|
|
done
|
|
done
|