oracle home
Oracle
®
Solaris Studio 12.4: Discover and Uncover User's Guide
Exit Print View
Search Term
Search Scope:
This Document
Entire Library
» ...
Documentation Home
»
Oracle Solaris Studio 12.4 Information Library
»
Oracle
®
Solaris Studio 12.4: ...
»
Index D
Updated: December 2015
Oracle
®
Solaris Studio 12.4: Discover and Uncover User's Guide
Document Information
Using This Documentation
Product Documentation Library
Feedback
Chapter 1 Introduction
Memory Error Discovery Tool (discover)
Code Coverage Tool (uncover)
Chapter 2 Memory Error Discovery Tool (discover)
Requirements for Using discover
Prepare Binaries Correctly
Binaries That Use Preloading or Auditing Are Incompatible
Simple Program Example
Instrumenting a Prepared Binary
Caching Shared Libraries
Instrumenting Shared Libraries
Ignoring Libraries
Checking Parts of a Library or an Executable
Command-Line Options
Output Options
Instrumentation Options
Caching Options
Other Options
bit.rc Initialization Files
Running an Instrumented Binary
Hardware-Assisted Checking Using Silicon Secured Memory (SSM)
Using the libdiscoverADI Library to Find Memory Access Errors
Errors Caught by libdiscoverADI
Instrumentation Options for discover ADI mode
Requirements and Limitations of Using libdiscoverADI
Example of Using discover ADI Mode
Analyzing discover Reports
Analyzing the HTML Report
Using the Errors Tab
Using the Warnings Tab
Using the Memory Leaks Tab
Using the Control Panel
Analyzing the ASCII Report
ASCII Warning and Error Message Descriptions
ASCII Memory Leak Report
ASCII Stack Trace Report
ASCII Report Summary
discover APIs and Environment Variables
discover APIs
Finding Memory Leaks With discover APIs
Finding Leaks in a Server or Long-Running Program
SUNW_DISCOVER_OPTIONS Environment Variable
SUNW_DISCOVER_FOLLOW_FORK_MODE Environment Variable
Memory Access Errors and Warnings
Memory Access Errors
ABR
ABW
BFM
BRP
CGB
DFM
FMR
FMW
FRP
IMR
IMW
Memory Leak
OLP
PIR
SBR
SBW
UAR
UMR
Memory Access Warnings
Interpreting discover Error Messages
Partially Initialized Memory
Speculative Loads
Uninstrumented Code
Limitations When Using discover
Only Annotated Code Is Instrumented
Machine Instruction Might Differ From Source Code
Compiler Options Affect the Generated Code
System Libraries Can Affect the Errors Reported
Custom Memory Management Can Affect the Accuracy of the Data
Out of Bounds Errors for Static and Automatic Arrays Cannot Be Detected
Chapter 3 Code Coverage Tool (uncover)
Requirements for Using uncover
Using uncover
Instrumenting the Binary
Running the Instrumented Binary
Generating and Viewing the Coverage Report
Understanding the Coverage Report in Performance Analyzer
Overview Screen
Functions View
Uncoverage Counter (bit_UNCV)
Function Count Counter (bit_fcoun)
Instr Exec Counter (bit_E)
Block Covered % Counter (bit_BCV_%)
Instr Covered % Counter (bit_ICV_%)
Source View
Disassembly View
Inst-Freq View
Understanding the ASCII Coverage Report
Understanding the HTML Coverage Report
Limitations When Using uncover
Only Annotated Code Can Be Instrumented
Compiler Options Affect Generated Code
Machine Instructions Might Differ From Source Code
Index
Index B
Index D
Index I
Index N
Index R
Index S
Index U
Language:
English
D
Discover
requirements for using
Requirements for Using discover
discover
API
Uninstrumented Code
Application Data Integrity (ADI)
Hardware-Assisted Checking Using Silicon Secured Memory (SSM)
doing full read-write instrumentation of libraries
Instrumentation Options
doing write-only instrumentation for executables
Instrumentation Options
following fork
SUNW_DISCOVER_FOLLOW_FORK_MODE Environment Variable
forcing reinstrumentation of cached libraries
Caching Options
hardware-assisted checking
Hardware-Assisted Checking Using Silicon Secured Memory (SSM)
allocation/free stack traces
Instrumentation Options
configuration options
Instrumentation Options for discover ADI mode
discover ADI library
Using the libdiscoverADI Library to Find Memory Access Errors
errors caught
Errors Caught by libdiscoverADI
example
Example of Using discover ADI Mode
libdiscoverADI.so
Using the libdiscoverADI Library to Find Memory Access Errors
Hardware-Assisted Checking Using Silicon Secured Memory (SSM)
precise ADI mode
Instrumentation Options
ignoring shared libraries
Instrumentation Options
Ignoring Libraries
instrumenting the named binary only
Instrumentation Options
issuing a warning if an attempt is made to instrument an uninstrumentable binary
Instrumentation Options
limitations
Limitations When Using discover
memory access error examples
Memory Access Errors
memory access errors
Memory Access Errors
memory access warnings
Memory Access Warnings
options
–a
Output Options
–A
Instrumentation Options
–b
Output Options
–c
Instrumentation Options
Instrumenting Shared Libraries
–D
Caching Options
Caching Shared Libraries
–e
Output Options
–E
Output Options
–f
Output Options
–F
Instrumentation Options
–H
Analyzing discover Reports
Analyzing discover Reports
Output Options
–h
Other Options
–i adi
Instrumentation Options
–i datarace
Instrumentation Options
–i memcheck
Instrumentation Options
–K
Instrumentation Options
–k
Caching Options
–l
Instrumentation Options
–m
Output Options
–n
Instrumentation Options
Instrumenting Shared Libraries
Instrumenting a Prepared Binary
–N
Instrumentation Options
Ignoring Libraries
–o
Output Options
–P
Instrumentation Options
–S
Output Options
–s
Instrumentation Options
–T
Instrumentation Options
Ignoring Libraries
–v
Other Options
–V
Other Options
–w
Analyzing discover Reports
Analyzing discover Reports
Output Options
Instrumenting a Prepared Binary
overview
Memory Error Discovery Tool (discover)
running in light mode
Instrumentation Options
Silicon Secured Memory (SSM)
Hardware-Assisted Checking Using Silicon Secured Memory (SSM)
specifying cache directory
Caching Options
specifying verbose mode
Other Options
specifying what happens if the instrumented binary forks
Instrumentation Options
writing error data to directory for use by Code Analyzer
Output Options
discover
APIs
discover APIs
Finding leaks in a long-running program
Finding Leaks in a Server or Long-Running Program
Finding leaks in a server
Finding Leaks in a Server or Long-Running Program
Finding memory leaks with
Finding Memory Leaks With discover APIs
discover
reports
ASCII
Analyzing the ASCII Report
error messages
ASCII Warning and Error Message Descriptions
heap blocks left allocated
ASCII Memory Leak Report
memory leaks
ASCII Memory Leak Report
stack trace
ASCII Stack Trace Report
ASCII Warning and Error Message Descriptions
summary
ASCII Report Summary
unfreed heap blocks
ASCII Stack Trace Report
warning messages
ASCII Warning and Error Message Descriptions
writing
Output Options
error messages, interpreting
Interpreting discover Error Messages
false positives
Interpreting discover Error Messages
avoiding
Partially Initialized Memory
caused by partially initialized memory
Partially Initialized Memory
caused by speculative loads
Speculative Loads
caused by uninstrumented code
Uninstrumented Code
HTML
Analyzing the HTML Report
control panel
Using the Control Panel
controlling types of errors displayed
Using the Control Panel
controlling types of warnings displayed
Using the Control Panel
Errors tab
Using the Errors Tab
Memory Leaks tab
Using the Memory Leaks Tab
number of blocks remaining allocated
Using the Memory Leaks Tab
showing all stack traces
Using the Control Panel
showing source code
Using the Memory Leaks Tab
Using the Warnings Tab
Using the Errors Tab
showing source code for all functions
Using the Control Panel
showing stack trace
Using the Memory Leaks Tab
Using the Warnings Tab
Using the Errors Tab
Warnings tab
Using the Warnings Tab
writing
Output Options
limiting number of memory errors reported
Output Options
limiting number of memory leaks reported
Output Options
limiting number of stack frames shown in
Output Options
showing mangled names in
Output Options
showing offsets in
Output Options
Previous
Next