aboutsummaryrefslogtreecommitdiff
path: root/FUZZING.md
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2016-03-03 09:50:25 -0800
committerDavid Benjamin <davidben@google.com>2016-03-03 18:05:34 +0000
commitddcc186ef15a7739d370768327007d3259b77328 (patch)
treebd75e57ac7d76fa51ee79f63ca48afbc187e8695 /FUZZING.md
parentde29f36cf4b538ac2027c36fc9d0ccf75a745320 (diff)
downloadboringssl-ddcc186ef15a7739d370768327007d3259b77328.zip
boringssl-ddcc186ef15a7739d370768327007d3259b77328.tar.gz
boringssl-ddcc186ef15a7739d370768327007d3259b77328.tar.bz2
Document how to minimise corpuses.
Change-Id: Ie487163787d78d867e34709fb34b4c6a836f668d Reviewed-on: https://boringssl-review.googlesource.com/7275 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'FUZZING.md')
-rw-r--r--FUZZING.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/FUZZING.md b/FUZZING.md
index 4bd15a3..16eede8 100644
--- a/FUZZING.md
+++ b/FUZZING.md
@@ -38,3 +38,9 @@ Here are the recommended values of `max_len` for each test.
| `cert` | 3072 |
| `server` | 1024 |
| `client` | 4096 |
+
+## Minimising the corpuses
+
+When a large number of new seeds are available, it's a good idea to minimise the corpus so that different seeds that trigger the same code paths can be deduplicated.
+
+In order to minimise all the corpuses, build for fuzzing and run `./fuzz/minimise_corpuses.sh`. Note that minimisation is, oddly, often not idempotent for unknown reasons.