CodeGuard can report situations where your application may access memory beyond a buffer's maximum size. Warnings are available for three types of runtime library functions.
Name |
Description |
Each of the following functions has a parameter that determines the maximum number of bytes it compares:
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. | |
Each of the following functions use constants defined in dir.h to determine the maximum number of bytes to copy to or from a buffer:
| |
Each of the following functions has a parameter that determines the maximum number of bytes it compares:
If the Warnings option is enabled for the functions listed, CodeGuard verifies that a string comparison can be performed for each buffer passed to the function. If the buffer size is too large, as determined by the parameter passed to the function, and the buffer is not null-terminated, CodeGuard generates a warning. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|