From 8ebc6f05268efda3bf48894b3c07e56de90d6eef Mon Sep 17 00:00:00 2001 From: Taylor Beebe <31827475+TaylorBeebe@users.noreply.github.com> Date: Fri, 9 Dec 2022 15:38:59 -0800 Subject: [PATCH] Remove Page Audit Report Generator Print (#96) ## Description The PTE GCD type may be None, so attempts to log it will cause a runtime exception. ## Breaking change? No ## How This Was Tested Running the script ## Integration Instructions N/A --- .../AuditTests/PagingAudit/Windows/PagingReportGenerator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/UefiTestingPkg/AuditTests/PagingAudit/Windows/PagingReportGenerator.py b/UefiTestingPkg/AuditTests/PagingAudit/Windows/PagingReportGenerator.py index 1d0cd84c4e..64d13a0582 100644 --- a/UefiTestingPkg/AuditTests/PagingAudit/Windows/PagingReportGenerator.py +++ b/UefiTestingPkg/AuditTests/PagingAudit/Windows/PagingReportGenerator.py @@ -138,7 +138,6 @@ def Parse(self): if pte.GcdType is None: pte.GcdType = mr.GcdType - logging.info("pte.GcdType: %d"% (pte.GcdType)) else: logging.error("Multiple memory types found for one region " + pte.pteDebugStr() +" " + mr.MemoryRangeToString()) self.ErrorMsg.append("Multiple memory types found for one region. Base: 0x%X. GCD Memory Type: %d and %d"% (pte.PhysicalStart, pte.GcdType,mr.GcdType))