]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # PE/COFF Loader Library implementation.\r | |
3 | # The IPF version library supports loading IPF and EBC PE/COFF image.\r | |
4 | # The IA32 version library support loading IA32, X64 and EBC PE/COFF images.\r | |
5 | # The X64 version library support loading IA32, X64 and EBC PE/COFF images.\r | |
6 | # The RISC-V version library support loading RISC-V images.\r | |
7 | #\r | |
8 | # Caution: This module requires additional review when modified.\r | |
9 | # This library will have external input - PE/COFF image.\r | |
10 | # This external input must be validated carefully to avoid security issue like\r | |
11 | # buffer overflow, integer overflow.\r | |
12 | #\r | |
13 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
14 | # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r | |
15 | # Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r | |
16 | #\r | |
17 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
18 | #\r | |
19 | #\r | |
20 | ##\r | |
21 | \r | |
22 | [Defines]\r | |
23 | INF_VERSION = 0x00010005\r | |
24 | BASE_NAME = BasePeCoffLib\r | |
25 | MODULE_UNI_FILE = BasePeCoffLib.uni\r | |
26 | FILE_GUID = 556f5d10-7309-4af4-b80a-8196bd60946f\r | |
27 | MODULE_TYPE = BASE\r | |
28 | VERSION_STRING = 1.0\r | |
29 | LIBRARY_CLASS = PeCoffLib\r | |
30 | \r | |
31 | \r | |
32 | #\r | |
33 | # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64\r | |
34 | #\r | |
35 | \r | |
36 | [Sources]\r | |
37 | BasePeCoffLibInternals.h\r | |
38 | BasePeCoff.c\r | |
39 | \r | |
40 | [Sources.IA32, Sources.X64, Sources.EBC, Sources.AARCH64]\r | |
41 | PeCoffLoaderEx.c\r | |
42 | \r | |
43 | [Sources.ARM]\r | |
44 | Arm/PeCoffLoaderEx.c\r | |
45 | \r | |
46 | [Sources.RISCV64]\r | |
47 | RiscV/PeCoffLoaderEx.c\r | |
48 | \r | |
49 | [Packages]\r | |
50 | MdePkg/MdePkg.dec\r | |
51 | \r | |
52 | [LibraryClasses]\r | |
53 | DebugLib\r | |
54 | PeCoffExtraActionLib\r | |
55 | BaseMemoryLib\r | |
56 | \r |