polyspace-bug-finder-access
语法
说明
polyspace-bug-finder-access 系统命令可在命令行使用指定为命令行标志的分析选项或使用选项文件来运行 Polyspace as You Code 分析。
注意
此 Polyspace® 命令在 中可用。其中,polyspaceroot\polyspace\bin 是 Polyspace as You Code 安装文件夹,例如 polyspacerootC:\Program Files\Polyspace as You Code\R2025b(另请参阅Run Polyspace as You Code from Command Line and Export Results)。为避免键入此命令的完整路径,请将此位置添加到操作系统中的 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 下载的上一次运行的结果进行比较,然后仅关注新结果或未经审查的结果。请参阅在命令行中设置基线 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-results-export (Polyspace Bug Finder) | polyspace-configure (Polyspace Bug Finder)