public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH V5 00/27] Disabling safe string constraint assertions
@ 2020-05-12 17:02 Vitaly Cheptsov
  2020-05-12 17:02 ` [PATCH V5 01/27] MdePkg: Introduce DebugCommonLib interface and BaseDebugCommonLib Vitaly Cheptsov
                   ` (26 more replies)
  0 siblings, 27 replies; 37+ messages in thread
From: Vitaly Cheptsov @ 2020-05-12 17:02 UTC (permalink / raw)
  To: devel
  Cc: Michael Kinney, Laszlo Ersek, Andrew Fish, Marvin Häuser,
	Liming Gao, Zhichao Gao

CC: Michael Kinney <michael.d.kinney@intel.com>
CC: Laszlo Ersek <lersek@redhat.com>
CC: Andrew Fish <afish@apple.com>
CC: Marvin Häuser <mhaeuser@outlook.de>
CC: Liming Gao <liming.gao@intel.com>
CC: Zhichao Gao <zhichao.gao@intel.com>

This changeset hopefully finally resolves the longstanding
https://bugzilla.tianocore.org/show_bug.cgi?id=2054

V5 changeset addressed the review comments of V4. For more
details see: https://edk2.groups.io/g/devel/topic/74138532.

Requesting to merge into edk2-stable202005.

Vitaly Cheptsov (27):
  MdePkg: Introduce DebugCommonLib interface and BaseDebugCommonLib
  UnitTestFrameworkPkg: Add support for DebugCommonLib
  MdePkg: Add support for DebugCommonLib
  MdeModulePkg: Add support for DebugCommonLib
  ArmPkg: Add support for DebugCommonLib
  ArmPlatformPkg: Add support for DebugCommonLib
  ArmVirtPkg: Add support for DebugCommonLib
  CryptoPkg: Add support for DebugCommonLib
  DynamicTablesPkg: Add support for DebugCommonLib
  EmbeddedPkg: Add support for DebugCommonLib
  EmulatorPkg: Add support for DebugCommonLib
  FatPkg: Add support for DebugCommonLib
  FmpDevicePkg: Add support for DebugCommonLib
  IntelFsp2Pkg: Add support for DebugCommonLib
  IntelFsp2WrapperPkg: Add support for DebugCommonLib
  OvmfPkg: Add support for DebugCommonLib
  NetworkPkg: Add support for DebugCommonLib
  ShellPkg: Add support for DebugCommonLib
  SecurityPkg: Add support for DebugCommonLib
  PcAtChipsetPkg: Add support for DebugCommonLib
  SignedCapsulePkg: Add support for DebugCommonLib
  SourceLevelDebugPkg: Add support for DebugCommonLib
  StandaloneMmPkg: Add support for DebugCommonLib
  UefiCpuPkg: Add support for DebugCommonLib
  UefiPayloadPkg: Add support for DebugCommonLib
  MdePkg: Introduce assertion on constraint debug mask bit
  MdePkg: Use assertion on constraint violation bit in SafeString

 ArmPkg/ArmPkg.dsc                                                                      |   1 +
 ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.dsc                                     |   1 +
 ArmPkg/Library/SemiHostingDebugLib/DebugLib.c                                          |  84 ----------
 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf                             |   3 +-
 ArmPlatformPkg/ArmPlatformPkg.dsc                                                      |   1 +
 ArmVirtPkg/ArmVirt.dsc.inc                                                             |   1 +
 CryptoPkg/CryptoPkg.dsc                                                                |   2 +
 DynamicTablesPkg/DynamicTablesPkg.dsc                                                  |   1 +
 EmbeddedPkg/EmbeddedPkg.dsc                                                            |   1 +
 EmulatorPkg/EmulatorPkg.dsc                                                            |   1 +
 FatPkg/FatPkg.dsc                                                                      |   1 +
 FmpDevicePkg/FmpDevicePkg.dsc                                                          |   1 +
 IntelFsp2Pkg/IntelFsp2Pkg.dsc                                                          |   1 +
 IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf           |   2 +-
 IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c                              |  97 -----------
 IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc                                            |   1 +
 MdeModulePkg/Library/PeiDebugLibDebugPpi/DebugLib.c                                    | 100 ------------
 MdeModulePkg/Library/PeiDebugLibDebugPpi/PeiDebugLibDebugPpi.inf                       |   2 +-
 MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c                         |  98 -----------
 MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf |   2 +-
 MdeModulePkg/MdeModulePkg.dsc                                                          |   1 +
 MdePkg/Include/Library/BaseLib.h                                                       | 120 +++++++-------
 MdePkg/Include/Library/DebugCommonLib.h                                                | 172 ++++++++++++++++++++
 MdePkg/Include/Library/DebugLib.h                                                      | 155 +++---------------
 MdePkg/Library/BaseDebugCommonLib/BaseDebugCommonLib.inf                               |  35 ++++
 MdePkg/Library/BaseDebugCommonLib/BaseDebugCommonLib.uni                               |  16 ++
 MdePkg/Library/BaseDebugCommonLib/DebugCommonLib.c                                     | 133 +++++++++++++++
 MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf                                   |   8 +
 MdePkg/Library/BaseDebugLibNull/DebugLib.c                                             |  98 -----------
 MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf                       |   3 +-
 MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c                                       |  98 -----------
 MdePkg/Library/BaseLib/BaseLib.inf                                                     |   1 +
 MdePkg/Library/BaseLib/SafeString.c                                                    |   2 +-
 MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c                                 |  98 -----------
 MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf           |   2 +-
 MdePkg/Library/UefiDebugLibConOut/DebugLib.c                                           |  98 -----------
 MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf                               |   3 +-
 MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c                                |  99 -----------
 MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf         |   3 +-
 MdePkg/Library/UefiDebugLibStdErr/DebugLib.c                                           |  98 -----------
 MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf                               |   3 +-
 MdePkg/MdePkg.dec                                                                      |   6 +-
 MdePkg/MdePkg.dsc                                                                      |   1 +
 MdePkg/MdePkg.uni                                                                      |   3 +-
 NetworkPkg/NetworkPkg.dsc                                                              |   1 +
 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c                                      |  98 -----------
 OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf                      |   3 +-
 OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf                   |   3 +-
 OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPortNocheck.inf            |   3 +-
 OvmfPkg/OvmfPkgIa32.dsc                                                                |   1 +
 OvmfPkg/OvmfPkgIa32X64.dsc                                                             |   1 +
 OvmfPkg/OvmfPkgX64.dsc                                                                 |   1 +
 OvmfPkg/OvmfXen.dsc                                                                    |   1 +
 PcAtChipsetPkg/PcAtChipsetPkg.dsc                                                      |   1 +
 SecurityPkg/SecurityPkg.dsc                                                            |   1 +
 ShellPkg/ShellPkg.dsc                                                                  |   1 +
 SignedCapsulePkg/SignedCapsulePkg.dsc                                                  |   1 +
 SourceLevelDebugPkg/SourceLevelDebugPkg.dsc                                            |   1 +
 StandaloneMmPkg/StandaloneMmPkg.dsc                                                    |   1 +
 UefiCpuPkg/UefiCpuPkg.dsc                                                              |   1 +
 UefiPayloadPkg/UefiPayloadPkgIa32.dsc                                                  |   1 +
 UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc                                               |   1 +
 UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.c                       |  94 -----------
 UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.inf                     |   2 +-
 UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc                                  |   1 +
 UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc                                |   1 +
 66 files changed, 497 insertions(+), 1379 deletions(-)
 create mode 100644 MdePkg/Include/Library/DebugCommonLib.h
 create mode 100644 MdePkg/Library/BaseDebugCommonLib/BaseDebugCommonLib.inf
 create mode 100644 MdePkg/Library/BaseDebugCommonLib/BaseDebugCommonLib.uni
 create mode 100644 MdePkg/Library/BaseDebugCommonLib/DebugCommonLib.c

-- 
2.24.2 (Apple Git-127)


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2020-05-13 16:07 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-12 17:02 [PATCH V5 00/27] Disabling safe string constraint assertions Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 01/27] MdePkg: Introduce DebugCommonLib interface and BaseDebugCommonLib Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 02/27] UnitTestFrameworkPkg: Add support for DebugCommonLib Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 03/27] MdePkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 04/27] MdeModulePkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 05/27] ArmPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 06/27] ArmPlatformPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 07/27] ArmVirtPkg: " Vitaly Cheptsov
2020-05-13 11:05   ` [edk2-devel] " Laszlo Ersek
2020-05-12 17:02 ` [PATCH V5 08/27] CryptoPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 09/27] DynamicTablesPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 10/27] EmbeddedPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 11/27] EmulatorPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 12/27] FatPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 13/27] FmpDevicePkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 14/27] IntelFsp2Pkg: " Vitaly Cheptsov
2020-05-13  0:09   ` Chiu, Chasel
2020-05-12 17:02 ` [PATCH V5 15/27] IntelFsp2WrapperPkg: " Vitaly Cheptsov
2020-05-13  0:06   ` Chiu, Chasel
2020-05-12 17:02 ` [PATCH V5 16/27] OvmfPkg: " Vitaly Cheptsov
2020-05-13 11:11   ` [edk2-devel] " Laszlo Ersek
2020-05-12 17:02 ` [PATCH V5 17/27] NetworkPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 18/27] ShellPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 19/27] SecurityPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 20/27] PcAtChipsetPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 21/27] SignedCapsulePkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 22/27] SourceLevelDebugPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 23/27] StandaloneMmPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 24/27] UefiCpuPkg: " Vitaly Cheptsov
2020-05-13 11:07   ` [edk2-devel] " Laszlo Ersek
2020-05-13 14:43     ` [EXTERNAL] " Bret Barkelew
2020-05-13 15:37       ` Laszlo Ersek
2020-05-13 15:52       ` Laszlo Ersek
2020-05-13 16:06         ` Michael D Kinney
2020-05-12 17:02 ` [PATCH V5 25/27] UefiPayloadPkg: " Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 26/27] MdePkg: Introduce assertion on constraint debug mask bit Vitaly Cheptsov
2020-05-12 17:02 ` [PATCH V5 27/27] MdePkg: Use assertion on constraint violation bit in SafeString Vitaly Cheptsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox