Main Content

Inputs and Stubbing

Specify ranges for global variables and functions

To specify constraints on ranges of some variables from external sources or suppress defects and coding rule violations from some files, use the inputs and stubbing options.

Polyspace Options

expand all

Constraint setup (-data-range-specifications)Constrain global variables, function inputs and return values of stubbed functions
Functions to stub (-functions-to-stub)Specify functions to stub during analysis
Libraries used (-library)Specify libraries that you use in your program (Since R2021a)
Generate results for sources and (-generate-results-for)Specify files on which you want analysis results
Do not generate results for (-do-not-generate-results-for)Specify files on which you do not want analysis results
-classificationControl precisely which files to include in Polyspace Bug Finder analysis and how to analyze them (Since R2023a)

Topics