Skip to content

Commit

Permalink
Install AFL++ instead of old AFL
Browse files Browse the repository at this point in the history
  • Loading branch information
mschessler committed Jan 6, 2025
1 parent 03a381c commit ecbb946
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
set -eux

# Download and extract the latest afl-fuzz source package
wget http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
tar -xvf afl-latest.tgz
wget https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v4.30c.tar.gz
tar -xvzf v4.30c.tar.gz

rm afl-latest.tgz
cd afl-2.52b/
rm v4.30c.tar.gz
cd AFLplusplus-4.30c/

# Install afl-fuzz
sudo make install
cd ..
rm -rf afl-2.52b/
rm -rf AFLplusplus-4.30c/

# Install SharpFuzz.CommandLine global .NET tool
dotnet tool install --global SharpFuzz.CommandLine
2 changes: 1 addition & 1 deletion scripts/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dotnet publish src/SharpFuzz.CommandLine/SharpFuzz.CommandLine.csproj `
-i corpus `
-command out/SharpFuzz.CommandLine

$output = Get-Content -Path "./findings/.cur_input" -Raw
$output = Get-Content -Path "./findings/default/.cur_input" -Raw
$crasher = "Whoopsie"

if (-not $output.Contains($crasher)) {
Expand Down

0 comments on commit ecbb946

Please sign in to comment.