audk/MdePkg/Library
ydong10 28186d4566 Validate some fields in PE image to make sure not access violation for later code.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13211 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-24 03:00:32 +00:00
..
BaseCacheMaintenanceLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseCpuLib MdePkg: Update CpuSleep to use ARMv7 instruction. 2011-07-20 17:47:44 +00:00
BaseDebugLibNull Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 2011-03-10 22:12:34 +00:00
BaseDebugLibSerialPort Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 2011-03-10 22:12:34 +00:00
BaseDebugPrintErrorLevelLib Refine code to follow coding style. 2011-03-15 00:53:52 +00:00
BaseExtractGuidedSectionLib Add code check to avoid access violation. 2012-02-27 02:44:20 +00:00
BaseIoLibIntrinsic Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseLib Current IPF version SwitchStack implementation uses loadrs instruction to restore dirty partition of register stack from the backing store, but there is no guarantee to make the backing store valid before. So add flushrs before loadrs to make sure backing store valid. 2012-04-11 01:56:48 +00:00
BaseMemoryLib Fix InternalMemScanMem* functions so that they return the pointer to the matched object, as specified, instead of the following object. 2011-01-07 23:00:16 +00:00
BaseMemoryLibMmx Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibOptDxe Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibOptPei Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibRepStr Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibSse2 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePalLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePcdLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
BasePciCf8Lib Update BASE PCI Library that uses CF8/CFC access mechanism for PCI configuration cycles to be safe for use from interrupt context and from modules of type DXE_SMM_DRIVER. 2010-06-25 22:27:59 +00:00
BasePciExpressLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePciLibCf8 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePciLibPciExpress Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePeCoffExtraActionLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePeCoffGetEntryPointLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePeCoffLib Validate some fields in PE image to make sure not access violation for later code. 2012-04-24 03:00:32 +00:00
BasePerformanceLibNull Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API. 2012-04-17 09:45:30 +00:00
BasePostCodeLibDebug Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePostCodeLibPort80 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePrintLib Add Missing invocations to VA_END() for VA_START(). 2012-02-01 06:06:08 +00:00
BaseReportStatusCodeLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseS3BootScriptLibNull MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseS3IoLib MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseS3PciLib MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseS3SmbusLib MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseS3StallLib MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseSerialPortLibNull Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It will ASSERT() due to the recent addition of a CONSTRUCTOR to BaseDebugLibSerialPort that calls SerialPortInitialize(). 2010-12-30 01:07:39 +00:00
BaseSynchronizationLib Clarify alignment of GetSpinLockProperties() is byte alignment. 2012-03-07 01:40:44 +00:00
BaseTimerLibNullTemplate Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds. 2011-08-25 05:59:17 +00:00
BaseUefiDecompressLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
DxeCoreEntryPoint Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
DxeCoreHobLib Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure. 2011-06-09 02:51:00 +00:00
DxeExtendedSalLib Add Missing invocations to VA_END() for VA_START(). 2012-02-01 06:06:08 +00:00
DxeExtractGuidedSectionLib Add core FFS3 support, ExtractGuidedSectionLib/GuidedSectionExtractionLib/PiFirmwareFile.h. 2011-10-27 08:45:50 +00:00
DxeHobLib Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure. 2011-06-09 02:51:00 +00:00
DxeIoLibCpuIo2 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
DxeIoLibEsal Initialize data before using it 2011-06-21 02:24:46 +00:00
DxePalLibEsal For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
DxePcdLib For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
DxePciLibEsal Add ESAL support libraries to MdePkg 2011-06-10 18:58:08 +00:00
DxePciSegmentLibEsal Add ESAL support libraries to MdePkg 2011-06-10 18:58:08 +00:00
DxeRuntimeExtendedSalLib Add Missing invocations to VA_END() for VA_START(). 2012-02-01 06:06:08 +00:00
DxeRuntimePciExpressLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
DxeSalLibEsal Initialize data before using it 2011-06-21 02:24:46 +00:00
DxeServicesLib Correct function comments on DxeServicesLib GetFileBufferByFilePath API. 2012-04-17 09:42:44 +00:00
DxeServicesTableLib Add the missing supported module type in MdePkg DxeServicesTableLib instance. 2011-11-23 02:00:05 +00:00
DxeSmbusLib For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
DxeTimerLibEsal MdePkg: Add missing implementation of GetTimeInNanoSecond() to TimerLib library instance DxeTimerLibEsal. 2011-09-08 01:34:24 +00:00
PeiCoreEntryPoint Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
PeiDxePostCodeLibReportStatusCode Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
PeiExtractGuidedSectionLib Add code check to avoid access violation. 2012-02-27 02:44:20 +00:00
PeiHobLib Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure. 2011-06-09 02:51:00 +00:00
PeiIoLibCpuIo For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
PeiMemoryAllocationLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
PeiMemoryLib Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances. 2010-08-26 00:50:37 +00:00
PeiPalLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
PeiPcdLib For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
PeiPciLibPciCfg2 For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
PeiPciSegmentLibPciCfg2 For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
PeiResourcePublicationLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
PeiServicesLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
PeiServicesTablePointerLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
PeiServicesTablePointerLibIdt Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
PeiServicesTablePointerLibKr7 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
PeiSmbusLibSmbus2Ppi For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
PeimEntryPoint Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
SecPeiDxeTimerLibCpu Update Base type SecPeiDxeTimerLibCpu to support all module type. 2011-10-24 04:37:33 +00:00
SmmIoLibSmmCpuIo2 For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
SmmLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
SmmMemoryAllocationLib Enhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range. 2010-07-28 01:07:43 +00:00
SmmPciLibPciRootBridgeIo For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
SmmPeriodicSmiLib Simplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI periodic handler list. 2011-08-19 01:37:47 +00:00
SmmServicesTableLib A minor change for the format of usage align with spec. 2011-02-21 08:07:22 +00:00
UefiApplicationEntryPoint Update UefiDriverEntryPoint library by adding BaseLib library class required by AutoGen code. 2010-10-18 09:59:55 +00:00
UefiBootServicesTableLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
UefiDebugLibConOut Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 2011-03-10 22:12:34 +00:00
UefiDebugLibStdErr Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 2011-03-10 22:12:34 +00:00
UefiDevicePathLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
UefiDevicePathLibDevicePathProtocol For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
UefiDriverEntryPoint Update the description of Loaded Image Protocol Unload function to follow the UEFI2.3.1 Spec. 2011-04-19 06:33:25 +00:00
UefiLib MdePkg: Add a new macro VA_COPY for variable argument support. Fix a bug in the UefiLib instance that there is a non portable assumption that Marker is copied when passed to a function. 2012-02-22 02:39:57 +00:00
UefiMemoryAllocationLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
UefiMemoryLib Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances. 2010-08-26 00:50:37 +00:00
UefiPalLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
UefiPciLibPciRootBridgeIo For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
UefiPciSegmentLibPciRootBridgeIo For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
UefiRuntimeLib Update MODULE_TYPE to be DXE_RUNTIME_DRIVER 2010-09-14 17:02:46 +00:00
UefiRuntimeServicesTableLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
UefiSalLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
UefiScsiLib Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to UefiScsiLib. 2011-05-23 07:45:40 +00:00
UefiUsbLib Minor refinement on source code. 2010-08-14 07:25:20 +00:00