RAD Studio |  |

Memory Block Comparison Warnings

Each of the following functions has a parameter that determines the maximum number of bytes it compares:

1. memcmp
2. memicmp
3. _fmemcmp
4. _fmemicmp

If the Warnings option is enabled for the functions listed above, CodeGuard verifies that a comparison can be performed for each memory block passed to the function. If a memory block is too large, as determined by the parameter passed to the function, CodeGuard generates a warning.

If the Warnings option is disabled for the functions listed above, CodeGuard checks the first byte in each memory block passed to the function. If the memory block is invalid, CodeGuard generates an error message.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!