Questions tagged [coverity]

Coverity is a static code analysis tool for C, C++ and other programming languages.

Coverity is a static code analysis tool for C, C++ and other programming languages.

Synopsys offers a free online version of Coverity called Coverity Scan available for opensource projects.

322 questions
-1
votes
1 answer

How sparse and coverity tool for static code analysis are different?

I am very new to linux kernel. I want to know how sparse and coverity tool are different ? Since both are used for static code analysis. Then how to decide which tool is better ? Only difference I know is that: sparse is open source but for coverity…
Amit Sharma
  • 1,987
  • 2
  • 18
  • 29
-1
votes
1 answer

Shell Script improvement for getting diff result

I have shell Script written which does a job of comparing two files and and gives me result in a HTML format for defects. But i want to improve it so that i can only get modified files defects instead of legacy defects also. I am using this script…
-2
votes
2 answers

How to add stream in coverity

I am new to Coverity Analysis. I need to add Stream in Coverity, how can I achieve this. Below is my script -solution:'nameofsolution.sln' -targets:"Rebuild" -configuration:"Release" -platform:"x64" -coverityHost:"%system.CoverityHost%"…
Bhaskar
  • 153
  • 1
  • 3
  • 11
-2
votes
2 answers

compiler isn't issue error/warning in mismatch function parameter

I have the next code : test.c #include "a1.h" int main() { int a = 8; foo(a); return a; } a1.h void foo (int a); a1.c int f = 0; void foo (int a, int b){ f=5+a+b; return; } Pay attention that in a1.c foo has 1 more…
yehudahs
  • 2,488
  • 8
  • 34
  • 54
-3
votes
1 answer

Cross side scripting vulnerability detected in javascript code

Please check the vulnerability on cross side scripting - "The untrusted data reaches a sink that may allow an attacker to control part of the response." The property "req.body" is a source of untrusted data. let { userName, … …
-4
votes
1 answer

how do i fix this overrun?

out of bound write. there is an overrun error. > #define FLOORSNUMBER 128 > #define ILAFLOORSNUMBER 40 > #else > #define ILAFLOORSNUMBER 40 > > uint8 downCallSide[ILAFLOORSNUMBER]; extern…
-4
votes
1 answer

Coverity support issue for Borland C++Builder

When I compile my code using Borland C++Builder (it is necessary for me to use only the Borland compiler), bcc32.exe is able to compile the code successfully. When I build this same code with the cov-build command inside of cmd.exe, the build fails…
1 2 3
21
22