Bug Finder-Analyse mit Windows- oder Linux-Skripten
R2026b.bat) oder Shell-Skripten (.sh)Verwenden Sie Windows®- oder Linux®-Skripte zum Konfigurieren und Ausführen einer Polyspace®-Analyse. Lernen Sie die verfügbaren Systembefehle kennen und erfahren Sie, wie diese Befehle verwendet werden, um Polyspace über die Befehlszeile auszuführen.
Um sich die Eingabe des vollständigen Pfads zu den Befehlen zu ersparen, fügen Sie den Pfad zu der polyspaceroot\polyspace\binPath-Umgebungsvariable Ihres Betriebssystems hinzu. Hier ist der Polyspace-Installationsordner, beispielsweise polyspacerootC:\Program Files\Polyspace\R2026b. Siehe auch Install Polyspace Desktop Products.
Polyspace-Optionen
Systembefehle
polyspace-bug-finder | (System Command) Run a Bug Finder analysis on Windows, Linux, or other command line |
polyspace-comments-import | (System Command) Import review information from previous Polyspace analysis |
polyspace-configure | (System Command) Create Polyspace Platform project, workspace, or options file from build command or compilation database |
polyspace-report-generator | (System Command) Generate reports from Polyspace analysis results stored locally or on Polyspace Access |
polyspace-results-export | (System Command) Export Polyspace results to external formats such as CSV or JSON |
polyspace-project -diff, polyspace-project -merge | (System Command) Compare and merge Polyspace Platform projects, workspaces, configurations and tests before submission to source control |
polyspace-project -convert-psprj-to-workspace | (System Command) Convert Polyspace project file to Polyspace Platform workspace file and project files |
polyspace-project -generate-launching-script-for | (System Command) Generate files needed to run static analysis on a Polyspace Platform project |
Themen
- Run Polyspace Analysis from Command Line
Check C/C++ code with Bug Finder or Code Prover using batch files (
.bat) or shell scripts (.sh). - Options Files for Polyspace Analysis
Collect all analysis options in a text file for easy sharing across projects.
- Generate Launching Script for Polyspace Platform Project to Run Static Analysis from Command Line
Run static analysis on a Polyspace Platform project from the command line.