View documentation for other releases
Learn more about Polyspace
• Polyspace Installation Guide
Polyspace Product Requirements
Polyspace Plug-In Requirements
Polyspace Software License Requirements
UNIX and Linux Installation Requirements
Polyspace Documentation Requirements
Overview of Polyspace Products
Polyspace Client Software
Polyspace Server Software
Before Starting the Installation
Installing the Software
Configuring the Polyspace Server Software
Activating Polyspace Software
Polyspace Software Icons
Installing Software on a Linux or UNIX Platform
Installing Software in Silent Mode
Configuring Polyspace Client Software
Configuring Polyspace Server Software
Configuring Polyspace Metrics Web Interface
Troubleshooting Common Errors
Windows Server Configuration
Linux/Solaris Server Configuration
MATLAB Software Is Not Installed Locally
No Write Access to MATLAB Product Root
Should I Uninstall Previous Releases Before Installing?
Uninstalling the Polyspace Software
Uninstalling Shared Components
Overview
Polyspace Licensing Options
Obtaining a License File
Do I need a FLEXnet Server to Use an Individual License?
How Do I Identify Designated Computer and Concurrent Licenses?
What If I Have Other MathWorks Products Installed?
What If I Have an Old Polyspace FLEXnet License Server?
Installing License Files
DC License File Format
Introduction to FLEXnet Licensing
Installing FLEXnet Manager
Configuring a Concurrent License
Installing Licenses on an Existing FLEXnet Server
Error -15, the FLEXnet server is unreachable
Error -5, the Polyspace feature is not available
Error -21, license file does not support this version
Error -10, the license date has expired
• Polyspace Products for C/C++
• C/C++ Getting Started Guide
• Polyspace Products for C/C++ User's Guide
• Introduction to Polyspace Products
• How to Use Polyspace Software
• Setting Up a Verification Project
• Emulating Your Runtime Environment
• Preparing Source Code for Verification
• Running a Verification
• Troubleshooting Verification Problems
• Verification Process Failed Errors
Reasons Verification Can Fail
Viewing Error Information When Verification Stops
Hardware Does Not Meet Requirements
You Did Not Specify the Location of Included Files
Polyspace Software Cannot Find the Server
Limit on Assignments and Function Calls
• Compilation Errors
Compilation Error Overview
Checking Compilation At the Start of a Verification
Examining Compile Log
Compilation Messages Described in This Section
Syntax Error
Undeclared Identifier
No Such File or Folder
#error directive
Class, Array, Struct or Union is Too Large
Unsupported Non-ANSI Keywords (C)
Initialization of Global Variables (C++)
• C++ Dialect Issues
ISO versus Default Dialects
CFront2 and CFront3 Dialects
Visual Dialects
GNU Dialect
• C Link Errors
Link Error Overview (C)
Function: Wrong Argument Type
Function: Wrong Argument Number
Variable: Wrong Type
Variable: Signed/Unsigned
Variable: Different Qualifier
Variable: Array Against Variable
Variable: Wrong Array Size
Missing Required Prototype for varargs
• C++ Link Errors
STL Library C++ Stubbing Errors
Lib C Stubbing Errors
• Standard Library Function Stubbing Errors
Conflicts Between Standard Library Functions and Polyspace Stubs
_polyspace_stdstubs.c Compilation Errors
Troubleshooting Approaches for Standard Library Function Stubs
Restart with the -I option
Include Files with Stubs to Replace Automatic Stubbing
Create a _polyspace_stdstubs.c File with Necessary Includes
Provide a .c file Containing a Prototype Function
Ignore _polyspace_stdstubs.c
• Automatic Stubbing Errors
Three Types of Error Messages
Function Pointer Error
Unknown Prototype Error
Parameter -entry-points Error
• Troubleshooting Using Preprocessed Files
Overview of Preprocessed (.ci) Files
Example .ci File
Troubleshooting Methodology
• Reducing Verification Time
Factors Impacting Verification Time
Displaying Verification Status Information
Techniques for Improving Verification Performance
Turning Antivirus Software Off
Tuning Polyspace Parameters
Subdividing Code
Reducing Procedure Complexity
Reducing Task Complexity
Reducing Variable Complexity
Choosing Lower Precision
Obtaining Configuration Information
Removing Preliminary Results Files
• Reviewing Verification Results
• Managing Orange Checks
• Day to Day Use
• Checking Coding Rules
• Software Quality with Polyspace Metrics
• Using Polyspace Software in the Eclipse IDE
• Using Polyspace Software in Visual Studio
Glossary
• Polyspace Products for C/C++ Reference
• Polyspace Products for Ada
• Polyspace Model Link Products User's Guide
• Polyspace UML Link RH User's Guide
• Release Notes
Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Verification Process Failed Errors
Compilation Errors
C++ Dialect Issues
C Link Errors
C++ Link Errors
Standard Library Function Stubbing Errors
Automatic Stubbing Errors
Troubleshooting Using Preprocessed Files
Reducing Verification Time