mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 14:58:36 +01:00
Add fuzzing infra
This commit is contained in:
11
fuzz/Emby.Server.Implementations.Fuzz/fuzz.sh
Executable file
11
fuzz/Emby.Server.Implementations.Fuzz/fuzz.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 -m 10240 dotnet bin/Debug/net5.0/Emby.Server.Implementations.Fuzz.dll "$1"
|
||||
Reference in New Issue
Block a user