A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Metalnem/sharpfuzz/raw/master/scripts/fuzz.ps1 below:

param ( [Parameter(Mandatory = $true)] [string]$project, [Parameter(Mandatory = $true)] [string]$i, [string]$x = $null, [int]$t = 10000, [string]$command = "sharpfuzz" ) Set-StrictMode -Version Latest $outputDir = "bin" $findingsDir = "findings" if (Test-Path $outputDir) { Remove-Item -Recurse -Force $outputDir } if (Test-Path $findingsDir) { Remove-Item -Recurse -Force $findingsDir } dotnet publish $project -c release -o $outputDir $projectName = (Get-Item $project).BaseName $projectDll = "$projectName.dll" $project = Join-Path $outputDir $projectDll $exclusions = @( "dnlib.dll", "SharpFuzz.dll", "SharpFuzz.Common.dll", $projectDll ) $fuzzingTargets = Get-ChildItem $outputDir -Filter *.dll ` | Where-Object { $_.Name -notin $exclusions } ` | Where-Object { $_.Name -notlike "System.*.dll" } if (($fuzzingTargets | Measure-Object).Count -eq 0) { Write-Error "No fuzzing targets found" exit 1 } foreach ($fuzzingTarget in $fuzzingTargets) { Write-Output "Instrumenting $fuzzingTarget" & $command $fuzzingTarget if ($LastExitCode -ne 0) { Write-Error "An error occurred while instrumenting $fuzzingTarget" exit 1 } } $env:AFL_SKIP_BIN_CHECK = 1 if ($x) { afl-fuzz -i $i -o $findingsDir -t $t -m none -x $x dotnet $project } else { afl-fuzz -i $i -o $findingsDir -t $t -m none dotnet $project }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4