Skip to content

Commit

Permalink
Remove .options files for libFuzzers and update FUZZING.md documentat…
Browse files Browse the repository at this point in the history
…ion.

Due to https://codereview.chromium.org/1867833002/ replacing .options files.

Change-Id: I17f0d5b8b1784fdcf163791e72f6b58b29657e95
Reviewed-on: https://boringssl-review.googlesource.com/7640
Reviewed-by: David Benjamin <davidben@google.com>
  • Loading branch information
Max Moroz authored and davidben committed Apr 12, 2016
1 parent e4c678a commit 188487f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
12 changes: 11 additions & 1 deletion FUZZING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ From the `build/` directory, you can then run the fuzzers. For example:

The arguments to `jobs` and `workers` should be the number of cores that you wish to dedicate to fuzzing. By default, libFuzzer uses the largest test in the corpus (or 64 if empty) as the maximum test case length. The `max_len` argument overrides this.

The recommended values of `max_len` for each test may be found in `.options` files alongside the test source. These were determined by rounding up the length of the largest case in the corpus. When writing a new fuzzer, configure `max_len` in a similar file.
The recommended values of `max_len` for each test are:

| Test | `max_len` value |
|-----------|-----------------|
| `privkey` | 2048 |
| `cert` | 3072 |
| `server` | 4096 |
| `client` | 20000 |


These were determined by rounding up the length of the largest case in the corpus.

There are directories in `fuzz/` for each of the fuzzing tests which contain seed files for fuzzing. Some of the seed files were generated manually but many of them are “interesting” results generated by the fuzzing itself. (Where “interesting” means that it triggered a previously unknown path in the code.)

Expand Down
2 changes: 0 additions & 2 deletions fuzz/cert.options

This file was deleted.

2 changes: 0 additions & 2 deletions fuzz/client.options

This file was deleted.

2 changes: 0 additions & 2 deletions fuzz/privkey.options

This file was deleted.

2 changes: 0 additions & 2 deletions fuzz/server.options

This file was deleted.

0 comments on commit 188487f

Please sign in to comment.