summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-04-19 23:58:05 +0000
committerKostya Serebryany <kcc@google.com>2017-04-19 23:58:05 +0000
commitf60f61d0b372a7a579af419756bb2c296c84332e (patch)
treedef574b4d1a50524760395955f561686963bd77b /llvm/lib/Fuzzer
parentb3624e4f4561d7b8d0801e2d0c034049f5375283 (diff)
downloadbcm5719-llvm-f60f61d0b372a7a579af419756bb2c296c84332e.tar.gz
bcm5719-llvm-f60f61d0b372a7a579af419756bb2c296c84332e.zip
[libFuzzer] extend help for -minimize_crash to cover ASAN_OPTIONS=dedup_token_length=3
llvm-svn: 300800
Diffstat (limited to 'llvm/lib/Fuzzer')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index 0f9e7906720..0a1ff1b1df6 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -50,6 +50,8 @@ FUZZER_FLAG_INT(minimize_crash, 0, "If 1, minimizes the provided"
" crash input. Use with -runs=N or -max_total_time=N to limit "
"the number attempts."
" Use with -exact_artifact_path to specify the output."
+ " Combine with ASAN_OPTIONS=dedup_token_length=3 (or similar) to ensure that"
+ " the minimized input triggers the same crash."
)
FUZZER_FLAG_INT(cleanse_crash, 0, "If 1, tries to cleanse the provided"
" crash input to make it contain fewer original bytes."
OpenPOWER on IntegriCloud