Skip to content

Draft: Add fuzz targets for OSS-Fuzz

Daniel Zaťovič requested to merge daniel.zatovic/cryptsetup:fuzzing into main

This MR adds LUKS2 fuzz targets. Two fuzz targets are available: non-intelligent (crypt2_load_fuzz) one and one with a protobuf-based custom mutator (crypt2_load_proto_fuzz).

The fuzz targets should be integrated with the OSS-Fuzz project (see associated changes in my fork of OSS-Fuzz).

This MR also contains seed corpora for both targets, which should be moved to the OSS-Fuzz repo in the future (in order not to bloat the cryptsetup repository).

Merge request reports