Skip to content

[Rebase & FF] .pytool: Image Validation Plugin: Drop Zero ImageBase Requirement#1793

Merged
vineelko merged 2 commits into
microsoft:release/202511from
vineelko:users/vineelko/minor_fix_support_non_zero_image_base_0512
May 13, 2026
Merged

[Rebase & FF] .pytool: Image Validation Plugin: Drop Zero ImageBase Requirement#1793
vineelko merged 2 commits into
microsoft:release/202511from
vineelko:users/vineelko/minor_fix_support_non_zero_image_base_0512

Conversation

@vineelko
Copy link
Copy Markdown
Contributor

Description

  • Zero ImageBase requirement is dropped from Image validation plugin as it is not enforced by most PE loaders in UEFI.
  • Patina in particular dropped support for producing .efi files with zero ImageBase
  • This also improves the debugging experience when using WinDbg

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Q35

Integration Instructions

NA

@mu-automation
Copy link
Copy Markdown
Contributor

mu-automation Bot commented May 12, 2026

✅ QEMU Validation Passed

Source Dependencies

Repository Commit
mu_basecore caba185
mu_tiano_platforms 78fad16

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ✅ success ✅ success 0m 16s Build Logs Boot Logs
SBSA DEBUG ✅ success ✅ success 0m 30s Build Logs Boot Logs

Workflow run: https://github.com/microsoft/mu_basecore/actions/runs/25768892026

This comment was automatically generated by the Mu QEMU PR Validation workflow.

Copy link
Copy Markdown
Contributor

@Javagedes Javagedes left a comment

Choose a reason for hiding this comment

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

Can you make this a REBASE&FF so that line endings are a different commit then the line changes?

@vineelko
Copy link
Copy Markdown
Contributor Author

The modified files had not been changed since 2022, and the repository added an .editorconfig file in the meantime. As a result, saving the files now enforces CRLF line endings.

Comment thread .pytool/Plugin/ImageValidation/image_validation.cfg
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/202511@6f6a7c6). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202511    #1793   +/-   ##
=================================================
  Coverage                  ?    2.21%           
=================================================
  Files                     ?     1633           
  Lines                     ?   420069           
  Branches                  ?     4949           
=================================================
  Hits                      ?     9308           
  Misses                    ?   410686           
  Partials                  ?       75           
Flag Coverage Δ
FmpDevicePkg 9.53% <ø> (?)
MdeModulePkg 1.58% <ø> (?)
MdePkg 5.44% <ø> (?)
NetworkPkg 0.55% <ø> (?)
PolicyServicePkg 30.42% <ø> (?)
SecurityPkg 1.59% <ø> (?)
UefiCpuPkg 4.78% <ø> (?)
UnitTestFrameworkPkg 11.70% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@vineelko vineelko force-pushed the users/vineelko/minor_fix_support_non_zero_image_base_0512 branch from e92fd75 to 85af036 Compare May 12, 2026 23:35
vineelko added 2 commits May 12, 2026 16:37
- This is needed to be in sync with `.editorconfig`

Signed-off-by: Vineel Kovvuri[MSFT] <vineelko@microsoft.com>
- Zero ImageBase requirement is dropped from Image validation plugin as it is
  not enforced by most PE loaders in UEFI.
- Patina in particular dropped support for producing .efi files with zero
  ImageBase
- This also improves the debugging experience when using WinDbg

Signed-off-by: Vineel Kovvuri[MSFT] <vineelko@microsoft.com>
@vineelko vineelko force-pushed the users/vineelko/minor_fix_support_non_zero_image_base_0512 branch from 85af036 to caba185 Compare May 12, 2026 23:37
@vineelko vineelko changed the title .pytool: Image Validation Plugin: Drop Zero ImageBase Requirement [Rebase & FF] .pytool: Image Validation Plugin: Drop Zero ImageBase Requirement May 12, 2026
@vineelko vineelko merged commit a3a9cc8 into microsoft:release/202511 May 13, 2026
97 checks passed
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.

6 participants