fuzzing: Add basic fuzzing framework using oss-fuzz
See fuzzing/README.md for details. oss-fuzz (https://github.com/google/oss-fuzz) is a project run by Google which automatically runs fuzz testing on open source projects and files issues if it finds bugs.
It requires some tests to run, each of which needs to take an arbitrary
binary blob as input. It also requires some configuration for how to
build the project — that will live in the oss-fuzz project on GitHub as
projects/xdgmime/
.
Signed-off-by: Philip Withnall pwithnall@gnome.org
This MR is based on top of !34 (merged) to avoid merge conflicts. Only the topmost two commits are relevant here.