From e68fc450dc8ac120548cdd4d5ee49f50d8296d5a Mon Sep 17 00:00:00 2001 From: George Pollard Date: Tue, 25 Jul 2023 09:37:45 +1200 Subject: [PATCH] Revert "Update packaging of LibFuzzerDotNetLoader (#3248)" (#3327) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 25f125748dc0352d66385281e7a4468621233739. 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. --- .../LibFuzzerDotnetLoader/LibFuzzerDotnetLoader.csproj | 6 ------ src/ci/dotnet-fuzzing-tools.ps1 | 2 +- src/ci/dotnet-fuzzing-tools.sh | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/agent/LibFuzzerDotnetLoader/LibFuzzerDotnetLoader.csproj b/src/agent/LibFuzzerDotnetLoader/LibFuzzerDotnetLoader.csproj index 80b629e517..5554e45f83 100644 --- a/src/agent/LibFuzzerDotnetLoader/LibFuzzerDotnetLoader.csproj +++ b/src/agent/LibFuzzerDotnetLoader/LibFuzzerDotnetLoader.csproj @@ -6,12 +6,6 @@ net7.0 enable enable - - true - true - true - false - diff --git a/src/ci/dotnet-fuzzing-tools.ps1 b/src/ci/dotnet-fuzzing-tools.ps1 index 95c1c7fa1d..c6ba756655 100644 --- a/src/ci/dotnet-fuzzing-tools.ps1 +++ b/src/ci/dotnet-fuzzing-tools.ps1 @@ -26,7 +26,7 @@ popd # Build SharpFuzz and our dynamic loader harness for `libfuzzer-dotnet`. pushd src/agent/LibFuzzerDotnetLoader -dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader -r win10-x64 +dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader --sc -r win10-x64 if ($LASTEXITCODE -ne 0) { throw "dotnet publish exited with $LASTEXITCODE" } popd diff --git a/src/ci/dotnet-fuzzing-tools.sh b/src/ci/dotnet-fuzzing-tools.sh index 8395b14ce1..14e199b7fd 100755 --- a/src/ci/dotnet-fuzzing-tools.sh +++ b/src/ci/dotnet-fuzzing-tools.sh @@ -34,7 +34,7 @@ popd # Build SharpFuzz and our dynamic loader harness for `libfuzzer-dotnet`. pushd src/agent/LibFuzzerDotnetLoader -dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader -r linux-x64 +dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader --sc -r linux-x64 popd # Build `libfuzzer-dotnet`.