Paul Semel 77ea427e31
centipede: create workdir in prepare instead of the constructor (#4674)
It turns out that the same class can be used for different fuzzing
rounds, and the parent directory of the temp dir is being cleared in
between each round. For that reason, we need to re-create a workdir in
`prepare`.
2025-02-07 15:40:17 -05:00
..
2019-02-01 14:54:47 -08:00
2019-01-30 09:55:19 -08:00
2024-08-11 21:03:30 -03:00

ClusterFuzz

This directory contains the source of ClusterFuzz.

Building and testing libClusterFuzz

Run ./build.sh to build the pip package.

For testing, use a fresh Python 3 virtualenv, and install the package by running pip install dist/*.whl.

Then,

$ cd tests
$ python -m unittest

Publishing

Increment the version field in setup.py, then run ./build.sh to build the pip package. TODO: Tie pip package version to ClusterFuzz version once it's stable.

Per [https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives], to publish the pip package,

$ python3 -m pip install --user --upgrade twine
$ python3 -m twine upload dist/*