summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/GptLib/GptLib.inf
blob: f110ee875a47675379aea05a666e5ada5b335b30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
## @file
#  Shared GUID Partition Table (GPT) parsing and validation library.
#
#  Provides the GPT table parsing, validation and restore routines that are
#  shared between the Partition driver and other consumers that must parse the
#  same on-disk GPT layout.
#
#  Caution: This library requires additional review when modified.
#  This library will have external input - disk partition.
#  This external input must be validated carefully to avoid security issue like
#  buffer overflow, integer overflow.
#
#  Copyright (c) 2026, SUSE LLC. All rights reserved.<BR>
#  Copyright (c) 2018 Qualcomm Datacenter Technologies, Inc.
#  Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = GptLib
  FILE_GUID                      = E228F30C-C7D5-4A93-BBA7-B4E22327E289
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = GptLib

#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = IA32 X64 EBC AARCH64 RISCV64 LOONGARCH64
#

[Sources]
  Gpt.c

[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  DebugLib
  MemoryAllocationLib
  UefiBootServicesTableLib

[Guids]
  gEfiPartTypeUnusedGuid                        ## SOMETIMES_CONSUMES ## GUID