diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2019-07-10 03:46:35 +0200 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2019-07-10 04:11:52 +0200 |
commit | f34635bcda4e725f72da4ae982b83daf36609b41 (patch) | |
tree | bb9017342eb941d44f4e3511afab6cf4823269d1 /fuzzbuzz.yaml | |
parent | importd: Avoid need for fd translation table (diff) | |
download | systemd-f34635bcda4e725f72da4ae982b83daf36609b41.tar.xz systemd-f34635bcda4e725f72da4ae982b83daf36609b41.zip |
fuzzbuzz: rename fuzz.yaml to fuzzbuzz.yaml
fuzz.yaml will stop working in a week
Diffstat (limited to 'fuzzbuzz.yaml')
-rw-r--r-- | fuzzbuzz.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/fuzzbuzz.yaml b/fuzzbuzz.yaml new file mode 100644 index 0000000000..f64af60e01 --- /dev/null +++ b/fuzzbuzz.yaml @@ -0,0 +1,32 @@ +base: ubuntu:16.04 +language: c +setup: +- sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list" +- sudo apt-get update -y +- sudo apt-get build-dep -y systemd +- sudo apt-get install -y python3-pip +- pip3 install meson ninja +- export PATH="$HOME/.local/bin/:$PATH" +- CC=$FUZZ_CC CXX=$FUZZ_CXX meson -Dfuzzbuzz=true -Dfuzzbuzz-engine-dir=$(dirname "$FUZZ_ENGINE") -Dfuzzbuzz-engine=$(cut -d. -f1 <(basename "$FUZZ_ENGINE")) -Db_lundef=false ./build +- ninja -v -C ./build fuzzers +environment: +targets: +- name: fuzz-compress + harness: + binary: ./build/fuzz-compress +- name: fuzz-unit-file + harness: + binary: ./build/fuzz-unit-file + corpus: ./test/fuzz/fuzz-unit-file +- name: fuzz-journald-syslog + harness: + binary: ./build/fuzz-journald-syslog + corpus: ./test/fuzz/fuzz-journald-syslog +- name: fuzz-netdev-parser + harness: + binary: ./build/fuzz-netdev-parser + corpus: ./test/fuzz/fuzz-netdev-parser +- name: fuzz-network-parser + harness: + binary: ./build/fuzz-network-parser + corpus: ./test/fuzz/fuzz-network-parser |