Hauptinhalt

Diese Seite ist für die vorige Version. Die entsprechende englische Seite wurde in der aktuellen Version entfernt.

Optionen, die nur über die Befehlszeile auswählbar sind

Optionen, die nur über die Befehlszeile auswählbar sind, und erweiterte Optionen

Diese Analyseoptionen werden in der DOS- oder UNIX®-Befehlszeile mit der Funktion polyspace-bug-finder verwendet. Wenn Sie einige der erweiterten Einstellungen für ein Projekt in der Benutzeroberfläche verwenden möchten, verwenden Sie die Konfigurationsoption Other.

Polyspace-Optionen

alle erweitern

-author
-cSpecify path of license file used by the product
-consider-switch-as-single-decisionCompute cyclomatic complexity assuming a switch-case statement to be a single decision point
-checkers-activation-fileActivate custom combination of defects and coding rules for Polyspace Bug Finder analysis
-dateSpecify date of analysis
-doc | -documentationDisplay Polyspace documentation in web browser
-h | -helpDisplay list of static analysis options on the command line
-I
-import-commentsImport review information from previous analysis
-list-all-valuesDisplay valid option arguments for a given command-line option
-options-fileRun Polyspace using list of options
-progSpecify name of project
-report-output-nameSpecify name of report
-results-dirSpecify the results folder
-schedulerSpecify cluster or job scheduler
-sources
-sources-list-file
-start-level-from-oneStart counting the call level or nesting level from one.
-verDisplay system information for Polyspace products
-verif-versionAssign a source code version identifier to Polyspace Platform project
-v | -versionDisplay Polyspace version number
-asm-begin -asm-endExclude compiler-specific asm functions from analysis
-classificationControl precisely which files to include in Polyspace analysis and how to analyze them (Seit R2023a)
-code-behavior-specificationsAssociate behaviors with code elements such as functions
-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
-create-checkersCreate new checkers for Polyspace Bug Finder analysis (Seit R2023b)
-custom-target
-disable-concurrency-detectionDisable automatic detection of multitasking functions
-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
-dump-preprocessing-infoShow all macros implicitly defined during a particular analysis
-ignore-code-annotationsIgnore C/C++ code annotations justifying Polyspace results and show all results as unreviewed (Seit R2022a)
-incrementalEnable incremental compilation during an analysis (Seit R2022a)
-max-processesSpecify maximum number of processes for analysis
-non-preemptable-tasksSpecify functions that represent nonpreemptable tasks
-no-credentials-checkDisable credential check when running Polyspace Bug Finder or Polyspace Code Prover analysis on a remote cluster
-options-for-sourcesSpecify analysis options specific to a source file
-preemptable-interruptsSpecify functions that represent preemptable interrupts
-pstunit-testOption to specify a test the input of which is used for static analysis
-regex-replace-rgx -regex-replace-fmtMake replacements in preprocessor directives
-submit-job-from-previous-compilation-resultsSpecify that the analysis job must be resubmitted without recompilation
-termination-functionsSpecify process termination functions
-tmp-dir-in-results-dirKeep temporary files in results folder
-wchar-t-isSpecify the nature of type specifier wchar_t for your compiler
-xml-annotations-descriptionApply custom code annotations to Polyspace analysis results