aboutsummaryrefslogtreecommitdiff
path: root/fuzz/README.md
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2017-02-19 17:09:45 +0100
committerKurt Roeckx <kurt@roeckx.be>2017-04-16 19:30:14 +0200
commit930aa9eeedd57478418ee267bb91d15ac95b1a78 (patch)
tree22e50cf8d85807bb651bad3cab934ffa70e8c73f /fuzz/README.md
parentb534df96c99b7f6103188005a688944645e2ec7b (diff)
downloadopenssl-930aa9eeedd57478418ee267bb91d15ac95b1a78.zip
openssl-930aa9eeedd57478418ee267bb91d15ac95b1a78.tar.gz
openssl-930aa9eeedd57478418ee267bb91d15ac95b1a78.tar.bz2
Document how to update the corpus.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #2683
Diffstat (limited to 'fuzz/README.md')
-rw-r--r--fuzz/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/fuzz/README.md b/fuzz/README.md
index b4a40df..3800ef1 100644
--- a/fuzz/README.md
+++ b/fuzz/README.md
@@ -117,3 +117,15 @@ Since the corpus depends on the default behaviour of the client and the server,
changes in what they send by default will have an impact on the coverage. The
corpus will need to be updated in that case.
+Updating the corpus
+===================
+
+The client and server corpus is generated with multiple config options:
+- The options as documented above
+- Without enable-ec_nistp_64_gcc_128 and without --debug
+- With no-asm
+- Using 32 bit
+- A default config, plus options needed to generate the fuzzer.
+
+The libfuzzer merge option is used to add the additional coverage
+from each config to the minimal set.