arangodb / velocypack

A fast and compact format for serialization and storage
Other
420 stars 40 forks source link

Include fuzzer tool #114

Closed cpjulia closed 2 years ago

cpjulia commented 2 years ago

This PR adds the basics for a customized fuzzer tool for velocypack, in which VPack or JSON type structures are created and then validated. This is the usage:

Usage: <fuzzer-dir>/fuzzer [OPTIONS] [ITERATIONS] [THREADS]
This program creates <iterations> random VPack or JSON structures and validates them.
The paralelization is supplied by <threads>.
Available options are:
 --vpack       create VPack.
 --json        create JSON.
 <iterations>  number of iterations. Default: 1
 <threads>  number of threads. Default: 1
coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.0007%) to 96.726% when pulling a671d88c1c7c3016f6a8641dd869187c5181d9c9 on feature/velocypack-fuzz-tool into ceab866a780055abb8ae0c428e95db58043b5898 on main.