google / google/libprotobuf-mutator

feasibility of using libprofobuf-mutator for highly complex nested protobuf in heavy compuation program

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

Description

I currently have a computationally intensive algorithm program, where the input is a collection of `highly complex nested protobuf` type data. The computation time for each time(frame) is approximately 100ms.

I want to increase branch coverage and explore possible crash risks by importing production data (real data from various proto fields) and then using protobuf mutator to mutate a large number of values near the production data for the fuzzing test.

Is protobuf mutator feasible for my situation? Mainly considering two issues

1. The protobuf of production data is very large. For one frame calculation of the program, some of the serialized message of protobuf may have a size over 1M. I'm not sure about the effeciency of the mutator under this circumstance.

2. Does the slow computation per frame (100ms per frame) also make the mutator inefficient?

Finally, if the libprotobuf-mutator is not suitable for my situation, is there any recommended approcach for doing `fuzzing test for highly complex nested protobuf in (computationally intensive algorithm)/(slow C++ program) `?

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.