From 14fbff26a810ae9c0804f4975da0f5024906a2d7 Mon Sep 17 00:00:00 2001 From: Clemens Backes Date: Tue, 17 Nov 2020 18:55:33 +0100 Subject: [PATCH] [js-fuzzer][doc] Add a better download URL For people not too familiar with cloud storage, the direct URL makes it easier to download the zip archive. R=machenbach@chromium.org Bug: chromium:1142437, v8:10891 Change-Id: I6b29ebaac37489a73c4f75473d07e04e7200f2c3 No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543395 Commit-Queue: Clemens Backes Reviewed-by: Michael Achenbach Cr-Commit-Position: refs/heads/master@{#71276} --- tools/clusterfuzz/js_fuzzer/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/clusterfuzz/js_fuzzer/README.md b/tools/clusterfuzz/js_fuzzer/README.md index a537ad7a62..71a1140fe1 100644 --- a/tools/clusterfuzz/js_fuzzer/README.md +++ b/tools/clusterfuzz/js_fuzzer/README.md @@ -14,8 +14,11 @@ contained binary) out of this. You need to intall nodejs and npm. Run `npm install` in this directory. ## Fuzzing DB -This fuzzer requires a fuzzing DB. To build one, get the latest web_tests.zip -from `gs://clusterfuzz-data/web_tests.zip` and run: +This fuzzer requires a fuzzing DB. To build one, get the latest `web_tests.zip` +from [gs://clusterfuzz-data/web_tests.zip]( +https://storage.cloud.google.com/clusterfuzz-data/web_tests.zip) and unzip it +(note https://crbug.com/v8/10891 for making this data publicly available). +Then run: ```bash $ mkdir db @@ -90,7 +93,7 @@ $ workdir/output The `app_dir` folder can be a symlink or should contain the bundled version of `d8` with all files required for execution. -The copy the packaged `ochang_js_fuzzer` executable and the `db` folder +Copy the packaged `ochang_js_fuzzer` executable and the `db` folder to the `fuzzer` directory or use a symlink. The `input` directory is the root folder of the corpus, i.e. pointing to the unzipped data of `gs://clusterfuzz-data/web_tests.zip`.