-#/** @file\r
+## @file\r
# PE/COFF Loader Library implementation.\r
# The IPF version library supports loading IPF and EBC PE/COFF image.\r
# The IA32 version library support loading IA32, X64 and EBC PE/COFF images.\r
# The X64 version library support loading IA32, X64 and EBC PE/COFF images.\r
#\r
-# Copyright (c) 2006 - 2009, Intel Corporation.<BR>\r
-# Portions Copyright (c) 2008-2009 Apple Inc.<BR>
+# Caution: This module requires additional review when modified.\r
+# This library will have external input - PE/COFF image.\r
+# This external input must be validated carefully to avoid security issue like\r
+# buffer overflow, integer overflow.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# http://opensource.org/licenses/bsd-license.php.\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = BasePeCoffLib\r
+ MODULE_UNI_FILE = BasePeCoffLib.uni\r
FILE_GUID = 556f5d10-7309-4af4-b80a-8196bd60946f\r
MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM\r
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
BasePeCoffLibInternals.h\r
BasePeCoff.c\r
\r
-[Sources.IA32, Sources.X64, Sources.EBC]\r
+[Sources.IA32, Sources.X64, Sources.EBC, Sources.AARCH64]\r
PeCoffLoaderEx.c\r
\r
[Sources.IPF]\r
Ipf/PeCoffLoaderEx.c\r
\r
-[Sources.ARM]
- Arm/PeCoffLoaderEx.c
-
+[Sources.ARM]\r
+ Arm/PeCoffLoaderEx.c\r
+\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r