2 # PE/COFF Loader Library implementation.
3 # The IPF version library supports loading IPF and EBC PE/COFF image.
4 # The IA32 version library support loading IA32, X64 and EBC PE/COFF images.
5 # The X64 version library support loading IA32, X64 and EBC PE/COFF images.
6 # The RISC-V version library support loading RISC-V images.
7 # The LoongArch version library support loading LoongArch images.
9 # Caution: This module requires additional review when modified.
10 # This library will have external input - PE/COFF image.
11 # This external input must be validated carefully to avoid security issue like
12 # buffer overflow, integer overflow.
14 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
15 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
16 # Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
17 # Portions Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
19 # SPDX-License-Identifier: BSD-2-Clause-Patent
25 INF_VERSION = 0x00010005
26 BASE_NAME = BasePeCoffLib
27 MODULE_UNI_FILE = BasePeCoffLib.uni
28 FILE_GUID = 556f5d10-7309-4af4-b80a-8196bd60946f
31 LIBRARY_CLASS = PeCoffLib
35 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64
39 BasePeCoffLibInternals.h
42 [Sources.IA32, Sources.X64, Sources.EBC, Sources.AARCH64]
49 RiscV/PeCoffLoaderEx.c
52 LoongArch/PeCoffLoaderEx.c