Hauptinhalt

Ändern der Annahmen bei der Bug Finder-Analyse

R2026b
Ändern der Standardannahmen bei der Polyspace® Bug Finder™-Analyse

Ändern Sie die Analyseannahmen mithilfe der Optionen in dieser Kategorie. Beispiel:

  • Ändern Sie die Vertrauensgrenze der Analyse.

  • Legen Sie fest, ob alle Werte von Systemeingaben berücksichtigt werden.

  • Geben Sie an, ob atomare Datenwettläufe erkannt werden sollen.

Polyspace-Optionen

alle erweitern

-detect-atomic-data-raceEnable detecting data race with atomic operation
-detect-bad-float-op-on-zeroDetect floating point comparison with equality operator when one of the operand is 0.0
-code-behavior-specificationsAssociate behaviors with code elements such as functions
Consider non finite floats (-allow-non-finite-floats)Enable an analysis mode that incorporates infinities and NaNs
Run stricter checks considering all values of system inputs (-checks-using-system-input-values)Enable stricter checks and provide examples of values that lead to detected defect
Consider inputs to these functions (-system-inputs-from)Specify functions for which the analysis considers all possible input values
-consider-analysis-perimeter-as-trust-boundaryConsider the analysis perimeter as trust boundary so that data coming from outside the current analysis perimeter is considered tainted

Themen

Ändern des Standardverhaltens von Bug Finder-Checkern