mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-11-05 00:03:03 +00:00
This commit refines the logic for InternalMemSetMem16|32|64 functions. It avoids using the decrement operator '--' for array index to prevent possible mis-reports by static code checkers. Please note that those modified functions are only consumed within MemoryLib by APIs SetMem16|32|64, and those APIs will handle the case when the input number of bytes to set is 0. Hence, the behavior of APIs SetMem16|32|64 is not changed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> |
||
|---|---|---|
| .. | ||
| BaseMemoryLib.inf | ||
| BaseMemoryLib.uni | ||
| CompareMemWrapper.c | ||
| CopyMem.c | ||
| CopyMemWrapper.c | ||
| IsZeroBufferWrapper.c | ||
| MemLibGeneric.c | ||
| MemLibGuid.c | ||
| MemLibInternals.h | ||
| ScanMem8Wrapper.c | ||
| ScanMem16Wrapper.c | ||
| ScanMem32Wrapper.c | ||
| ScanMem64Wrapper.c | ||
| SetMem16Wrapper.c | ||
| SetMem32Wrapper.c | ||
| SetMem64Wrapper.c | ||
| SetMem.c | ||
| SetMemWrapper.c | ||
| ZeroMemWrapper.c | ||