audk/MdeModulePkg/Core/Dxe/Misc
Ard Biesheuvel a2ed40c02b MdeModulePkg/DxeCore: base code protection on permission attributes
Instead of assuming that a PE/COFF section of type EFI_IMAGE_SCN_CNT_CODE
can always be mapped read-only, classify a section as a code section only
if it has the executable attribute set and the writable attribute cleared.

This adheres more closely to the PE/COFF spec, and avoids issues with
Linux OS loaders that may consist of a single read/write/execute section.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2017-02-26 13:50:21 +00:00
..
DebugImageInfo.c Add new PCD gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress for the MdeModulePkg that allows the platform DSC file to specify the address below which the EFI_SYSTEM_TABLE_POINTER structure is allocated. 2010-11-09 07:54:53 +00:00
InstallConfigurationTable.c Update the comments of InstallConfigurationTable to follow UEFI Spec. 2011-05-31 03:15:58 +00:00
MemoryAttributesTable.c MdeModulePkg-DxeCore: rename CoreGetMemoryMapPropertiesTable 2016-05-16 08:53:37 +08:00
MemoryProtection.c MdeModulePkg/DxeCore: base code protection on permission attributes 2017-02-26 13:50:21 +00:00
PropertiesTable.c MdeModulePkg/DxeCore: Add UEFI image protection. 2017-02-22 14:07:04 +08:00
SetWatchdogTimer.c Update the copyright notice format 2010-04-24 09:49:11 +00:00
Stall.c MdeModulePkg/Stall: Refine to compare 2 values with the same type 2017-01-12 21:26:27 +08:00