Warning on using a .SYM file for array overruns

0 Likes

Problem:

WARNING ON USING A .SYM FILE FOR ARRAY OVERRUNS

Resolution:

If BOUNDS-CHECKER is used with a program that has debug data in

  a separate .SYM file rather than in the .EXE, overruns of local or

  global arrays will not be caught.  This is because the .MAP file

  does not include information on these variables.  Overruns of an

  allocated area will still be caught.

Whenever a .SYM file is used, the model size must be specified

  in the exception file on a line by itself. The line must contain

  either "M_SMALL", "M_MEDIUM", "M_COMPACT" or "M_LARGE". If the

  compiler is not Microsoft or Borland, it may also be necessary to

  put a CODEEND statement in the exception file to define the end of

  the code segment.

Old KB# 12289
Comment List
Anonymous
Related Discussions
Recommended