mirror_edk2/BaseTools/Source/Python/Workspace
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
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
BuildClassObject.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
DecBuildData.py BaseTools: Don't save unused workspace data 2018-09-20 22:18:07 +08:00
DscBuildData.py BaseTools: add ASSERT checker for array buffer value assignment. 2018-10-16 08:59:49 +08:00
InfBuildData.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
MetaDataTable.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
MetaFileCommentParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MetaFileParser.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
MetaFileTable.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
WorkspaceCommon.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
WorkspaceDatabase.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00