google / google/libprotobuf-mutator

Ability to fail test when seed corpus cannot be parsed

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
667
Forks
134
PR merge metrics
No merged PRs in 30d

Description

I would like our fuzz test target to fail when the input in the seed corpus is malformed.

Currently, when we get the following error, the tests still pass without doing anything:

```
[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/text_format.cc:309] Error parsing text-format ...
```

This would make it easier to maintain if someone changes the proto structure without changing the seed corpus.

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.