Debian Codegraph @

test/afl/fuzzing-wrappers/helpers/afl-cmin/server-conf-cmin.sh

raw
1 #!/bin/sh -x
2
3 . ./fuzzing-wrappers/fcns
4
5 ### generate test corpus directly from the main test suite
6 ### config files
7 CONF_DIR=../conf
8 IN_DIR=$CONF_DIR
9 OUT_DIR="test-cases/server-conf.cmin"
10 FUZZ_FILE=fwknopd_conf.tmp
11
12 LD_LIBRARY_PATH=../../lib/.libs afl-cmin -i $IN_DIR \
13 -f $FUZZ_FILE -o $OUT_DIR $SERVER \
14 -a $CONF_DIR/default_access.conf \
15 -c $FUZZ_FILE -O $CONF_DIR/override_no_digest_tracking_fwknopd.conf \
16 -A -f -t --exit-parse-config -v -v -v -r `pwd`/run
17
18 exit $?