Commit Graph

5 Commits

Author SHA1 Message Date
Kevin Backhouse 63e38959bf
Build Exiv2 without inih library (#9437)
This fixes the build failure in Exiv2.

We recently added [inih](https://github.com/benhoyt/inih) as a
dependency to Exiv2, but we need a newer version of inih that includes
the C++ bindings. OSS-Fuzz is still using a docker image based on Ubuntu
20.04 which doesn't include a sufficiently up-to-date version of the
`libinih-dev` package. So I've added a build flag to Exiv2 in
https://github.com/Exiv2/exiv2/pull/2465 which enables us to build
without the inih dependency. The fuzz target doesn't need inih, so it
shouldn't make any difference to the fuzzing results.
2023-01-17 11:24:44 -08:00
Kevin Backhouse 0bf7af4a60
Use the install_dependencies.sh script from the exiv2 repo (#8835)
Call exiv2's `install_dependencies.sh` script rather than using a
hard-coded list of packages. This should make the build less fragile
when we add new dependencies to exiv2. (Example:
https://github.com/Exiv2/exiv2/pull/2381.)
2022-10-22 00:16:52 +01:00
Kevin Backhouse 43da75fcc0
Add @piponazo to Exiv2 auto_ccs (#7496) 2022-04-02 22:03:39 +01:00
Kevin Backhouse 67b90b57ab
Fix false positive result due to floating point divide by zero (which is not a bug). (#6549) 2021-10-02 15:33:52 +01:00
Kevin Backhouse c0b2a0076c
Add Exiv2 (#6186)
* Add Exiv2.

* Remove sanitizer flags so that OSS-Fuzz can insert its own.

* Using the fuzzer to create the seed corpus doesn't work with AFL.

* Only use libFuzzer

* Don't add files over 20KB to the corpus.

* Use ${LIB_FUZZING_ENGINE} when building the fuzz target.
2021-08-17 07:20:36 -07:00