fuzz.sh 318 B

1234567891011
  1. #!/bin/sh
  2. set -e
  3. dotnet build -c Release ../../Jellyfin.Server/Jellyfin.Server.csproj --output bin
  4. sharpfuzz bin/jellyfin.dll
  5. cp bin/jellyfin.dll .
  6. dotnet build
  7. mkdir -p Findings
  8. 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"