public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/7] enable IBT/BTI codegen and reporting to the OS
@ 2023-02-03 12:10 Ard Biesheuvel
  2023-02-03 12:10 ` [RFC PATCH v2 1/7] MdePkg: Update MemoryAttributesTable to v2.10 Ard Biesheuvel
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Ard Biesheuvel @ 2023-02-03 12:10 UTC (permalink / raw)
  To: devel
  Cc: Ard Biesheuvel, Michael Kinney, Liming Gao, Jiewen Yao,
	Michael Kubacki, Sean Brogan, Rebecca Cran, Leif Lindholm,
	Sami Mujawar, Taylor Beebe, Marvin Häuser

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2373 bytes --]

v2:
- check instruction opcode at image entry point to decide whether the
  image was built with forward edge control flow guards
- add some cleanup patches for BasePeCoffLib while at it

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Rebecca Cran <quic_rcran@quicinc.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Taylor Beebe <t@taylorbeebe.com>
Cc: Marvin Häuser <mhaeuser@posteo.de>

Ard Biesheuvel (7):
  MdePkg: Update MemoryAttributesTable to v2.10
  MdePkg/BasePeCoffLib: Move RISC-V definitions out of generic header
  MdePkg/BasePeCoffLib: Clean up stale Itanium references in comments
  MdePkg/BasePeCoffLib: Add generic plumbing to detect IBT/BTI support
  MdePkg/BasePeCoffLib AARCH64: Implement fwd control flow guard
    detection
  MdeModulePkg: Enable forward edge CFI in mem attributes table
  ArmVirtPkg: Implement BTI for runtime regions

 ArmVirtPkg/ArmVirt.dsc.inc                                  |  6 ++++
 MdeModulePkg/Core/Dxe/DxeMain.h                             |  2 ++
 MdeModulePkg/Core/Dxe/Image/Image.c                         |  9 +++++
 MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c          |  8 ++++-
 MdePkg/Include/Guid/MemoryAttributesTable.h                 |  8 +++--
 MdePkg/Include/Library/PeCoffLib.h                          |  5 +++
 MdePkg/Library/BasePeCoffLib/{ => AArch64}/PeCoffLoaderEx.c | 36 +++++++++++++++-----
 MdePkg/Library/BasePeCoffLib/Arm/PeCoffLoaderEx.c           | 16 +++++++++
 MdePkg/Library/BasePeCoffLib/BasePeCoff.c                   |  9 +++--
 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf              |  5 ++-
 MdePkg/Library/BasePeCoffLib/BasePeCoffLibInternals.h       | 30 ++++++++--------
 MdePkg/Library/BasePeCoffLib/LoongArch/PeCoffLoaderEx.c     | 16 +++++++++
 MdePkg/Library/BasePeCoffLib/PeCoffLoaderEx.c               | 27 +++++++++++----
 MdePkg/Library/BasePeCoffLib/RiscV/PeCoffLoaderEx.c         | 25 ++++++++++++++
 14 files changed, 167 insertions(+), 35 deletions(-)
 copy MdePkg/Library/BasePeCoffLib/{ => AArch64}/PeCoffLoaderEx.c (64%)

-- 
2.39.1


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

end of thread, other threads:[~2023-02-03 12:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03 12:10 [RFC PATCH v2 0/7] enable IBT/BTI codegen and reporting to the OS Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 1/7] MdePkg: Update MemoryAttributesTable to v2.10 Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 2/7] MdePkg/BasePeCoffLib: Move RISC-V definitions out of generic header Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 3/7] MdePkg/BasePeCoffLib: Clean up stale Itanium references in comments Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 4/7] MdePkg/BasePeCoffLib: Add generic plumbing to detect IBT/BTI support Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 5/7] MdePkg/BasePeCoffLib AARCH64: Implement fwd control flow guard detection Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 6/7] MdeModulePkg: Enable forward edge CFI in mem attributes table Ard Biesheuvel
2023-02-03 12:10 ` [RFC PATCH v2 7/7] ArmVirtPkg: Implement BTI for runtime regions Ard Biesheuvel
2023-02-03 12:33   ` [edk2-devel] " Michael Brown
2023-02-03 12:55     ` Ard Biesheuvel
2023-02-03 12:58       ` Michael Brown

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