Skip to content

Conversation

jakobbotsch
Copy link
Member

Fix #119623

@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 17, 2025
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@jakobbotsch jakobbotsch marked this pull request as ready for review September 17, 2025 15:06
@Copilot Copilot AI review requested due to automatic review settings September 17, 2025 15:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a missing containment check for indirect calls in the JIT compiler. The change adds proper safety validation before containing memory operands in indirect call expressions.

  • Adds a safety check (IsSafeToContainMem) to ensure memory operands can be safely contained for indirect calls

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib

No diffs. Some minor TP regressions.

@jakobbotsch jakobbotsch merged commit 7002eeb into dotnet:main Sep 17, 2025
113 checks passed
@jakobbotsch
Copy link
Member Author

/backport to release/10.0

Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RuntimeAsync] A few asserts like "Assertion failed 'isSafeToContainMem'" in Libraries tests when runtime async is enabled

3 participants