Silencing false positives in Coverity Prevent

纵饮孤独 提交于 2019-12-10 17:55:14

问题


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


回答1:


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."



来源:https://stackoverflow.com/questions/3557639/silencing-false-positives-in-coverity-prevent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!