Home | History | Annotate | Download | only in BasePeCoffLib
      1 ## @file

      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 #

      7 #  Caution: This module requires additional review when modified.

      8 #  This library will have external input - PE/COFF image.

      9 #  This external input must be validated carefully to avoid security issue like

     10 #  buffer overflow, integer overflow.

     11 #

     12 #  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>

     13 #  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>

     14 #

     15 #  This program and the accompanying materials

     16 #  are licensed and made available under the terms and conditions of the BSD License

     17 #  which accompanies this distribution. The full text of the license may be found at

     18 #  http://opensource.org/licenses/bsd-license.php.

     19 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     20 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     21 #

     22 #

     23 ##

     24 
     25 [Defines]
     26   INF_VERSION                    = 0x00010005
     27   BASE_NAME                      = BasePeCoffLib
     28   MODULE_UNI_FILE                = BasePeCoffLib.uni
     29   FILE_GUID                      = 556f5d10-7309-4af4-b80a-8196bd60946f
     30   MODULE_TYPE                    = BASE
     31   VERSION_STRING                 = 1.0
     32   LIBRARY_CLASS                  = PeCoffLib 
     33 
     34 
     35 #

     36 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM AARCH64

     37 #

     38 
     39 [Sources]
     40   BasePeCoffLibInternals.h
     41   BasePeCoff.c
     42 
     43 [Sources.IA32, Sources.X64, Sources.EBC, Sources.AARCH64]
     44   PeCoffLoaderEx.c
     45 
     46 [Sources.IPF]
     47   Ipf/PeCoffLoaderEx.c
     48 
     49 [Sources.ARM]
     50   Arm/PeCoffLoaderEx.c
     51 
     52 [Packages]
     53   MdePkg/MdePkg.dec
     54 
     55 [LibraryClasses]
     56   DebugLib
     57   PeCoffExtraActionLib
     58   BaseMemoryLib
     59 
     60