jellyfin/fuzz/Jellyfin.Server.Fuzz/fuzz.sh

12 lines
318 B
Bash
Raw Normal View History

2021-06-08 22:22:32 +02:00
#!/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
2022-10-07 11:30:08 +02:00
AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 -m 10240 dotnet bin/Debug/net6.0/Jellyfin.Server.Fuzz.dll "$1"