mirror_edk2/BaseTools/Source/Python
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
..
AutoGen BaseTools: increment build generate inf file lost .depex file 2018-10-15 10:28:05 +08:00
BPDG Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
build BaseTools: Enhance the *P Flag display for Structure Pcd 2018-10-15 15:26:48 +08:00
Capsule BaseTools/Capsule: Support capsules without a payload header 2018-08-02 14:35:29 -07:00
Common BaseTools: remove the not used PyUtility file 2018-10-15 10:23:36 +08:00
CommonDataClass BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Ecc Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Eot Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
GenFds BaseTools: Fix regression boot hang issue by commit 0e982cf03d 2018-10-15 18:21:28 +08:00
GenPatchPcdTable Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
PatchPcdValue Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Pkcs7Sign Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Rsa2048Sha256Sign Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Table Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
TargetTool Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Trim Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
UPT Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Workspace BaseTools: add ASSERT checker for array buffer value assignment. 2018-10-16 08:59:49 +08:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile BaseTools: Update Makefile for ECC tool 2018-08-23 14:54:15 +08:00
sitecustomize.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00