25.1.4. Fuzz Testing

To enable fuzz targets compilation, add --enable-fuzztargets to configure.

Note

This changes various parts of Suricata making the suricata binary unsafe for production use.

The targets can be used with libFuzzer, AFL and other fuzz platforms.

25.1.4.1. Running the Fuzzers

TODO. For now see src/tests/fuzz/README

25.1.4.1.1. Reproducing issues

25.1.4.2. Extending Coverage

25.1.4.3. Adding Fuzz Targets

25.1.4.4. Oss-Fuzz

Suricata is continuously fuzz tested in Oss-Fuzz. See https://github.com/google/oss-fuzz/tree/master/projects/suricata