summaryrefslogtreecommitdiffstats
path: root/libnetdata/gorilla/fuzzer.sh
blob: 9dfdec055e5c9353347f118b034f401724387bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

set -exu -o pipefail

clang++ \
    -std=c++11 -Wall -Wextra \
    -DENABLE_FUZZER -O2 -g \
    -fsanitize=fuzzer \
    -o gorilla_fuzzer gorilla.cc

./gorilla_fuzzer -workers=8 -jobs=8