メインコンテンツ

Modularize Analysis

Modularize your projects into smaller parts and specify how to analyze each part

Divide your projects into smaller parts for easier analysis:

  • Classify the source files in your project into various file sets and specify how to analyze them using the option -classification.

  • Create a separate Polyspace® project or options file for each binary created in your makefile by using polyspace-configure.

  • Identify libraries and specify how to analyze them using the option Libraries used (-library).

You can stub code you do not own to run a faster analysis. Use these options to circumvent scaling issues.

Functions

polyspace-configure(System Command) Create Polyspace Platform project, workspace, or options file from build command or compilation database

Polyspace Options

Inline (-inline)Specify functions that must be cloned internally for each function call
Depth of verification inside structures (-k-limiting)Limit the depth of analysis for nested structures
Set depth of verification inside structuresSpecify that depth of verification inside structures must be specified (Since R2023b)
-classificationControl precisely which files to include in Polyspace analysis and how to analyze them (Since R2025a)
Libraries used (-library)Specify libraries that you use in your program

Topics

Classification

Modularize