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 Update the copyright notice format 2010-04-23 15:46:20 +00:00
CacheMaintenanceLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
CpuLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
DebugLib.h MdePkg/DebugLib: Flag post-_ASSERT() as unreachable for analyzers. 2016-06-22 09:37:12 +08:00
DebugPrintErrorLevelLib.h Refine code to follow coding style. 2011-03-15 00:53:52 +00:00
DevicePathLib.h Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
DxeCoreEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
DxeServicesLib.h MdePkg: Add a new DxeServicesLib GetFileDevicePathFromAnyFv () function 2015-10-23 05:53:08 +00:00
DxeServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
ExtendedSalLib.h Add ESAL support libraries to MdePkg 2011-06-10 18:58:08 +00:00
ExtractGuidedSectionLib.h Add API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers. 2010-11-04 05:51:32 +00:00
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 Update the copyright notice format 2010-04-23 15:46:20 +00:00
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 Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeCoffGetEntryPointLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeCoffLib.h Enhance the error code info. 2012-09-11 10:53:37 +00:00
PeiCoreEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
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 Update the copyright notice format 2010-04-23 15:46:20 +00:00
PerformanceLib.h MdePkg: Update PerformanceLib comments not to check Identifier. 2016-04-11 16:20:28 +08:00
PostCodeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PrintLib.h MdePkg: Add %u and %lu support for PrintLib and DebugLib. 2015-06-08 05:37:31 +00:00
ReportStatusCodeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
ResourcePublicationLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
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 MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
S3StallLib.h MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
SalLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SerialPortLib.h MdePkg SerialPortLib: Upstream Get(Set)Control/SetAttributes interfaces 2015-11-26 08:46:52 +00:00
SmbusLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SmmLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
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 Update inappropriate comments. 2011-02-17 00:45:08 +00:00
SmmServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SynchronizationLib.h MdePkg/BaseSynchronizationLib: Add InterlockedCompareExchange16 2015-02-28 20:31:54 +00:00
TimerLib.h Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds. 2011-08-25 05:59:17 +00:00
UefiApplicationEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiBootServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiDecompressLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiDriverEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiLib.h MdePkg/UefiLib: introduce EfiEventGroupSignal 2016-03-23 12:05:39 +01:00
UefiRuntimeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiRuntimeServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiScsiLib.h MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command 2015-12-11 01:57:41 +00:00
UefiUsbLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00