fuzz: disable all deps when building with oss-fuzz
The fuzz targets are intended to be fast and only target systemd code, so they don't need to call out to any dependencies. They also shouldn't depend on shared libraries outside of libc, so we disable every dependency when compiling against oss-fuzz. This also simplifies the upstream build environment significantly.
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ set -ex
|
||||
|
||||
export LC_CTYPE=C.UTF-8
|
||||
|
||||
meson $WORK -Doss-fuzz=true -Db_lundef=false -Dseccomp=false -Dlz4=false -Dlibiptc=false -Dlibidn=false
|
||||
meson $WORK -Doss-fuzz=true -Db_lundef=false
|
||||
ninja -C $WORK fuzzers
|
||||
|
||||
# get DNS packet corpus
|
||||
|
||||
Reference in New Issue
Block a user