Contenuto principale

Configuration

Emulate build, specify analysis constraints, and provide additional information necessary for optimal results from Code Prover

To integrate Polyspace® Code Prover™ effectively in your software development workflow, set appropriate analysis options for optimal results. In particular:

  • Emulate your source code build by creating a Polyspace project or options file using your build system, or by explicitly specifying compiler options, sizes of data types, and other build-related options relevant for static analysis.

  • Limit the analyzed code paths by specifying external constraints on inputs and global variables, or by specifying global analysis assumptions.

  • Create separate analysis modules (projects or options files) corresponding to existing components in your codebase.

  • Define additional information required for specialized analysis, such as multitasking or global variable initialization.

You can configure Code Prover by using a Polyspace Platform project, by using command-line flags, or by using an options file. See:

Categories