Skip to content

Conversation

@makubacki
Copy link
Member

Description

Commit 005cfdd added HII support to AdvancedLogDumper but did not link UefiHiiServicesLib to the application.

Running the EFI app will give an assert similar to the following:

INFO - ASSERT_EFI_ERROR (Status = Invalid Parameter)
INFO - ASSERT [AdvancedLogDumper]
  AdvLoggerPkg\Application\AdvancedLogDumper\LogDumperCommon.c(337):
    !(((RETURN_STATUS)(Status)) >= 0x8000000000000000ULL)

UefiHiiServicesLib needs to be linked (added to the INF file) for gHiiDatabase to be initialized properly.

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

How This Was Tested

  • Run the AdvancedLogDumper EFI application before and after the change
    • It dumps the log successfully after the change

Integration Instructions

  • N/A

@makubacki makubacki requested review from apop5, kuqin12 and os-d January 13, 2026 18:11
@makubacki makubacki self-assigned this Jan 13, 2026
@makubacki makubacki added the type:bug Something isn't working label Jan 13, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2026

Codecov Report

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

Additional details and impacted files
@@               Coverage Diff                @@
##             release/202502    #812   +/-   ##
================================================
  Coverage                  ?   4.71%           
================================================
  Files                     ?      36           
  Lines                     ?    4196           
  Branches                  ?     276           
================================================
  Hits                      ?     198           
  Misses                    ?    3996           
  Partials                  ?       2           
Flag Coverage Δ
AdvLoggerPkg 4.71% <ø> (?)

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.

Commit 005cfdd added HII support to
AdvancedLogDumper but did not link UefiHiiServicesLib to the
application.

Running the EFI app will give an assert similar to the following:

```
INFO - ASSERT_EFI_ERROR (Status = Invalid Parameter)
INFO - ASSERT [AdvancedLogDumper]
  AdvLoggerPkg\Application\AdvancedLogDumper\LogDumperCommon.c(337):
    !(((RETURN_STATUS)(Status)) >= 0x8000000000000000ULL)
```

UefiHiiServicesLib needs to be linked (added to the INF file) for
gHiiDatabase to be initialized properly.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki force-pushed the adv_logger_efi_app_fix branch from 50a78b8 to 51fc4a7 Compare January 13, 2026 18:48
@makubacki makubacki merged commit 23b7d05 into microsoft:release/202502 Jan 13, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants