diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-01-11 21:27:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-01-11 21:43:15 +0100 |
commit | 54fc83ee6b910d482948c6ec8185df7aab1b0cb1 (patch) | |
tree | 10c04cad1392659a9ccef469271f866e393ebb48 /src/exchange-lib/afl-generate.sh | |
parent | 57ab9f9fdba607fcc3817adf58f37c5390f8d220 (diff) | |
download | exchange-54fc83ee6b910d482948c6ec8185df7aab1b0cb1.tar.xz |
fix cyclic dependency by combining exchange-lib and auditor-lib directories
Diffstat (limited to 'src/exchange-lib/afl-generate.sh')
-rw-r--r-- | src/exchange-lib/afl-generate.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/exchange-lib/afl-generate.sh b/src/exchange-lib/afl-generate.sh deleted file mode 100644 index b0afcab35..000000000 --- a/src/exchange-lib/afl-generate.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# This file is part of TALER -# Copyright (C) 2015 GNUnet e.V. -# -# TALER is free software; you can redistribute it and/or modify it under the -# terms of the GNU Affero General Public License as published by the Free Software -# Foundation; either version 3, or (at your option) any later version. -# -# TALER is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License along with -# TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> -# -# -# This will generate testcases in a directory 'afl-tests', which can then -# be moved into src/exchange/afl-tests/ to be run during exchange-testing. -# -# This script uses American Fuzzy Loop (AFL) to fuzz the exchange to -# automatically create tests with good coverage. You must install -# AFL and set AFL_HOME to the directory where AFL is installed -# before running. Also, a directory "baseline/" should exist with -# templates for inputs for AFL to fuzz. These can be generated -# by running wireshark on loopback while running 'make check' in -# this directory. Save each HTTP request to a new file. -# -# Note that you want to switch 'TESTRUN = NO' and pre-init the -# database before running this, otherwise it will be awfully slow. -# -# Must be run from this directory. -# -$AFL_HOME/afl-fuzz -i baseline/ -m 250 -o afl-tests/ -f /tmp/afl-input taler-exchange-httpd -i -f /tmp/afl-input -d test-exchange-home/ -C |