summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
diff options
context:
space:
mode:
authorRichard Lyu <richard.lyu@suse.com>2026-07-07 15:42:40 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-07-21 00:50:57 +0300
commit77585e50049839856baed37d120d4f705a2cf1d0 (patch)
treec5402da985718fccd116bc8202f29e83a81bf295 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
parentb65fd21591230233f53d2cfb22c42d4605054902 (diff)
downloadedk2-77585e50049839856baed37d120d4f705a2cf1d0.tar.xz
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions