summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-07-13 20:28:16 +0800
committerLiming Gao <liming.gao@intel.com>2016-07-14 15:04:53 +0800
commitcad19cd3f2ac26de35c545acd29f98c5f4f82f7c (patch)
tree82970ea97a19e507d4d237d2bb09d24fc68e9db8 /SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
parent5e9dfc67821b75ab606d8565f0bc1133bbc2a92c (diff)
downloadedk2-platforms-cad19cd3f2ac26de35c545acd29f98c5f4f82f7c.tar.xz
SecurityPkg TrEEDxe: Add check for the 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/Tcg/TrEEDxe/TrEEDxe.inf')
-rw-r--r--SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf1
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
index c22e8f0004..2dd038aba3 100644
--- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
+++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
@@ -58,6 +58,7 @@
HashLib
PerformanceLib
ReportStatusCodeLib
+ PeCoffLib
[Guids]
## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"