Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free static code scanner for C/C++/C# [closed]

Does anyone know an open-source and/or free code-scanner for automated code analysis in C#, C or C++?

I know for Java there's some brilliant stuff like FindBugs (Eclipse integrated), PMD, or Hammurapi.

Is there anything similar for the C-languages?

wishi

like image 269
wishi Avatar asked Jan 29 '09 16:01

wishi


People also ask

Which of the following is a type of C or C static code analysis tool?

Helix QAC is an excellent static analysis testing tool for C and C++ code from Perforce (formerly PRQA). The tool comes with a single installer and supports platforms like Windows 7, Linex Rhel 5 and Solaris 10.

Which is one of the commercial code quality tool for C C++ language?

CppDepend is a commercial static code analysis tool for C++.

Is a static code analysis tool for the C and C++ programming languages?

A static analyzer meant to search for backdoors and vulnerabilities, which allows to detect and eliminate security issues on the source code level. Supports a wide range of programming languages: Java, C#, Visual Basic, C/C++, Ruby, JavaScript, Perl and others.


2 Answers

FxCop is a free scanner for .Net.

http://msdn.microsoft.com/en-us/library/bb429476(vs.80).aspx

like image 125
Steven Behnke Avatar answered Sep 19 '22 01:09

Steven Behnke


For .NET languages, you can look at Reflector CodeMetrics which provides some code analysis and design metrics. Also take a look at all of the Reflector addins.

I also second the recommendation for FxCop and StyleCop.

like image 28
Ryan Avatar answered Sep 22 '22 01:09

Ryan