aboutsummaryrefslogtreecommitdiff
path: root/projects/libheif
diff options
context:
space:
mode:
authorJoachim Bauch <bauch@struktur.de>2019-11-18 16:49:40 +0100
committerAbhishek Arya <inferno@chromium.org>2019-11-18 07:49:40 -0800
commitcc29867bf566d852189135296a1eedac21cf034e (patch)
treec24c3d3ef303b56829b35316250c0bada1162345 /projects/libheif
parenta243d33b19a200123b143f966682e17265ccc74d (diff)
downloadoss-fuzz-cc29867bf566d852189135296a1eedac21cf034e.tar.gz
[libheif] Also run fuzzers on i386 (#3042)
* Explicitly link against "$LIB_FUZZING_ENGINE" in libFuzzer mode. Previously was linking against "-lFuzzingEngine" which doesn't work on i386 builds. * Also run libheif fuzzers on i386.
Diffstat (limited to 'projects/libheif')
-rwxr-xr-xprojects/libheif/build.sh2
-rw-r--r--projects/libheif/project.yaml3
2 files changed, 4 insertions, 1 deletions
diff --git a/projects/libheif/build.sh b/projects/libheif/build.sh
index 2f19bc882..d2aed395a 100755
--- a/projects/libheif/build.sh
+++ b/projects/libheif/build.sh
@@ -56,7 +56,7 @@ PKG_CONFIG="pkg-config --static" PKG_CONFIG_PATH="$DEPS_PATH/lib/pkgconfig" ./co
--enable-static \
--disable-examples \
--disable-go \
- --enable-libfuzzer
+ --enable-libfuzzer="$LIB_FUZZING_ENGINE"
make clean
make -j$(nproc)
diff --git a/projects/libheif/project.yaml b/projects/libheif/project.yaml
index 896b1fa07..b3ea45268 100644
--- a/projects/libheif/project.yaml
+++ b/projects/libheif/project.yaml
@@ -2,3 +2,6 @@ homepage: "https://github.com/strukturag/libheif"
primary_contact: "dirk.farin@gmail.com"
auto_ccs:
- "mail@joachim-bauch.de"
+architectures:
+ - i386
+ - x86_64