summaryrefslogtreecommitdiff
path: root/fuzz/harnesses/fuzz_bio
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-04-17 20:57:17 +0100
committerColin Watson <cjwatson@debian.org>2020-04-17 20:57:17 +0100
commit75073d0a8478441cc97a6efa10b566c5fb1dac81 (patch)
treeb73bff259e1b16829ed8b19ee92df2bbbf36ef7d /fuzz/harnesses/fuzz_bio
parentc923f422b1e455bdd8ec3bdb10d005e3bfbacfe0 (diff)
New upstream version 1.4.0
Diffstat (limited to 'fuzz/harnesses/fuzz_bio')
-rwxr-xr-xfuzz/harnesses/fuzz_bio29
1 files changed, 0 insertions, 29 deletions
diff --git a/fuzz/harnesses/fuzz_bio b/fuzz/harnesses/fuzz_bio
deleted file mode 100755
index f4bab19..0000000
--- a/fuzz/harnesses/fuzz_bio
+++ /dev/null
@@ -1,29 +0,0 @@
1#!/bin/bash -u
2# Copyright (c) 2019 Yubico AB. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6T=fuzz_bio
7
8sync() {
9 mkdir ${T}
10 ssh "${REMOTE}" "cd ${T} && tar -cf- corpus" | tar -C ${T} -xf-
11}
12
13run() {
14 build/fuzz/fuzz_bio -max_len=17408 -runs=1 ${T}/corpus \
15 2>/dev/null 1>&2
16}
17
18case "$1" in
19sync)
20 sync
21 ;;
22run)
23 run
24 exit 0
25 ;;
26*)
27 echo unknown command "$1"
28 exit 1
29esac