diff options
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/README.md | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/fuzz/README.md b/fuzz/README.md index a713f85325..deb7a43168 100644 --- a/fuzz/README.md +++ b/fuzz/README.md @@ -99,7 +99,7 @@ Reproducing issues If a fuzzer generates a reproducible error, you can reproduce the problem using the fuzz/*-test binaries and the file generated by the fuzzer. They binaries -don't need to be build for fuzzing, there is no need to set CC or the call +don't need to be built for fuzzing, there is no need to set CC or the call config with enable-fuzz-* or -fsanitize-coverage, but some of the other options above might be needed. For instance the enable-asan or enable-ubsan option might be useful to show you when the problem happens. For the client and server fuzzer @@ -110,6 +110,20 @@ To reproduce the crash you can run: fuzz/$FUZZER-test $file +To do all the tests of a specific fuzzer such as asn1 you can run + + fuzz/asn1-test fuzz/corpora/asn1 +or + make test TESTS=fuzz_test FUZZ_TESTS=asn1 + +To run several fuzz tests you can use for instance: + + make test TESTS=test_fuzz FUZZ_TESTS="cmp cms" + +To run all fuzz tests you can use: + + make test TESTS=test_fuzz + Random numbers -------------- |