在Coverity中防止假阳性 [英] Silencing false positives in Coverity Prevent

查看:314
本文介绍了在Coverity中防止假阳性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C ++项目中使用 Coverity Prevent 。是否有某种方法直接在源代码中标记误报?

解决方案

Coverity Static Analysis支持源代码注释。他们在手册中描述 - 因为我不知道你正在使用的版本我不能告诉你确切的是什么部分,但它在一本名为检查参考的书中模型和注释一节。 p>

I am using Coverity Prevent on a C++ project. Is there some way of flagging false positives directly in the source code?

解决方案

Coverity Static Analysis supports source code annotations. They are described in the manual - since I don't know what version you're using I can't tell you exactly what section but it's in the book called "Checker Reference" in a section on "Models and Annotations."

这篇关于在Coverity中防止假阳性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆