diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2016-12-06 13:14:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 13:14:35 -0800 |
commit | e5e94ec92108754011a5540cfc77f42ee4d8d41f (patch) | |
tree | e388260076bbb89b413a8527185a03727ab5355f /docs/corpora.md | |
parent | a042c551d41c0b44fa80ac8280f69c7676f9046d (diff) |
Update corpora.md
Diffstat (limited to 'docs/corpora.md')
-rw-r--r-- | docs/corpora.md | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/corpora.md b/docs/corpora.md index ed30f9a9..bf65617c 100644 --- a/docs/corpora.md +++ b/docs/corpora.md @@ -1,6 +1,6 @@ # Accessing Corpora -If you would like to access the corpora that we are using for your fuzz targets (synthesized by the fuzzing engine), please follow these steps. +If you would like to access the corpora that we are using for your fuzz targets (synthesized by the fuzzing engines), please follow these steps. ## Install Google Cloud SDK @@ -9,15 +9,25 @@ Follow the instructions on the installation page to login with a Google account ## Viewing the corpus for a fuzz target -The fuzzer statistics page for your project on [ClusterFuzz](clusterfuzz.md) will contain a link to the Google Cloud console for your corpus under the "corpus_size" column. +The fuzzer statistics page for your project on [ClusterFuzz](clusterfuzz.md) will contain a link to the Google Cloud console for your corpus under the "corpus_size" column. You can browse and download individual units in the corpus here. ![viewing_corpus] (https://raw.githubusercontent.com/google/oss-fuzz/master/docs/images/viewing_corpus.png) ## Downloading the corpus -TODO. +If you would like to download the entire corpus, from the cloud console link, copy the bucket path highlighted here: + +![corpus_path] +(https://raw.githubusercontent.com/google/oss-fuzz/master/docs/images/corpus_path.png) + +And then run the following command to copy the corpus to a directory on your machine. ```bash gsutil -m rsync gs://<corpus_path> <local_directory> ``` +Following the expat example above, this would be: + +```bash +gsutil -m rsync gs://expat-corpus.clusterfuzz-external.appspot.com/libFuzzer/expat_parse_fuzzer <local_directory> +``` |