Skip to content

Conversation

max-charlamb
Copy link
Member

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 20, 2025
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@max-charlamb max-charlamb marked this pull request as ready for review August 20, 2025 19:14
@Copilot Copilot AI review requested due to automatic review settings August 20, 2025 19:14
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 unifies RVA (Relative Virtual Address) validation checks in the PE decoder implementation by standardizing how section boundaries are calculated and validated. The changes address inconsistencies between mapped and unmapped PE file handling.

Key changes:

  • Removes alignment padding from virtual size calculations in RvaToSection
  • Adds explicit raw data boundary checks for unmapped images
  • Removes outdated commented code and comments

@jkotas jkotas merged commit 82da235 into dotnet:main Aug 20, 2025
94 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants