Contenido principal

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Opciones solo de línea de comandos

Opciones solo de línea de comandos, opciones avanzadas

Estos análisis se utilizan en la línea de comandos DOS o UNIX® con la función polyspace-bug-finder. Si desea utilizar algunas de las configuraciones avanzadas con un proyecto en la interfaz de usuario, utilice la opción de configuración Other.

Opciones de Polyspace

expandir todo

-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 (Desde 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 (Desde 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 (Desde 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
-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 (Desde R2022a)
-incrementalEnable incremental compilation during an analysis (Desde R2022a)
-max-processesSpecify maximum number of processors 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