Skip to content

Commit bc3f22e

Browse files
committed
chore: add install-fuzz-tools.sh to set up AFL and SharpFuzz
1 parent e129b6c commit bc3f22e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

test/FuzzTests/install-fuzz-tools.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
set -eux
3+
4+
# Download and extract the latest afl-fuzz source package
5+
wget http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
6+
tar -xvf afl-latest.tgz
7+
8+
rm afl-latest.tgz
9+
cd afl-2.52b/
10+
11+
# Install afl-fuzz
12+
sudo make install
13+
cd ..
14+
rm -rf afl-2.52b/
15+
16+
# Install SharpFuzz.CommandLine global .NET tool
17+
dotnet tool install --global SharpFuzz.CommandLine

0 commit comments

Comments
 (0)