1. Catalogs
  2. The MathWorks
  3. Polyspace Client for C/C++

Polyspace Client for C/C++

Polyspace Client for C/C++

Polyspace Client for C/C++

Product catalog summary
Overview
Polyspace Client for C/C++ is a tool designed to verify the absence of run-time errors in C/C++ source code through static code analysis. It does not require program execution, code instrumentation, or test cases. The tool supports industry standards such as IEC 61508, ISO 26262, and DO-178.

Key Features
  • Verification at file and class levels using formal methods-based abstract interpretation.
  • Integration with Eclipse and Microsoft Visual Studio IDEs.
  • Enforcement of coding standards like MISRA-C:2004, MISRA-C++:2008, and JSF++.
  • Color-coded display of run-time errors directly in the code.
  • Support for cyclomatic complexity and other code metrics.

Working with Polyspace Client
The tool provides management and visualization capabilities for software component verification. It allows for file-by-file or class-by-class verification and can submit jobs to computer clusters when used with Polyspace Server.
  • Define components, files, or classes for verification.
  • Customize projects by target, cross-compiler, or other options.
  • Submit multiple verification jobs to servers.
  • Track software quality objectives using a web browser.

Detect Run-Time Errors
Polyspace uses color-coding to indicate the status of code elements:
  • Green: Proven free of run-time errors.
  • Red: Proven faulty.
  • Gray: Proven unreachable.
  • Orange: Unproven.
Errors detected include overflows, divide-by-zero, out-of-bounds access, and more.

Enforce Coding Standards
The tool detects violations of coding standards and generates reports to monitor code reliability. Users can configure which rules to enforce and focus on differences from previous runs.

Prove Absence of Run-Time Errors
Polyspace provides formal diagnostics for each operation in the code, helping to track progress toward software quality objectives.

Create Artifacts for Certification
Polyspace can generate reports and artifacts for certification processes, supporting standards like IEC 61508 and DO-178B.

Integrate Code Verification
Verification jobs can be automated and integrated with email notifications. Users can define analysis frequency and quality models.

Additional Resources
See more

Catalog excerpts

Polyspace Client for C/C++-1

Polyspace Client for C/C++ Prove the absence of run-time errors in source code Polyspace Client™ for C/C++ provides code verification that proves the absence of overflow, divide-by-zero, out-of-bounds array access, and certain other run-time errors in source code using static code analysis that does not require program execution, code instrumentation, or test cases. Polyspace Client for C/C++ uses formal methods-based abstract interpretation techniques to verify code. You can use it on handwritten code, generated code, or a combination of the two, before compilation and test. Support for industry standards is available through IEC Certification Kit (for IEC 61508 and ISO 26262) and DO ■ File- and class-level software component verification ■ Formal methods-based abstract interpretation ■ Display of run-time errors directly in code ■ MISRA-C®:2004, MISRA-C++:2008, and JSF++ coding standard enforcement, with direct source file links ■ Cyclomatic complexity and other code metrics ■ Eclipse™ and Microsoft® Visual Studio® IDE integration Green: reliable static void pointer_arithmetic (void) { Purple: violation code rules ----------------- Range data Polyspace Viewer, showing color-coding for each file, procedure, and line of C/C+ + code. Accelerating the pace of engineering and science

 Open the catalog to page 1
Polyspace Client for C/C++-2

Working with Polyspace Client for C/C++ Polyspace Client for C/C++ provides management and visualization capabilities for verifying software components on a desktop computer. It processes file-by-file or class-by-class verification as soon as the source code is written, updated, or generated. When used with Polyspace Server™ for C/C++, Polyspace Client for C/C++ lets you submit verification jobs to computer clusters. Using the Polyspace Client for C/C++ command line or graphical user interfaces with Visual Studio or Eclipse, you can: ▪ Define which components, files, or classes of the source...

 Open the catalog to page 2
Polyspace Client for C/C++-3

Detect Run-Time Errors Polyspace Client for C/C++ uses color-coding to indicate the status of each element in the code, as follows: Green: proven free of run-time errors Red: proven faulty each time the operation is executed Gray: proven unreachable (may indicate a functional issue) Orange: unproven Errors detected include: ▪ Overflows, underflows, divide-by-zero, and other arithmetic errors ▪ Out-of-bounds array access and illegally dereferenced pointers ▪ Always true/false statement due to dataflow propagation ▪ Read access to noninitialized data ▪ Dead code ▪ Access to null this pointer (C++)...

 Open the catalog to page 3
Polyspace Client for C/C++-4

f." PorYSpace Metrics - Windows Internet Explorer provided by The riothWorks, Inc. T hnpil/fr-tataffl.maihwpns. ccumBflSOftnetncs-ritml ^roq =&a^o_He^c&^ode ^nteyad^^ornpariSQnMade=^sg^Q^]1^QIT | *t X |~~ ■MT <fir PorySpace Metrics I I J £fc - 0 ' # Demo_Metrics (Integration) PolySpace* Metrics Coding Rule Defects ftun-T-rne Defect Run-Time Retabirty [%] Web dashboard (requires Polyspace Server for C/C++). You can monitor the progress of the software quality and decide which part of the software needs more attention. Create Artifacts for Certification You can use Polyspace Client for C/C++ and...

 Open the catalog to page 4
Polyspace Client for C/C++-5

Resources Product Details, Examples, and System Requirements www.mathworks.com/products/polyspaceclientc Online User Community www.mathworks.com/matlabcentral Trial Software www.mathworks.com/trialrequest Training Services www.mathworks.com/training Sales www.mathworks.com/contactsales Third-Party Products and Services www.mathworks.com/connections Technical Support www.mathworks.com/support Worldwide Contacts www.mathworks.com/contact © 2012 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks....

 Open the catalog to page 5

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8  Pages

  2. SimEvents

    7  Pages

  3. SimDriveline

    7  Pages

  4. SimHydraulics

    7  Pages

  5. SimRF

    6  Pages

  6. MATLAB Coder

    5  Pages

  7. OPC Toolbox

    5  Pages

  8. SimBiology

    6  Pages

  9. xPC Target

    5  Pages

  10. SimMechanics

    7  Pages

  11. Simscape

    7  Pages

  12. Simulink

    6  Pages

  13. MATLAB®

    6  Pages

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.