Skip to content

Latest commit

 

History

History
executable file
·
21 lines (14 loc) · 318 Bytes

fuzz.sh

File metadata and controls

executable file
·
21 lines (14 loc) · 318 Bytes
 
1
2
#!/usr/bin/env bash
Jan 5, 2017
Jan 5, 2017
3
source $(dirname "$0")/tools.sh
Jan 13, 2017
Jan 13, 2017
5
6
7
type="$1"
shift
8
9
10
11
12
13
# Fetch artifact if needed.
fetch_dist
# Clone corpus.
./nss/fuzz/clone_corpus.sh
Jan 13, 2017
Jan 13, 2017
14
15
16
# Ensure we have a directory.
mkdir -p nss/fuzz/corpus/$type
17
18
19
20
# Fetch objdir name.
objdir=$(cat dist/latest)
# Run nssfuzz.
Jan 20, 2017
Jan 20, 2017
21
dist/$objdir/bin/nssfuzz-"$type" "$@"