Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit e68fc45

Browse files
authored
Revert "Update packaging of LibFuzzerDotNetLoader (#3248)" (#3327)
This reverts commit 25f1257. The change broke the libfuzzer dotnet template (I could have sworn I validated first with check-pr but…) Two things didn't work: 1. the path to the LibFuzzerDotNetLoader needed to change; I attempted to fix this in #3324 2. minidumps weren't being captured, for an unknown reason. I haven't figured out why yet, thus I'm going to simply revert the change so we have this working for the next release.
1 parent 33e645d commit e68fc45

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/agent/LibFuzzerDotnetLoader/LibFuzzerDotnetLoader.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
<TargetFramework>net7.0</TargetFramework>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
9-
<!-- make published binaries as small as possible -->
10-
<SelfContained>true</SelfContained>
11-
<PublishSingleFile>true</PublishSingleFile>
12-
<InvariantGlobalization>true</InvariantGlobalization>
13-
<DebuggerSupport>false</DebuggerSupport>
14-
<!-- /end -->
159
</PropertyGroup>
1610

1711
<ItemGroup>

src/ci/dotnet-fuzzing-tools.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ popd
2626

2727
# Build SharpFuzz and our dynamic loader harness for `libfuzzer-dotnet`.
2828
pushd src/agent/LibFuzzerDotnetLoader
29-
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader -r win10-x64
29+
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader --sc -r win10-x64
3030
if ($LASTEXITCODE -ne 0) { throw "dotnet publish exited with $LASTEXITCODE" }
3131
popd
3232

src/ci/dotnet-fuzzing-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ popd
3434

3535
# Build SharpFuzz and our dynamic loader harness for `libfuzzer-dotnet`.
3636
pushd src/agent/LibFuzzerDotnetLoader
37-
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader -r linux-x64
37+
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader --sc -r linux-x64
3838
popd
3939

4040
# Build `libfuzzer-dotnet`.

0 commit comments

Comments
 (0)