You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/fuzz/Jellyfin.Server.Fuzz/fuzz.sh

12 lines
318 B

#!/bin/sh
set -e
dotnet build -c Release ../../Jellyfin.Server/Jellyfin.Server.csproj --output bin
sharpfuzz bin/jellyfin.dll
cp bin/jellyfin.dll .
dotnet build
mkdir -p Findings
AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 -m 10240 dotnet bin/Debug/net5.0/Jellyfin.Server.Fuzz.dll "$1"