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?
IS C++ converted into MSIL?
Interop sending string from C# to C++ [duplicate]
Exporting functions from C++ dll to C# P/Invoke
Also take a look at all of the Reflector addins..
How can I put an array inside a struct in C#?
I also second the recommendation for FxCop and StyleCop..
Passing custom objects between C# and unmanaged C++
Can't get SAFEARRAY to work with Interop
What are the differences between C, C# and C++ in terms of real-world application
What's the “Hello World!” of genetic algorithms good for?
It is already used to find and fix bugs in the Linux kernel..
Although, this particular switch is not available with every edition.
Get the compiler which ships with Windows SDK..
- Seems to be quite helpful for C.
- easy to use
- not Visual Studio dependent
. Thanks so far, wishi.
It analyses at IL level and provides information related to the source files using the pdb.
Even without pdb's it provides results but difficult to localize in the code.. Note that it is best to use it on release code, what is unusual for static analyzers.
This is because of the IL analysis: the debug code is cluttered and leads to more false positives.. Gendarme generates a nice HTML report and can be integrated easily in a continuous build server like cc.net..