By Dinesh Bolkensteyn on November 19, 2015 » tags c++, microsoft, msbuild, vb.net »
Comments Off
By Evgeny Mandrikov on February 5, 2015 » tags c++ »
Comments Off
We’ve just released version 3.3 of the C/C++/Objective-C plugin, which features an increased scope and precision of analysis for C, as well as detection of real bugs such as null pointer dereferences and bugs related to types for C. These improvements were made possible by the addition of semantic analysis and symbolic execution, which is the analysis not of the structure of your code, but of what the code is actually doing.
Read the rest of this page »
By Evgeny Mandrikov on November 19, 2014 » tags c++ »
Comments Off
By Evgeny Mandrikov on September 25, 2014 » tags c++, objectivec »
Comments Off
With version 3.0 of the C / C++ plugin in August, 2014, support of the Objective-C language arrived.
Support of Objective-C in SonarQube was heavily awaited by the community, and has been in our dreams and plans for more than one year. You might wonder – why did it take us so long? And why now, when Apple has announced Swift? Why as a part of the existing plugin? I’ll try to shed light on those questions.
Read the rest of this page »
By G. Ann Campbell on June 26, 2014 » tags c++, configuration »
Comments Off
We’ve got an ambitious vision for the C/C++ plugin this year. To fulfill it, we started with some under-the-cover improvements to the parser and the internal data model. Those improvements were really just a means to an end, but they’ve had the effect of markedly improving our ability to parse and analyze C and C++ code.
Unfortunately, they came with a downside: a higher analysis configuration burden. For instance, in order to correctly expand macros in the code (and we can, now), we need to know what the macro means. Which means that the macro definition needs to be passed in to the analysis.
Just contemplating the configuration update required for a single large system made me queasy, and I wasn’t the only one. So we set the main plugin aside for a little while this spring and wrote a build wrapper, which will eavesdrop on the tool of your choice (e.g. Make or MSBuild) to gather all the extra configuration data for you.
Read the rest of this page »