JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2 Discover and Uncover User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction

2.  Sun Memory Error Discovery Tool (Discover)

3.  Code Coverage Tool (Uncover)

Requirements for Using Uncover

Using Uncover

Instrumenting the Binary

Running the Instrumented Binary

Generating and Viewing the Coverage Report

Examples

Understanding the Coverage Report in the Performance Analyzer

The Functions Tab

The Uncoverage Counter

The Function Count Counter

The Instr Exec Counter

The Block Covered % Counter

The Instr Covered % Counter

The Source Tab

The Disassembly Tab

The Inst-Freq Tab

Understanding the ASCII Coverage Report

Understanding the HTML Coverage Report

Limitations When Using Uncover

Only Annotated Code Can Be Instrumented

Machine Instructions Might Differ From Source Code

Index

Requirements for Using Uncover

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.