Removes glob in cc_fuzz_test (#57)

Removes glob in cc_fuzz_test and supports copying corpus directory

1) moves glob in cc_fuzz_test to BUILD, which put the responsibility of
expanding the file path to user;
2) supports passing directory in fuzzing_corpus;
3) adds a filegroup into the corpus of empty_fuzz_test_with_corpus as a
example of passing the filegroup.
4) adds test_corpus_dir to test fuzzing_corpus on directory; pkg_zip on <name>_corpus rather than on corpus directly; formats codes


Signed-off-by: tengpeng <tengpeng.li2020@gmail.com>

	modified:   examples/BUILD
	new file:   examples/corpus_0.txt
        new file:   examples/test_corpus_dir/corpus_0.txt
	modified:   fuzzing/cc_deps.bzl
	modified:   fuzzing/common.bzl
5 files changed
tree: dc6e4e96644d3d366c10d95efc0d40aadd5e0058
  1. .github/
  2. docs/
  3. examples/
  4. fuzzing/
  5. .bazelrc
  6. BUILD
  7. CODEOWNERS
  8. LICENSE
  9. README.md
  10. WORKSPACE
README.md

Bazel Rules for Fuzz Tests

This repository contains Bazel Starlark extensions for defining fuzz tests in Bazel projects.

This is not an officially supported Google product.