Code Prover 验证
验证整个应用程序或模块
要指定您需要验证的是包含 main 函数的完整应用程序还是不包含 main 函数的模块,请使用 Code Prover 验证选项。如果您要验证模块,该软件会为您生成一个 main 函数。要微调生成的 main 函数,请使用这些选项。
Polyspace 选项
主题
- 指定 Polyspace 分析选项
在 Polyspace® 用户界面、其他 IDE 或脚本中指定 Polyspace 分析选项。
- Verify C Application Without main Function
Learn the benefits of manually writing a
mainfunction versus auto-generating themainfunction. - Verify C++ Classes
Learn how to perform robustness verification of classes so that it is safe for reuse.
- Provide Context for C Code Verification
Learn what external context you can provide to narrow down the default verification assumptions.
- Provide Context for C++ Code Verification
Learn what external context you can provide to narrow down the default verification assumptions.
- Constrain Variable Ranges for Polyspace Analysis Using Manual Stubs and Manual main() Function
Improve precision of Polyspace Code Prover™ analysis using your own stubs and
main().