edk2/MdeModulePkg/Test
Richard Lyu 77585e5004 MdeModulePkg/GptLib: Add host-based unit tests for valid GPT behavior
Add the positive-path host-based tests for the shared GptLib parser
(extracted as part of the parser security hardening), ensuring the
tightened checks in PartitionValidGptTable(), PartitionCheckGptEntry()
and PartitionRestoreGptTable() do not falsely reject well-formed GPTs.

The tests run against an in-memory mock disk and cover accepted
primary/backup headers, boundary but legal header/entry sizes, correct
entry-status flagging on valid entries, and primary/backup restore
round-trips.

Signed-off-by: Richard Lyu <richard.lyu@suse.com>
2026-07-20 21:50:57 +00:00
..
Mock MdeModulePkg: Follow pragma once coding convention 2026-06-25 19:40:31 +00:00
MdeModulePkgHostTest.dsc MdeModulePkg/GptLib: Add host-based unit tests for valid GPT behavior 2026-07-20 21:50:57 +00:00