audk/BaseTools/Source/C/Common
Zhaozh1x e451aaa637 BaseTools: add ASSERT checker for array buffer value assignment.
V3:
Update the error message for array checker.
V2:
1. Add comments for each ASSERT.
2. ASSERT need to skip the case of array size of array as zero. For
example, TestArray[] in struct in header file.
V1:
For structure PCD,
1. use compiler time assert to check the array index, report error
if array index exceeds the array number.
2. use compiler time assert to check the array size, report error
if the user declared size in header file is smaller than the user
defined in DEC/DSC file.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: ZhiqiangX Zhao <zhiqiangx.zhao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-10-16 08:59:49 +08:00
..
BasePeCoff.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
BinderFuncs.c
BinderFuncs.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
CommonLib.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
CommonLib.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Compress.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Crc32.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Crc32.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Decompress.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Decompress.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
EfiCompress.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
EfiUtilityMsgs.c BaseTools/C/Common: Refine using sprintf() with '%s' in format string 2017-12-25 09:54:18 +08:00
EfiUtilityMsgs.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
FirmwareVolumeBuffer.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
FirmwareVolumeBufferLib.h
FvLib.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
FvLib.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GNUmakefile BaseTools GNUmakefile: Remove HOST_ARCH in every tool Makefile 2018-02-06 13:44:42 +08:00
Makefile BaseTools: Add PcdValueCommon logic into C source CommonLib 2017-12-25 11:05:45 +08:00
MemoryFile.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
MemoryFile.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
MyAlloc.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
MyAlloc.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
OsPath.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
OsPath.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseGuidedSectionTools.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseGuidedSectionTools.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseInf.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseInf.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
PcdValueCommon.c BaseTools: Fix make PcdValueCommon.c failure on GCC 2018-02-02 11:35:04 +08:00
PcdValueCommon.h BaseTools: add ASSERT checker for array buffer value assignment. 2018-10-16 08:59:49 +08:00
PeCoffLib.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
PeCoffLoaderEx.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
SimpleFileParsing.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
SimpleFileParsing.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
StringFuncs.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
StringFuncs.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
TianoCompress.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
WinNtInclude.h