Status: Early prototype phase
The tools supports various tasks (e.g. reproduce a crash locally) needed by ClusterFuzz's users.
Currently, it supports reproducing a crash locally. In the future, it will support uploading a fuzzer, tailing fuzzer log, and uploading a testcase.
- gsutil
blackbox
andxdotool
; these can be installed withapt-get
.
ClusterFuzz tools is a single binary file built with Pex. Therefore, you can simply copy the binary and run it.
For Goobuntu:
- Run
prodaccess
. - Run
/google/data/ro/teams/clusterfuzz-tools/releases/clusterfuzz reproduce -h
.
For others:
- Download the latest stable version.
- Run
clusterfuzz-<version>.pex reproduce -h
.
See <binary> reproduce --help
. Run <binary> reproduce [testcase-id]
.
Here's the workflow (we think) might be appropriate when fixing a bug:
- Run
<binary> reproduce [testcase-id]
. - Make a new branch and make a code change.
- Run against the code change with
<binary> reproduce [testcase-id] --current
. - If the crash doesn’t occur anymore, it means your code change fixes the crash.