polyspace-bug-finder-access
(不推荐)从 Windows、Linux 或其他命令行运行 Polyspace as You Code
以后的版本中将会删除 polyspace-bug-finder-access。请改用 polyspace-as-you-code。 (自 R2026a 起)有关更新代码的详细信息,请参阅版本历史记录。
语法
说明
polyspace-bug-finder-access 系统命令在命令行中使用指定为命令行标志的分析选项或使用选项文件来运行 Polyspace® as You Code™ 分析。
注意
此 Polyspace 命令在 中可用。其中,polyspaceroot\polyspace\bin 是 Polyspace as You Code 的安装文件夹,例如 polyspacerootC:\Program Files\Polyspace as You Code\R2026a(另请参阅Run Polyspace as You Code from Command Line and Export Results (Polyspace as You Code))。为避免键入此命令的完整路径,请将此位置添加到操作系统中的 PATH 环境变量中。
polyspace-bug-finder-access -sources 对源文件 sourceFile [options]sourceFile 运行 Polyspace as You Code 分析。您可以使用附加选项来自定义分析。
polyspace-bug-finder-access -sources 对源文件 sourceFile -import-comments baselineFolder [options]sourceFile 运行 Polyspace as You Code 分析,然后导入存储在 baselineFolder 中的上一次运行的审查信息。请参阅 -import-comments (Polyspace Bug Finder)。
使用此工作流可将您的结果与从 Polyspace Access™ 下载的上一次运行的结果进行比较,然后仅关注新结果或未经审查的结果。请参阅Command Line: Configure Baseline Results in Polyspace as You Code (Polyspace as You Code)。
polyspace-bug-finder-access -sources 使用选项文件中指定的选项对源文件 sourceFile -options-file optFilesourceFile 运行 Polyspace as You Code 分析。同样,当您有许多分析选项时,使用选项文件可以更轻松地运行相同的分析。
polyspace-bug-finder-access -h[elp] 列出可能的分析选项的汇总。
示例
输入参数
版本历史记录
在 R2021a 中推出另请参阅
polyspace-as-you-code (Polyspace as You Code) | polyspace-results-export (Polyspace Bug Finder) | polyspace-configure (Polyspace Bug Finder)
主题
- Run Polyspace as You Code from Command Line and Export Results (Polyspace as You Code)
- 用于 Polyspace 分析的选项文件 (Polyspace Bug Finder)
- Command Line: Configure Baseline Results in Polyspace as You Code (Polyspace as You Code)