summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LibFuzzer.rst
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-03-18 20:58:29 +0000
committerKostya Serebryany <kcc@google.com>2016-03-18 20:58:29 +0000
commit49e409068af85ba10e9b08bdc1d2d5f3b345c1e7 (patch)
treeeae319c59138416a0739d33e57e4a4c4cd010d4f /llvm/docs/LibFuzzer.rst
parent5ba3d3e632fbc30edf9cc2eae4715c28b1a4ffb7 (diff)
downloadbcm5719-llvm-49e409068af85ba10e9b08bdc1d2d5f3b345c1e7.tar.gz
bcm5719-llvm-49e409068af85ba10e9b08bdc1d2d5f3b345c1e7.zip
[libFuzzer] add a flag close_fd_mask so that we can silence spammy targets by closing stderr/stdout
llvm-svn: 263831
Diffstat (limited to 'llvm/docs/LibFuzzer.rst')
-rw-r--r--llvm/docs/LibFuzzer.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/docs/LibFuzzer.rst b/llvm/docs/LibFuzzer.rst
index 3d35631de3a..bb42b61210f 100644
--- a/llvm/docs/LibFuzzer.rst
+++ b/llvm/docs/LibFuzzer.rst
@@ -88,6 +88,7 @@ The most important flags are::
artifact_prefix "" Write fuzzing artifacts (crash, timeout, or slow inputs) as $(artifact_prefix)file
exact_artifact_path "" Write the single artifact on failure (crash, timeout) as $(exact_artifact_path). This overrides -artifact_prefix and will not use checksum in the file name. Do not use the same path for several parallel processes.
print_final_stats 0 If 1, print statistics at exit.
+ close_fd_mask 0 If 1, close stdout at startup; if 2, close stderr; if 3, close both.
For the full list of flags run the fuzzer binary with ``-help=1``.
OpenPOWER on IntegriCloud