summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerFlags.def
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-08-12 01:55:37 +0000
committerKostya Serebryany <kcc@google.com>2015-08-12 01:55:37 +0000
commit12c7837381a478ab7836f8176ccff37c8d182a1b (patch)
treeb591a2cd64be30698cc328d89d62e74fe7d155f7 /llvm/lib/Fuzzer/FuzzerFlags.def
parent91009b3856cd242707e05f838eff29436979a73a (diff)
downloadbcm5719-llvm-12c7837381a478ab7836f8176ccff37c8d182a1b.tar.gz
bcm5719-llvm-12c7837381a478ab7836f8176ccff37c8d182a1b.zip
[libFuzzer] add two flags, -tbm_depth and -tbm_width to control how the trace-based-mutations are applied
llvm-svn: 244712
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index 91aff99f045..d5a428bb25a 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -62,3 +62,7 @@ FUZZER_FLAG_INT(report_slow_units, 10,
"Report slowest units if they run for more than this number of seconds.")
FUZZER_FLAG_INT(only_ascii, 0,
"If 1, generate only ASCII (isprint+isspace) inputs.")
+FUZZER_FLAG_INT(tbm_depth, 5, "Apply at most this number of consecutive"
+ "trace-based-mutations (tbm).")
+FUZZER_FLAG_INT(tbm_width, 5, "Apply at most this number of independent"
+ "trace-based-mutations (tbm)")
OpenPOWER on IntegriCloud