Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release/stable #5246

Merged
merged 15 commits into from
Feb 18, 2025
Merged

Update release/stable #5246

merged 15 commits into from
Feb 18, 2025

Conversation

hoyosjs
Copy link
Member

@hoyosjs hoyosjs commented Feb 12, 2025

No description provided.

mikem8361 and others added 14 commits October 24, 2024 06:14
Add DAC cert check

Calls the CLRMD signing and cert checking helper function before loading the DAC module.

The check honors the Debugger.Settings.EngineInitialization.SecureLoadDotNetExtensions setting when running under windbg. Defaults to true under dotnet-dump on Windows, false on Linux/MacOS for dotnet-dump and lldb.

TestHost (used by the Microsoft.Diagnostics.DebugServices.UnitTests, etc.) disables the signature check because all the test asset dumps used are preview 6.0 and not signed (that needs to be fixed but it is beyond the scope of this PR).
----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request introduces a new feature to check DAC certificate validity.
- Added `GetSettings` method in `dbgengservices.cpp` to retrieve debugger settings.
- Implemented `DacSignatureVerificationEnabled` property in `HostServices.cs` and `DebuggerServices.cs` to enforce DAC certificate validation.
- Created new interface `ISettingsService` in `ISettingsService.cs` to define settings service.
- Updated `RuntimeWrapper.cs` to verify DAC signing and certificate before loading.
- Modified `Versions.props` to update `MicrosoftDiagnosticsRuntimeVersion` to `4.0.0-beta.24521.1`.
…able

#### AI description  (iteration 1)
#### PR Classification
Merge latest release/stable into internal/release/stable

#### PR Summary
This pull request merges the latest stable release into the internal stable branch, incorporating various updates and improvements.
- `src/SOS/Strike/disasmLOONGARCH64.cpp`: Implemented the `Unassembly` function for LOONGARCH64, replacing the NYI (Not Yet Implemented) assertion.
- `eng/Version.Details.xml`: Updated dependencies to newer versions.
- `eng/common/native/install-dependencies.sh`: Added a new script to install necessary dependencies for CI.
- `src/Microsoft.Diagnostics.DebugServices.Implementation/Thread.cs` and `ThreadService.cs`: Refactored methods to improve register value retrieval and thread context handling.
- `eng/common/core-templates/job/job.yml`: Refactored MicroBuild plugin installation and cleanup steps into separate templates.
Update to latest Microsoft-clrmd version
…fication enabled

#### AI description  (iteration 1)
#### PR Classification
Bug fix

#### PR Summary
This pull request ensures that the runtime implementation fails the fallback path if DAC signature verification is enabled.
- `src/SOS/Strike/platform/runtimeimpl.cpp`: Added checks to fail the fallback path if DAC signature verification is enabled or if `GetDebuggerServices` returns `nullptr`.
- `src/SOS/SOS.UnitTests/SOSRunner.cs`: Modified the initialization of `SecureLoadDotNetExtensions` based on new conditions.
Merge release/stable into internal/release/stable

----
#### AI description  (iteration 1)
#### PR Classification
Code enhancement and feature addition.

#### PR Summary
This pull request merges the `release/stable` branch into `internal/release/stable`, introducing new features and code enhancements.
- `src/SOS/Strike/strike.cpp`: Added functions `SaveModulesFromDomain`, `SaveModule`, and `SaveAllModules` to enhance module saving capabilities.
- `src/Microsoft.Diagnostics.DebugServices.Implementation/Host.cs`: Introduced a new `Host` class to manage services and targets.
- `src/Microsoft.Diagnostics.TestHelpers/TestHost/TestDump.cs`: Refactored to use the new `Host` class and added `DumpTargetFactory`.
- `src/Tools/dotnet-dump/Analyzer.cs`: Refactored to utilize the new `Host` class and `DumpTargetFactory` for better service management.
- `eng/Version.Details.xml`: Updated dependencies to newer versions.
- `src/SOS/Strike/clrma/managedanalysis.cpp`: Fixed issues with `GetClrDataProcess` and `QueryInterface` calls, ensuring proper handling and reference management of `m_clrData` and `m_sosDac`. Added error handling to prevent fallback to old SOS unstructured provider.
#### AI description  (iteration 1)
#### PR Classification
Code cleanup and configuration update.

#### PR Summary
This pull request updates the release management process to use WIF (Workload Identity Federation) connection.
- Modified `prepare-release.yml` to remove SAS token generation steps and update Azure subscription.
- Updated `AcquireBuild.ps1` to remove SAS suffixes parameter and use Azure credentials for blob access.
@hoyosjs hoyosjs requested a review from a team as a code owner February 12, 2025 01:45
@hoyosjs hoyosjs enabled auto-merge February 12, 2025 01:47
@hoyosjs hoyosjs merged commit 3b97224 into dotnet:release/stable Feb 18, 2025
20 checks passed
@hoyosjs hoyosjs deleted the release/stable branch February 19, 2025 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants