Oracle® Solaris Studio 12.4: Code Analyzer User's Guide

Exit Print View

Updated: October 2014
 
 

Code Analyzer GUI

After collecting data with the compiler, Discover, or Uncover, you can start Code Analyzer GUI to display and analyze the issues by issuing the code-analyzer command.

For each issue, Code Analyzer displays the issue description, the path name of the source file in which the issue was found, and a code snippet from that file with the relevant source line highlighted.

Code Analyzer enables you to do the following:

  • Display more details for an issue. For a static issue, the details include the Error Path. For a dynamic memory access issue, the details include a Call Stack and if the data is available, include an Allocation Stack and a Free Stack.

  • Open the source file in which an issue was found.

  • Move from a function call in the Error Path or stack to the associated source code line.

  • Find all of the usages of a function in your program.

  • Move to the declaration of a function.

  • Move to the declaration of an overridden or overriding function.

  • Display the call graph for a function.

  • Display more information about each issue type, including a code example and possible causes.

  • Filter the displayed issues by analysis type, issue type, and source file.

  • Hide issues you have already reviewed, and close issues that you are not interested in.

For detailed information about using the GUI, see the online help in the GUI and Oracle Solaris Studio 12.4: Code Analyzer Tutorial .