[llvm] r352715 - [libFuzzer] update docs
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 30 17:47:29 PST 2019
Author: kcc
Date: Wed Jan 30 17:47:29 2019
New Revision: 352715
URL: http://llvm.org/viewvc/llvm-project?rev=352715&view=rev
Log:
[libFuzzer] update docs
Modified:
llvm/trunk/docs/LibFuzzer.rst
Modified: llvm/trunk/docs/LibFuzzer.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LibFuzzer.rst?rev=352715&r1=352714&r2=352715&view=diff
==============================================================================
--- llvm/trunk/docs/LibFuzzer.rst (original)
+++ llvm/trunk/docs/LibFuzzer.rst Wed Jan 30 17:47:29 2019
@@ -414,8 +414,8 @@ A simple function that does something in
return 0;
}
EOF
- # Build test_fuzzer.cc with asan and link against libFuzzer.a
- clang++ -fsanitize=address -fsanitize-coverage=trace-pc-guard test_fuzzer.cc libFuzzer.a
+ # Build test_fuzzer.cc with asan and link against libFuzzer.
+ clang++ -fsanitize=address,fuzzer test_fuzzer.cc
# Run the fuzzer with no corpus.
./a.out
@@ -483,7 +483,7 @@ the fuzzing but is very likely to improv
Value Profile
-------------
-With ``-fsanitize-coverage=trace-cmp``
+With ``-fsanitize-coverage=trace-cmp`` (default with ``-fsanitize=fuzzer``)
and extra run-time flag ``-use_value_profile=1`` the fuzzer will
collect value profiles for the parameters of compare instructions
and treat some new values as new coverage.
@@ -562,8 +562,9 @@ to visualize and study your code coverag
User-supplied mutators
----------------------
-LibFuzzer allows to use custom (user-supplied) mutators,
-see FuzzerInterface.h_
+LibFuzzer allows to use custom (user-supplied) mutators, see
+`Structure-Aware Fuzzing <https://github.com/google/fuzzer-test-suite/blob/master/tutorial/structure-aware-fuzzing.md>`_
+for more details.
Startup initialization
----------------------
More information about the llvm-commits
mailing list