summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-03-12 03:11:27 +0000
committerKostya Serebryany <kcc@google.com>2016-03-12 03:11:27 +0000
commit7ead926582d7e19e0eff46b392f94b45c6e970e0 (patch)
tree447479a3c81235432cddea4c1a750b81b3497145 /llvm
parentabca88e481107bb20d8a15ea0b4a91aaf922eff8 (diff)
downloadbcm5719-llvm-7ead926582d7e19e0eff46b392f94b45c6e970e0.tar.gz
bcm5719-llvm-7ead926582d7e19e0eff46b392f94b45c6e970e0.zip
[libFuzzer] refresh docs more
llvm-svn: 263331
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/LibFuzzer.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/docs/LibFuzzer.rst b/llvm/docs/LibFuzzer.rst
index d1f550185af..14b744fcc69 100644
--- a/llvm/docs/LibFuzzer.rst
+++ b/llvm/docs/LibFuzzer.rst
@@ -342,7 +342,7 @@ you will want to know whether the function or the corpus can be improved further
One easy to use metric is, of course, code coverage.
You can get the coverage for your corpus like this::
- ASAN_OPTIONS=coverage_pcs=1 ./fuzzer CORPUS_DIR -runs=0
+ ASAN_OPTIONS=coverage=1 ./fuzzer CORPUS_DIR -runs=0
This will run all the tests in the CORPUS_DIR but will not generate any new tests
and dump covered PCs to disk before exiting.
@@ -371,9 +371,6 @@ the program arguments that you can read and modify::
return 0;
}
-Finally, you may use your own ``main()`` and call ``FuzzerDriver``
-from there, see FuzzerInterface.h_.
-
Try to avoid initialization inside the target function itself as
it will skew the coverage data. Don't do this::
OpenPOWER on IntegriCloud