Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 517 Bytes

fuzzing.md

File metadata and controls

20 lines (15 loc) · 517 Bytes

Fuzzing

To build the fuzzers and run them in test only mode:

rm -rf .build
tools/fuzz.sh

To run the fuzzer and find bugs:

mkdir /tmp/fuzz
./.build/opencensus/trace/opencensus_trace_cloud_trace_context_fuzzer \
  /tmp/fuzz opencensus/trace/internal/cloud_trace_context_corpus

The corpus directories are not meant to give complete coverage, but rather should only contain manually generated inputs that serve as a seed for the fuzzer, so it can more quickly find a useful search space.