File tree 4 files changed +9
-5
lines changed
4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
export AFL_SKIP_BIN_CHECK=1
3
3
export PYTHON_AFL_SIGNAL=${PYTHON_AFL_SIGNAL:- SIGUSR1}
4
+ prog=" ${0##*/ } "
4
5
if ! command -v afl-cmin > /dev/null
5
6
then
6
7
cat >&2 << EOF
7
- $0 : afl-cmin not found
8
+ $prog : afl-cmin not found
8
9
Is AFL <http://lcamtuf.coredump.cx/afl/> installed?
9
10
EOF
10
11
exit 127
Original file line number Diff line number Diff line change 2
2
export AFL_SKIP_CHECKS=1 # AFL << 1.20b
3
3
export AFL_SKIP_BIN_CHECK=1 # AFL >= 1.20b
4
4
export AFL_DUMB_FORKSRV=1
5
+ prog=" ${0##*/ } "
5
6
if [ -n " $PYTHON_AFL_DUMB " ]
6
7
then
7
8
# shellcheck disable=SC2016
8
- printf ' %s: $PYTHON_AFL_DUMB is deprecated; use -n instead\n' " $( basename " $0 " ) " >&2
9
+ printf ' %s: $PYTHON_AFL_DUMB is deprecated; use -n instead\n' " $prog " >&2
9
10
set -- -n " $@ "
10
11
fi
11
12
export PYTHON_AFL_SIGNAL=${PYTHON_AFL_SIGNAL:- SIGUSR1}
12
13
export PYTHON_AFL_PERSISTENT=1
13
14
if ! command -v afl-fuzz > /dev/null
14
15
then
15
16
cat >&2 << EOF
16
- $0 : afl-fuzz not found
17
+ $prog : afl-fuzz not found
17
18
Is AFL <http://lcamtuf.coredump.cx/afl/> installed?
18
19
EOF
19
20
exit 127
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
export PYTHON_AFL_SIGNAL=${PYTHON_AFL_SIGNAL:- SIGUSR1}
3
+ prog=" ${0##*/ } "
3
4
if ! command -v afl-showmap > /dev/null
4
5
then
5
6
cat >&2 << EOF
6
- $0 : afl-showmap not found
7
+ $prog : afl-showmap not found
7
8
Is AFL <http://lcamtuf.coredump.cx/afl/> installed?
8
9
EOF
9
10
exit 127
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
export PYTHON_AFL_SIGNAL=${PYTHON_AFL_SIGNAL:- SIGUSR1}
3
+ prog=" ${0##*/ } "
3
4
if ! command -v afl-tmin > /dev/null
4
5
then
5
6
cat >&2 << EOF
6
- $0 : afl-tmin not found
7
+ $prog : afl-tmin not found
7
8
Is AFL <http://lcamtuf.coredump.cx/afl/> installed?
8
9
EOF
9
10
exit 127
You can’t perform that action at this time.
0 commit comments