summaryrefslogtreecommitdiff
path: root/fuzz/harnesses/assert
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/harnesses/assert')
-rwxr-xr-xfuzz/harnesses/assert32
1 files changed, 0 insertions, 32 deletions
diff --git a/fuzz/harnesses/assert b/fuzz/harnesses/assert
deleted file mode 100755
index 55cd889..0000000
--- a/fuzz/harnesses/assert
+++ /dev/null
@@ -1,32 +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=assert
7
8sync() {
9 mkdir ${T}
10 ssh "${REMOTE}" "cd ${T}/afl-out && tar -cf- queue ../pubkey" | \
11 tar -C ${T} -xf-
12}
13
14run() {
15 find ${T}/queue -type f | while read f; do
16 cat "${f}" | LD_PRELOAD=${PRELOAD} build/examples/assert \
17 ${T}/pubkey nodev 2>/dev/null 1>&2
18 done
19}
20
21case "$1" in
22sync)
23 sync
24 ;;
25run)
26 run
27 exit 0
28 ;;
29*)
30 echo unknown command "$1"
31 exit 1
32esac