mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
oss-fuzz: move apt-gets and pips to the systemd repository
to be able to control our dependencies right here without sending PRs like https://github.com/google/oss-fuzz/pull/5199 and https://github.com/google/oss-fuzz/pull/5601. It should also allow us to pin meson to let Dependabot keep track of it and jump from one version to another without breaking anything
This commit is contained in:
parent
39c37ca2d2
commit
2fd1beb3e2
@ -31,6 +31,13 @@ if [ -z "$FUZZING_ENGINE" ]; then
|
||||
fuzzflag="llvm-fuzz=true"
|
||||
else
|
||||
fuzzflag="oss-fuzz=true"
|
||||
|
||||
apt-get update
|
||||
apt-get install -y gperf m4 gettext python3-pip \
|
||||
libcap-dev libmount-dev libkmod-dev \
|
||||
pkg-config wget
|
||||
pip3 install meson ninja jinja2
|
||||
|
||||
if [[ "$SANITIZER" == undefined ]]; then
|
||||
UBSAN_FLAGS="-fsanitize=pointer-overflow -fno-sanitize-recover=pointer-overflow"
|
||||
CFLAGS="$CFLAGS $UBSAN_FLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user