interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / ci / run-build-and-minimal-fuzzers.sh

32 lines · 521 bytes Raw Blame History
1#!/bin/sh
2#
3# Build and test Git's fuzzers
4#
5
6. ${0%/*}/lib.sh
7
8group "Build fuzzers" make \
9 NO_CURL=NoThanks \
10 CC=clang \
11 FUZZ_CXX=clang++ \
12 CFLAGS="-fsanitize=fuzzer-no-link,address" \
13 LIB_FUZZING_ENGINE="-fsanitize=fuzzer,address" \
14 fuzz-all
15
16fuzzers="
17commit-graph
18config
19credential-from-url-gently
20date
21pack-headers
22pack-idx
23parse-attr-line
24reftable
25url-decode-mem
26"
27
28for fuzzer in $fuzzers; do
29 begin_group "fuzz-$fuzzer"
30 ./oss-fuzz/fuzz-$fuzzer -verbosity=0 -runs=1 || exit 1
31 end_group "fuzz-$fuzzer"
32done