Skip to content

Commit

Permalink
pip: update to latest
Browse files Browse the repository at this point in the history
Bumps
[edk2-pytool-library](https://github.com/tianocore/edk2-pytool-library)
from 0.19.1 to 0.19.3.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored and kenlautner committed Dec 20, 2023
1 parent ff8f8d3 commit a9a6067
Show file tree
Hide file tree
Showing 8 changed files with 3,434 additions and 4 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
## @file DxeMemoryProtectionTestApp.inf
#
# Tests for page guard, pool guard, NX protections, stack guard, and null pointer detection.
##
# Copyright (C) Microsoft Corporation. All rights reserved.
## SPDX-License-Identifier: BSD-2-Clause-Patent
##

[Defines]
INF_VERSION = 0x00010017
BASE_NAME = DxeMemoryProtectionTestApp
FILE_GUID = 28C4CBBB-188F-460A-944A-DBE4A19D279E
VERSION_STRING = 3.0
MODULE_TYPE = UEFI_APPLICATION
ENTRY_POINT = MemoryProtectionTestAppEntryPoint

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

[Sources]
DxeMemoryProtectionTestApp.c

[Sources.X64]
X64/X64Functions.c

[Sources.AARCH64]
AArch64/AArch64Functions.c

[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
UefiCpuPkg/UefiCpuPkg.dec
UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
ShellPkg/ShellPkg.dec
MsCorePkg/MsCorePkg.dec

[LibraryClasses]
DebugLib
UefiApplicationEntryPoint
UefiBootServicesTableLib
UnitTestLib
UnitTestPersistenceLib
UnitTestBootLib
PrintLib
MemoryAllocationLib
BaseLib
ShellLib
UefiLib
HobLib
ExceptionPersistenceLib

[LibraryClasses.X64]
HwResetSystemLib

[Guids]
gMemoryProtectionExceptionHandlerGuid ## CONSUMES
gEfiHobMemoryAllocStackGuid ## CONSUMES

[Protocols]
gEfiCpuArchProtocolGuid ## CONSUMES
gMemoryProtectionNonstopModeProtocolGuid ## CONSUMES
gMemoryProtectionDebugProtocolGuid ## CONSUMES
gEfiMemoryAttributeProtocolGuid ## CONSUMES
gCpuMpDebugProtocolGuid ## CONSUMES

[Guids]
gEfiDebugImageInfoTableGuid ## SOMETIMES_CONSUMES ## GUID
gEfiMemoryAttributesTableGuid
gDxeMemoryProtectionSettingsGuid

[BuildOptions]
GCC:*_CLANG40WIN_AARCH64_CC_FLAGS = -Wno-infinite-recursion
MSFT:*_*_*_CC_FLAGS = /wd4054 /wd4055 /wd4717
# An invalid opcode exception can be triggered during the NULL detection test on GCC5 builds
# due to the instruction "ud2" being inserted by the compiler after a NULL pointer dereference.
# Removing optimization prevents the invalid opcode instruction from being inserted and enables
# the interrupt handler to clear the fault and return to the test.
GCC:*_GCC5_X64_CC_FLAGS = -O0
Loading

0 comments on commit a9a6067

Please sign in to comment.