2. Sun Memory Error Discovery Tool (Discover)
3. Code Coverage Tool (Uncover)
Running the Instrumented Binary
Generating and Viewing the Coverage Report
Understanding the Coverage Report in the Performance Analyzer
Understanding the ASCII Coverage Report
Understanding the HTML Coverage Report
Limitations When Using Uncover
Only Annotated Code Can Be Instrumented
Uncover works on binaries compiled with the Sun Studio 12 Update 1, Oracle Solaris Studio Express 6/10, or Oracle Solaris Studio 12.2 compilers, or the GCC for Sun Systems 4.2.0 or later compilers, with at least the -O1 optimization option, on a SPARC-based or x86-based system running the Solaris 10 5/08 operating system or a later Solaris 10 update.
A binary compiled as described includes information that Uncover uses to reliably disassemble the binary to instrument it for coverage data collection.
Using the -g option to generate debug information when compiling the binary allows Uncover to use source code level coverage information. If your binary is not compiled with the -g option, Uncover uses only program counter (PC) based coverage information.