• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This directory contains source code and build scripts for coverage-guided
2fuzzers.
3
4Detailed instructions are available at:
5
6  https://github.com/google/oss-fuzz/blob/master/docs/
7
8Quick start:
9
10  Build a container from the cras directory
11
12    $ sudo docker build -t ossfuzz/cras -f src/fuzz/Dockerfile .
13
14  Build fuzzers
15
16    $ sudo docker run -ti --rm -v $(pwd):/src/cras -v /tmp/fuzzers:/out \
17                 ossfuzz/cras
18
19  Look in /tmp/fuzzers to see the executables. Run them like so:
20
21    $ sudo docker run -ti -v $(pwd)/src/fuzz/corpus:/corpus \
22            -v /tmp/fuzzers:/out ossfuzz/base-runner /out/rclient_message \
23            /corpus -runs=100
24