summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/gorilla/fuzzer.sh
blob: 19098a615f19df13a5acfd752d054fa7a9aa392f (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=12 -jobs=16