Oracle® Solaris Studio 12.4: Code Analyzer Tutorial

Exit Print View

Updated: October 2014
 
 

Static Code Issues

Static code checking finds the following types of errors:

  • ABR: beyond array bounds read

  • ABW: beyond array bounds write

  • DFM: double freeing memory

  • ECV: explicit type cast violation

  • FMR: freed memory read

  • FMW: freed memory write

  • INF: infinite empty loop

  • MLK: memory leak

  • MFR: missing function return

  • MRC: missing malloc return value check

  • NFR: uninitialized function return

  • NUL: null pointer dereference, leaky pointer check

  • RFM: return freed memory

  • UMR: uninitialized memory read, uninitialized memory read bit operation

  • URV: unused return value

  • VES: out-of-scope local variable usage