Oracle® Solaris Studio 12.4: Code Analyzer Tutorial

Exit Print View

Updated: October 2014
 
 

Dynamic Memory Access Issues

Dynamic memory access checking finds the following types of errors:

  • ABR: beyond array bounds read

  • ABW: beyond array bounds write

  • BFM: bad free memory

  • BRP: bad realloc address parameter

  • CGB: corrupted guard block

  • DFM: double freeing memory

  • FMR: freed memory read

  • FMW: freed memory write

  • FRP: freed realloc parameter

  • IMR: invalid memory read

  • IMW: invalid memory write

  • MLK: memory leak

  • OLP: overlapping source and destination

  • PIR: partially initialized read

  • SBR: beyond stack bounds read

  • SBW: beyond stack bounds write

  • UAR: unallocated memory read

  • UAW: unallocated memory write

  • UMR: uninitialized memory read

Dynamic memory access checking finds the following types of warnings:

  • AZS: allocating zero size

  • MLK: memory leak

  • SMR: speculative uninitialized memory read