commit 491348cb8c8fb7cf7d453681871a0f456585af36 Author: Nick Mathewson nickm@torproject.org Date: Tue Feb 14 18:04:10 2017 -0500
Rename make fuzz to make test-fuzz-corpora --- changes/bug21447 | 4 ++++ doc/HACKING/Fuzzing.md | 5 ++++- src/test/fuzz/include.am | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/changes/bug21447 b/changes/bug21447 new file mode 100644 index 0000000..c025b92 --- /dev/null +++ b/changes/bug21447 @@ -0,0 +1,4 @@ + o Minor bugfixes (testing): + - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't + actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha. + diff --git a/doc/HACKING/Fuzzing.md b/doc/HACKING/Fuzzing.md index dc23259..16b0b6b 100644 --- a/doc/HACKING/Fuzzing.md +++ b/doc/HACKING/Fuzzing.md @@ -6,7 +6,10 @@ Check out fuzzing-corpora, and set TOR_FUZZ_CORPORA to point to the place where you checked it out.
To run the fuzzing test cases in a deterministic fashion, use: - make fuzz + make test-fuzz-corpora + +This won't actually fuzz Tor! It will just run all the fuzz binaries +on our existing set of testcases for the fuzzer.
== Different kinds of fuzzing diff --git a/src/test/fuzz/include.am b/src/test/fuzz/include.am index c9c1747..8067108 100644 --- a/src/test/fuzz/include.am +++ b/src/test/fuzz/include.am @@ -246,5 +246,5 @@ noinst_LIBRARIES += $(OSS_FUZZ_FUZZERS) oss-fuzz-fuzzers: oss-fuzz-prereqs $(OSS_FUZZ_FUZZERS) fuzzers: $(FUZZERS) $(LIBFUZZER_FUZZERS)
-fuzz: $(FUZZERS) +test-fuzz-corpora: $(FUZZERS) $(top_srcdir)/src/test/fuzz_static_testcases.sh
tor-commits@lists.torproject.org