audk/MdePkg/Include/Library
Marvin H?user 90eda6fc27 MdePkg/DebugLib: Flag post-_ASSERT() as unreachable for analyzers.
When a variable is compared to NULL as part of an ASSERT() call, the
code implies that the variable may be NULL. Certain Static Analyzers,
such as the Clang Static Analyzer, then issue false warnings for any
untested access of that pointer, even though that defeats the
intention behind ASSERT(). This patch flags the position after
_ASSERT() as unreachable for Static Analyzers to indicate that if the
variable is NULL, execution cannot pass.
As the ANALYZER-prefixed version is used, the executables will not
have any code stripped during compilation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-06-22 09:37:12 +08:00
..
BaseLib.h MdePkg: Indicate UnicodeStrToAsciiStr/AsciiStrToUnicodeStr to be deprecated 2016-06-21 12:46:27 +08:00
BaseMemoryLib.h
CacheMaintenanceLib.h
CpuLib.h
DebugLib.h MdePkg/DebugLib: Flag post-_ASSERT() as unreachable for analyzers. 2016-06-22 09:37:12 +08:00
DebugPrintErrorLevelLib.h
DevicePathLib.h Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
DxeCoreEntryPoint.h
DxeServicesLib.h MdePkg: Add a new DxeServicesLib GetFileDevicePathFromAnyFv () function 2015-10-23 05:53:08 +00:00
DxeServicesTableLib.h
ExtendedSalLib.h
ExtractGuidedSectionLib.h
FileHandleLib.h MdePkg: Make the FileHandleGetFileName return the file name in right format. 2015-08-26 02:25:42 +00:00
HobLib.h MdePkg: fix mixed dos and linux EOL format issue 2014-12-23 08:33:49 +00:00
HstiLib.h Add HSTI support. 2015-01-19 06:08:23 +00:00
IoLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
MemoryAllocationLib.h Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
OrderedCollectionLib.h MdePkg: introduce OrderedCollectionLib library class 2014-08-12 07:28:52 +00:00
PalLib.h
PcdLib.h MdePkg: Follow PI1.4a to fix artificial limitation of SkuId range 2016-05-23 10:48:53 +08:00
PciCf8Lib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciExpressLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciSegmentLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PeCoffExtraActionLib.h
PeCoffGetEntryPointLib.h
PeCoffLib.h Enhance the error code info. 2012-09-11 10:53:37 +00:00
PeiCoreEntryPoint.h
PeiServicesLib.h 1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using the Security Arch Protocol 2013-10-11 03:54:13 +00:00
PeiServicesTablePointerLib.h Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeimEntryPoint.h
PerformanceLib.h MdePkg: Update PerformanceLib comments not to check Identifier. 2016-04-11 16:20:28 +08:00
PostCodeLib.h
PrintLib.h MdePkg: Add %u and %lu support for PrintLib and DebugLib. 2015-06-08 05:37:31 +00:00
ReportStatusCodeLib.h
ResourcePublicationLib.h
RngLib.h MdePkg: Create GetRandomNumber128 in RngLib 2015-10-09 06:03:17 +00:00
S3BootScriptLib.h Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification. 2014-03-01 12:25:31 +00:00
S3IoLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
S3PciLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
S3SmbusLib.h
S3StallLib.h
SalLib.h
SerialPortLib.h MdePkg SerialPortLib: Upstream Get(Set)Control/SetAttributes interfaces 2015-11-26 08:46:52 +00:00
SmbusLib.h
SmmLib.h
SmmMemLib.h Add SmmMemLib, which can be used by SMM driver or SMM core to check communication buffer. 2015-02-02 14:40:44 +00:00
SmmPeriodicSmiLib.h
SmmServicesTableLib.h
SynchronizationLib.h MdePkg/BaseSynchronizationLib: Add InterlockedCompareExchange16 2015-02-28 20:31:54 +00:00
TimerLib.h
UefiApplicationEntryPoint.h
UefiBootServicesTableLib.h
UefiDecompressLib.h
UefiDriverEntryPoint.h
UefiLib.h MdePkg/UefiLib: introduce EfiEventGroupSignal 2016-03-23 12:05:39 +01:00
UefiRuntimeLib.h
UefiRuntimeServicesTableLib.h
UefiScsiLib.h MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command 2015-12-11 01:57:41 +00:00
UefiUsbLib.h