Debian Codegraph @

suite/fuzz/fuzzit.sh

raw symbols SCIP
1 FUZZIT_API_KEY=f10b19a56d96b29dfdfe459d41b3d82e475e49c737095c74c99d65a032d5c2ab84d44dad510886bc824f101a860b1754
2
3 [ -s ./suite/fuzz/fuzz_bindisasm2 ] || exit 0
4
5 if [ ${TRAVIS_EVENT_TYPE} -eq 'cron' ]; then
6 FUZZING_TYPE=fuzzing
7 else
8 FUZZING_TYPE=sanity
9 fi
10 if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
11 FUZZIT_BRANCH="${TRAVIS_BRANCH}"
12 else
13 FUZZIT_BRANCH="PR-${TRAVIS_PULL_REQUEST}"
14 fi
15
16 FUZZIT_ARGS="--type ${FUZZING_TYPE} --branch ${FUZZIT_BRANCH} --revision ${TRAVIS_COMMIT}"
17 if [ -n "$UBSAN_OPTIONS" ]; then
18 FUZZIT_ARGS+=" --ubsan_options ${UBSAN_OPTIONS}"
19 fi
20 wget -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v1.2.5/fuzzit_1.2.5_Linux_x86_64
21 chmod +x fuzzit
22 ./fuzzit auth ${FUZZIT_API_KEY}
23 set -x
24 grep "$QA_FUZZIT" suite/fuzz/fuzzitid.txt | cut -d" " -f2 | while read i; do
25 ./fuzzit c job ${FUZZIT_ARGS} ${i} ./suite/fuzz/fuzz_bindisasm2
26 done
27 set +x