Configure Bug Finder Defect Checkers
By default, Polyspace
Bug Finder checks for a predefined set of defects. Activate a set of coding rules
and defects by using the Checkers Selection window. Save
the activated set of checkers in a checkers activation file (.xml)
and then use the activation file in your subsequent analyses. See Checkers
activation file (-checkers-activation-file)
Alternatively, enable checking for additional defects by using the analysis option
-checkers. You can activate a set of defect checkers by
specifying their short names in a comma separated list as input to the option. For
example, -checkers DATA_RACE,TAINTED_HOSTID. To enable a set of
checkers that look for a specific type of defect, specify the short name of the group
as input. For example, enable the concurrency defect checkers by using the option
-checkers concurrency. For a list of defect groups, see Bug Finder Defect Groups. For the
short names of defect checkers and defect groups, see Short Names of Bug Finder Defect Groups and Defect Checkers.
Polyspace Options
Find defects (-checkers -disable-checkers) | Enable or disable defect checkers |
Topics
Configure Defect Checkers
- Specify Polyspace Analysis Options
Specify Polyspace analysis options in Polyspace user interface, other IDE-s or scripts. - Choose Specific Bug Finder Defect Checkers
Check for specific defects in Bug Finder instead of using the default checkers. - Bug Finder Defect Groups
Bug Finder defect checkers are classified into groups such as data flow, concurrency, and numerical. - Short Names of Bug Finder Defect Groups and Defect Checkers
Look up short names of Bug Finder defect groups and defect checkers for use in code annotations or with the-checkersoption. - Prepare Checkers Configuration for Polyspace Bug Finder Analysis
Deploy common checkers configuration to enforce uniform standards, mix defect and coding rule checkers.
Defect Scopes
- Polyspace Bug Finder Defects Checkers Enabled by Default
Look up list of Bug Finder checkers that are enabled by default. - Bug Finder Results Found in Fast Analysis Mode
Learn about the subset of defects and coding rules that Bug Finder checks in fast analysis mode.