aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/fuzzer/runners.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/fuzzer/runners.template')
-rw-r--r--templates/tools/fuzzer/runners.template12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/tools/fuzzer/runners.template b/templates/tools/fuzzer/runners.template
index d35840bdaa..e84a89a180 100644
--- a/templates/tools/fuzzer/runners.template
+++ b/templates/tools/fuzzer/runners.template
@@ -35,7 +35,17 @@ template: |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
- flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/ -max_len=${selected.maxlen}"
+ flags="-max_total_time=$runtime -artifact_prefix=fuzzer_output/ -max_len=${selected.maxlen} -timeout=120"
+
+ %if selected.get('dict'):
+ flags="$flags -dict=${selected.dict}"
+ %endif
+
+ if [ "$jobs" != "1" ]
+ then
+ flags="-jobs=$jobs -workers=$jobs $flags"
+ fi
+
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"