summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 15:00:59 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 16:14:18 +0100
commit396faab678b5e3fe4280e55c9184a503b5ddf0ba (patch)
tree4df887deecf042bed6a35e9958e9a0741374344a
parent091f5079a714a619d6f8044f1fed02d7a48ab5c7 (diff)
downloadgnutls-396faab678b5e3fe4280e55c9184a503b5ddf0ba.tar.gz
doc: document how to enhance the testsuite with issues found
-rw-r--r--devel/fuzz/README.md23
1 files changed, 21 insertions, 2 deletions
diff --git a/devel/fuzz/README.md b/devel/fuzz/README.md
index 2961532810..5471255e71 100644
--- a/devel/fuzz/README.md
+++ b/devel/fuzz/README.md
@@ -30,5 +30,24 @@ using the original docker instance used to find the issue as follows.
sudo docker run --rm -e ASAN_OPTIONS="detect_leaks=0" -ti -v $FILE:/testcase ossfuzz/gnutls reproduce gnutls_pkcs7_parser_fuzzer
```
-
-
+# Enhancing the testsuite for issues found
+
+For the following tests dropping a file to a subdirectory in tests is
+sufficient:
+
+|---------------------------|-------------------------|
+|gnutls_client_fuzzer | tests/client-interesting|
+|gnutls_pkcs7_parser_fuzzer | tests/pkcs7-interesting |
+|gnutls_x509_parser_fuzzer | tests/certs-interesting |
+|---------------------------|-------------------------|
+
+The following require modifying a test case. Mappings are shown in the
+table below.
+
+|---------------------------------|----------------------------------------------------------|
+|gnutls_dn_parser_fuzzer |tests/x509-dn-decode.c |
+|gnutls_openpgp_cert_parser_fuzzer|tests/cert-tests/openpgp-cert-parser |
+|gnutls_pkcs8_key_parser_fuzzer |tests/key-tests/pkcs8-invalid,tests/key-tests/pkcs8-decode|
+|gnutls_private_key_parser_fuzzer |tests/key-tests/key-invalid |
+|gnutls_server_fuzzer |none atm (should duplicate the client fuzzer) |
+|---------------------------------|----------------------------------------------------------|