问题描述
我选择了开源来运行覆盖扫描。我尝试了以下 -
-
下载适用于 linux 64 (https://scan.coverity.com/download/other/linux64) 的 Coverity 构建工具
-
设置覆盖路径
-
在coverity中配置go模块
cov-configure --template --compiler go --comptype go cov-configure --template --compiler go-module --comptype go-module
-
在单独的文件夹中克隆开源存储库
-
现在尝试使用以下命令运行 cov build
cov-build --config /home/vj202u/coverityScan/cov-analysis/config/coverity_config.xml --dir cov-int go build <open_source_project_folder_path>
收到错误 -
Linux 5.4.0-67-generic x86_64 上的 Coverity Build Capture(64 位)版本 2020.09 内部版本号:3412dc3383 p-upland-push-1502
[错误] 未找到构建命令。 '.'
我也尝试用这个来运行 cov-build -
cov-build --dir cov-int --no-command --fs-capture-search .
如果我遗漏了什么,有人可以建议吗?我没有找到任何可以运行它的文档,如果有的话请参考。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)