summaryrefslogtreecommitdiff
path: root/SecurityPkg/SecurityPkg.dsc
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-07-13 20:28:15 +0800
committerLiming Gao <liming.gao@intel.com>2016-07-14 15:04:53 +0800
commit5e9dfc67821b75ab606d8565f0bc1133bbc2a92c (patch)
treea4f73371fb4eb8608d221e9ab407e8f19e750a25 /SecurityPkg/SecurityPkg.dsc
parent04147690b59bba6900e175c7d06e3fe48570ab73 (diff)
downloadedk2-platforms-5e9dfc67821b75ab606d8565f0bc1133bbc2a92c.tar.xz
SecurityPkg SecureBootConfigDxe: Add check for the external PE/COFF image.
Use BasePeCoffLib PeCoffLoaderGetImageInfo() to check the PE/COFF image. In V2, add specific ImageRead() to make sure the PE/COFF image content read is within the image buffer. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg/SecurityPkg.dsc')
-rw-r--r--SecurityPkg/SecurityPkg.dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
index 1960b52d72..21cac786b4 100644
--- a/SecurityPkg/SecurityPkg.dsc
+++ b/SecurityPkg/SecurityPkg.dsc
@@ -34,6 +34,8 @@
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
+ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
+ PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf