在Coverity中防止假阳性

编程入门 行业动态 更新时间:2024-10-09 20:27:12
本文介绍了在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中防止假阳性

本文发布于:2023-11-29 10:51:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1646181.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:阳性   Coverity

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!