Memory-related errors in your code are often difficult to find. When you instrument your program with discover before running it, discover catches and reports memory access errors dynamically during program execution. For example, if your program allocates an array and does not initialize it and then tries to read from a location in the array, the program is likely to behave erratically. If you instrument the program with Discover and then run it, discover will catch the error.
For information about collecting dynamic memory access error data, see Collecting Dynamic Memory Access Data.
For a list of the dynamic memory access issues that Code Analyzer analyzes, see Dynamic Memory Access Errors.