Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Backhouse 1b5389975a Merge pull request #1806 from kevinbackhouse/FuzzMore
Call Metadatum::print() to increase fuzzing coverage.
2021-09-09 22:40:09 +01:00
Kevin Backhouse 9ff72e5ca5 Make offset=0 the default parameter. 2021-08-30 12:41:08 +01:00
Kevin Backhouse 61a14c45d1 Fix build failure. 2021-08-29 17:13:15 +01:00
Kevin Backhouse 5bfa568b63 Add OSS-Fuzz status badge and CIFuzz integration. 2021-08-17 17:47:17 +01:00
Kevin Backhouse cee9015ff8 Add special build mode for OSS-Fuzz. 2021-08-15 13:34:41 +01:00
Kevin Backhouse c710689a67 Call Metadatum::print() to increase fuzzing coverage. 2021-08-12 15:36:17 +01:00
Kevin Backhouse 89abcad124 Add LSAN suppressions. 2021-08-08 11:38:31 +01:00
Kevin Backhouse db1529aecc Remove redundant call to exifData(). 2021-07-28 11:35:20 +01:00
Kevin Backhouse 593fcbd865 Add fuzzing dictionary and test all printStructure() options 2021-07-27 22:51:13 +01:00
Kevin Backhouse 2d5cccd488 Enable fuzzing of bmffimage.cpp 2021-07-23 15:28:04 +01:00
Kevin Backhouse a7602639ea Add printing and writing to fuzzer. 2021-07-12 10:56:04 +01:00
Kevin Backhouse a3e4efe6b4 Rename fuzz target 2021-07-12 10:53:04 +01:00
Kevin Backhouse bf786f4cc6 Updates to make fuzzing work. 2021-07-11 21:14:08 +01:00
Jeka Pats b2cdf2a535 Add libFuzzer integration + report bug
This commit places the basics for libFuzzer integration with one
fuzzer which fuzzes the readMetadata function. The fuzzer is
located at fuzz/read-metadata.

To add more fuzzers please add them to ./fuzz directory as
described in the README.

Also a memory corruption bug is found using this fuzzer which
might lead to additional bugs after fix is pushed.
2021-07-09 12:32:21 +01:00