Complete List of Polyspace Code Prover Analysis Options
When using Polyspace, you might want to change some default analysis options. You can change options to work around compilation issues, to modify Code prover assumptions, to change check behavior, and so on. The options are organized here according to the groups on the Configuration pane in user interface of the Polyspace desktop products.
You can specify analysis options by using the Polyspace desktop user interface, the Polyspace command line interface, or an options file.
Polyspace User Interface:To change the analysis options of a project module, in the Project Browser, select the Configuration node of the module. In the Configuration pane, change the options as needed. See Run Static Analysis in Polyspace User Interface.
Command Line: To specify analysis options when running Polyspace analyses from the command line, append the options to the
polyspace-code-prover
orpolyspace-code-prover-server
. See Run Polyspace Analysis from Command Line.Options File: An options file is a text file with one option-value pair in each line. Instead of enumerating many options explicitly, you can specify an options file at the command line as a value to the option
-options-file
. See Options Files for Polyspace Analysis.
Common Workflows
- Run Static Analysis in Polyspace User Interface
- Run Polyspace Analysis from Command Line
- Options Files for Polyspace Analysis
- Specify Polyspace Analysis Options
- Specify Target Environment and Compiler Behavior
- Specify External Constraints for Polyspace Analysis
- Analyze Multitasking Programs in Polyspace
- Check for and Review Coding Standard Violations
- Verify C Application Without main Function
Categories
- Target and Compiler
Specify target environment
- Macros
Define macros for preprocessing
- Environment Settings
Control compilation
- Inputs and Stubbing
Specify ranges for global variables and functions
- Multitasking
Task entry points, critical sections, exclusive tasks
- Coding Standards & Code Metrics
Migrate your workflow to Bug Finder. Use Bug Finder to check coding rules, specify custom rules, and generate code complexity metrics
- Code Prover Verification
Verify whole application or module
- Verification Assumptions
Configure software assumptions about source code
- Check Behavior
Modify default behavior of run-time checks
- Precision
Specify verification precision
- Scaling
Specify verification scaling
- Reporting
Generate reports
- Run Settings
Specify remote verification
- Advanced Settings
Post-analysis commands and other options
- Options at Command Line Only
Descriptions of options available only at command line