coverity-prevent Questions

4

Running Coverity on my code results in tainted string error message. I am using the "path" variable declared in the stack, so I am not sure why I am seeing errors. I can only think that using geten...
Overmeasure asked 8/12, 2014 at 5:56

4

I'd like to get comments from people who have used or evaluated Coverity for statically analysing Java-code. I know it's popular in C/C++ world, but is it worth spending the money for Java analysis...
Highpitched asked 6/10, 2008 at 10:2

1

Solved

The defects discovered by coverity SA including errors of STLPort, Boost, Qt libs as well, Is there any way to exclude these errors while running cov-build or cov-analyze?
Hesperian asked 19/2, 2014 at 14:25

6

Solved

I am using Coverity Prevent on a project to find errors. It reports an error for this expression (The variable names are of course changed): x= (a>= b) ? ++x: 0; The message is: EVALUAT...
Veliger asked 1/9, 2010 at 14:49

3

Solved

I am using a Wind River Compiler 4 (gcc (C) and g++ (C++)) and it compiles all my projects without any problems. Now I have to use Coverity Static Analysis to check my code. I have configured the s...

1

Solved

As the title suggest, for example, in 85% of the situation, I'd like to check the return code of foo(), but sometimes I really don't care about it, but this will raise Coverity warning. What's th...
Nosegay asked 22/2, 2011 at 1:33

4

Solved

I have the following code for creation of a node inside a graph. I'm getting resource leak error when I run a static checking tool (coverity). I would appreciate if you can point out how to improve...
Pulsate asked 12/4, 2011 at 2:0

3

Solved

In some header file which I can not modify I have the following set of defines: #define FLAG1 (0x0000_0001) #define FLAG2 (0x0000_0002) ... Then, in my code I use them in switch: switch (aaa) {...
Hurleigh asked 10/2, 2011 at 13:45

1

Solved

I am using Coverity Prevent on a C++ project. Is there some way of flagging false positives directly in the source code?
Minetta asked 24/8, 2010 at 14:38

4

I'm in a situation where I'm required to make at least some effort to remove never-used code from my source code. The general preference is to use a static code analysis tool. We've had great luck ...
Densify asked 4/11, 2009 at 22:44
1

© 2022 - 2024 — McMap. All rights reserved.