주요 콘텐츠

Command-Line Only Options

Command-line only options, advanced options

These analysis options are used at the DOS or UNIX® command-line with the function polyspace-bug-finder. If you want to use some the advanced settings with a project in the user interface, use the Other configuration option.

Polyspace 옵션

모두 확장

-authorSpecify project 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 a custom combination of defects and coding rules for a Polyspace Bug Finder analysis (R2021a 이후)
-dateSpecify date of analysis
-doc | -documentationDisplay Polyspace documentation in web browser
-h | -helpDisplay list of possible options
-ISpecify include folder for compilation
-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
-sourcesSpecify source files
-sources-list-fileSpecify file containing list of sources
-start-level-from-oneStart counting the call level or nesting level from one.
-verDisplay system information for Polyspace products
-verif-versionAssign a version identifier
-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 (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 (R2023b 이후)
-custom-targetCreate a custom target processor with specific data type sizes
-disable-concurrency-detectionDisable automatic detection of multitasking functions
-detect-atomic-data-raceEnable detecting data race with atomic operation
-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 (R2022a 이후)
-incrementalEnable incremental compilation during an analysis (R2022a 이후)
-max-processesSpecify maximum number of processors for analysis
-non-preemptable-tasksSpecify functions that represent nonpreemptable tasks
-options-for-sourcesSpecify analysis options specific to a source file
-preemptable-interruptsSpecify functions that represent preemptable interrupts
-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
-xml-annotations-descriptionApply custom code annotations to Polyspace analysis results