From 930aa9eeedd57478418ee267bb91d15ac95b1a78 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sun, 19 Feb 2017 17:09:45 +0100 Subject: [PATCH] Document how to update the corpus. Reviewed-by: Rich Salz Reviewed-by: Andy Polyakov GH: #2683 --- fuzz/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fuzz/README.md b/fuzz/README.md index b4a40df917..3800ef166c 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. -- 2.25.1