bazel-contrib / bazel-contrib/rules_fuzzing

Loading corpus inputs from a (compressed) archive.

Open
#215 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
93
Forks
26
PR merge metrics
No merged PRs in 30d

Description

As a result of increased fuzzing in our organization, we now have thousands of fuzz corpus files (admittedly a good problem to have :) Currently, we individually store all of these corpus files and pass them to `cc_fuzz_test`'s `corpus = glob(["my-corpus-directory/*"])`.

Given the proliferation of corpus files, we are interested in storing fuzz corpora in compressed archives (say, as a single `corpus.tar.gz` for every `cc_fuzz_test`). Are there existing Bazel rules that can help us feed a compressed archive to `cc_fuzz_test`'s `corpus` parameter? Alternatively, can we extend `rules_fuzzing` to support, say, `corpus_archives = ["corpus.tar.gz"]`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.