diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-05-02 10:14:38 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-02 14:21:17 +0000 |
commit | 20331dea3f6165ed5efa68ae826fdf2a0ab6642c (patch) | |
tree | 9d62ff5cd66b2f3451dc05568249183f2c1d8a0e /site | |
parent | 8a232023e192b30a2148b0c07116e43f800d3233 (diff) |
Add public repro instructions for repoducing fuzzers
No-Try: true
Docs-Preview: https://skia.org/?cl=125241
Bug: skia:
Change-Id: I5bf3409a0a7895e636a9b0c6845239bb17b42fa5
Reviewed-on: https://skia-review.googlesource.com/125241
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'site')
-rw-r--r-- | site/dev/testing/fuzz.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/site/dev/testing/fuzz.md b/site/dev/testing/fuzz.md new file mode 100644 index 0000000000..1db486732b --- /dev/null +++ b/site/dev/testing/fuzz.md @@ -0,0 +1,21 @@ +Reproducing Skia Fuzzes +======================= + +We assume that you can [build Skia](/user/build). Many fuzzes only reproduce +when building with ASAN or MSAN; see [those instructions for more details](./xsan). + +All that is needed to reproduce a fuzz downloaded from ClusterFuzz, oss-fuzz or +fuzzer.skia.org is to run something like: + + out/ASAN/fuzz -b /path/to/downloaded/testcase + +The fuzz binary will try its best to guess what the type/name should be based on +the name of the testcase. Manually providing type and name is also supported, like: + + out/ASAN/fuzz -t filter_fuzz -b /path/to/downloaded/testcase + out/ASAN/fuzz -t api -n RasterN32Canvas -b /path/to/downloaded/testcase + +To enumerate all supported types and names, run the following: + + out/ASAN/fuzz --help # will list all types + out/ASAN/fuzz -t api # will list all names
\ No newline at end of file |