jellyfin-server/fuzz/Emby.Server.Implementations.Fuzz/fuzz.sh

12 lines
392 B
Bash
Raw Normal View History

2021-06-08 20:22:32 +00:00
#!/bin/sh
set -e
dotnet build -c Release ../../Emby.Server.Implementations/Emby.Server.Implementations.csproj --output bin
sharpfuzz bin/Emby.Server.Implementations.dll
cp bin/Emby.Server.Implementations.dll .
dotnet build
mkdir -p Findings
2022-10-07 09:30:08 +00:00
AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 -m 10240 dotnet bin/Debug/net6.0/Emby.Server.Implementations.Fuzz.dll "$1"