Skip to content

Add CET Shadow stack compatibility#5496

Merged
guhetier merged 1 commit intomainfrom
guhetier/binskim_dotnet_fix
Oct 9, 2025
Merged

Add CET Shadow stack compatibility#5496
guhetier merged 1 commit intomainfrom
guhetier/binskim_dotnet_fix

Conversation

@guhetier
Copy link
Collaborator

@guhetier guhetier commented Oct 6, 2025

Description

Fixes #5495 by adding the linker flag /CETCOMPAT, to advertise CET Shadow stacks supports.

Testing

CI

Documentation

N/A

@guhetier guhetier requested a review from a team as a code owner October 6, 2025 22:58
@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.32%. Comparing base (829139d) to head (f5a3d4c).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5496      +/-   ##
==========================================
+ Coverage   84.03%   85.32%   +1.28%     
==========================================
  Files          59       59              
  Lines       18621    18621              
==========================================
+ Hits        15649    15889     +240     
+ Misses       2972     2732     -240     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@guhetier guhetier force-pushed the guhetier/binskim_dotnet_fix branch from 6847d7e to f5a3d4c Compare October 6, 2025 23:48
@guhetier
Copy link
Collaborator Author

guhetier commented Oct 7, 2025

Will need to cherry-pick to release/2.5 and release/2.4

@guhetier guhetier merged commit c867562 into main Oct 9, 2025
466 checks passed
@guhetier guhetier deleted the guhetier/binskim_dotnet_fix branch October 9, 2025 18:05
guhetier added a commit that referenced this pull request Oct 9, 2025
guhetier added a commit that referenced this pull request Oct 9, 2025
Copilot AI pushed a commit that referenced this pull request Oct 10, 2025
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.

Fix BinSkim violation reported in DotNet

2 participants