audk/BaseTools/Source/C
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
..
BootSectImage BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
BrotliCompress BaseTools: Update Brotli Compress to the latest one 1.0.6 2018-10-09 22:27:32 +08:00
Common BaseTools: add ASSERT checker for array buffer value assignment. 2018-10-16 08:59:49 +08:00
DevicePath BaseTools: Add Dns and BluetoothLE DevicePath 2018-08-16 13:41:55 +08:00
EfiLdrImage BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
EfiRom BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenBootSector BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenCrc32 BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenFfs BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenFv BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenFw BaseTools: ElfConvert Tool update VerboseMsg to same with the comment 2018-07-23 10:53:05 +08:00
GenPage BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenSec BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenVtf BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GnuGenBootSector BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Include BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
LzmaCompress BaseTools LzmaCompress: Fix GCC warning misleading-indentation 2018-10-09 11:47:25 +02:00
Makefiles BaseTools: Support multi thread build Basetool on Windows 2018-09-12 13:02:11 +08:00
PyEfiCompressor BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Split BaseTools GNUmakefile: Remove HOST_ARCH in every tool Makefile 2018-02-06 13:44:42 +08:00
TianoCompress BaseTools: Add --uefi option to enable UefiCompress method 2018-10-15 15:37:45 +08:00
VfrCompile BaseTools/VfrCompile: honor EXTRA_LDFLAGS 2018-08-22 09:32:46 -07:00
VolInfo BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GNUmakefile BaseTools: Add DevicePath support for PCD values 2017-12-31 13:10:49 +08:00
Makefile Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00