FsCheck runs each property on 500 random inputs and reports the smallest one that fails: - the checksum parser accepts any text (random and checksum-shaped lines) without throwing, and whatever it accepts is a hexadecimal digest of the algorithm's length; - GNU (with backslashes and line breaks in names), BSD and SFV files read back exactly what ChecksumWriter wrote; - ChecksumEntry.ResolvePath never returns a network or device path and refuses names starting with // or \; - HashMatcher ignores letter case, spaces and a 0x prefix, rejects wrong lengths and non-hex digits, and accepts the reversed CRC32 that Hash Tool 1.1 wrote; - TextHashing writes every line break the chosen way. OpenSSF Scorecard counts FsCheck as fuzzing. FsCheck (BSD-3-Clause) is a test-only dependency, updated by Dependabot with the other test packages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
2.2 KiB
XML
45 lines
2.2 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Label="Avalonia">
|
|
<PackageVersion Include="Avalonia" Version="12.1.6" />
|
|
<PackageVersion Include="Avalonia.Desktop" Version="12.1.6" />
|
|
<PackageVersion Include="Avalonia.Fonts.Inter" Version="12.1.6" />
|
|
<PackageVersion Include="Avalonia.Headless" Version="12.1.6" />
|
|
<PackageVersion Include="Avalonia.Headless.XUnit" Version="12.1.6" />
|
|
<PackageVersion Include="Avalonia.Themes.Fluent" Version="12.1.6" />
|
|
<PackageVersion Include="Material.Icons.Avalonia" Version="3.0.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Application">
|
|
<PackageVersion Include="Blake3" Version="3.0.2" />
|
|
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
|
|
<PackageVersion Include="System.CommandLine" Version="2.0.15" />
|
|
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.15" />
|
|
<PackageVersion Include="Microsoft.Extensions.Logging" Version="10.0.15" />
|
|
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.15" />
|
|
<PackageVersion Include="System.IO.Hashing" Version="10.0.15" />
|
|
<PackageVersion Include="Velopack" Version="1.2.161" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Tools">
|
|
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Analyzers">
|
|
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.341" />
|
|
<PackageVersion Include="ReferenceTrimmer" Version="3.5.13" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Tests">
|
|
<!-- xunit.v3 4.x breaks Avalonia.Headless.XUnit (AvaloniaUI/Avalonia#22072); stay on 3.2.x until it is fixed. -->
|
|
<PackageVersion Include="xunit.v3.mtp-v2" Version="3.2.2" />
|
|
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.12.0" />
|
|
<!-- Property-based tests (random input); OpenSSF Scorecard counts them as fuzzing. -->
|
|
<PackageVersion Include="FsCheck" Version="3.6.0" />
|
|
</ItemGroup>
|
|
</Project>
|