Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you haven't received our response, please do the following:
check your Spam/Junk folder and click the "Not Spam" button for our message.
This way, you won't miss messages from our team in the future.

>
>
PVS-Studio 7.07

PVS-Studio 7.07

Apr 17 2020

While production gets suspended and companies close down all over the world, software developers keep working remotely. Our team is no exception, and today we are announcing a new release. This time we've been focusing on enhancing stability.

0728_Release_7_07/image1.png

Bug fixed and lessons learned

Between our own recent releases, Microsoft has issued a number of updates for Visual C++ with elementary support of C++20 features such as concepts. Usually companies don't rush to update compilers because the freshest versions may have stability issues. But some do, including a few of our users. They encountered the following error:

V003 Unrecognized error found: PtreeCpp11Initializer was constructed incorrectly. Consider inspecting the '__cdecl VivaCore::PtreeCpp11Initializer::PtreeCpp11Initializer(const char *,class VivaCore::Ptree *,class VivaCore::Ptree *)' constructor.

We are glad to announce that this bug is fixed in PVS-Studio 7.07, so you can now enjoy the support of concepts. It should be mentioned, though, that supporting new standards is different with compiler developers from what it is with analyzer developers. It's pretty painless for us, and that bug didn't take long to fix. But we've got to come up with a way to sync our updates with compiler updates in the future.

New diagnostics

In addition to stability improvements and implementing new products (more on this in a second), we implemented several new diagnostics:

  • V1053. Calling the 'foo' virtual function in the constructor/destructor may lead to unexpected result at runtime.
  • V1054. Object slicing. Derived class object was copied to the base class object.
  • V1055. The 'sizeof' expression returns the size of the container type, not the number of elements. Consider using the 'size()' function.
  • V2573. MISRA. Identifiers that start with '__' or '_[A-Z]' are reserved.

SonarQube plugin

A long time ago, we released a plugin for SonarQube with Windows and Linux support. It had no macOS support because there was no demand for it until recently, but now that people started asking for it, we've added that too. See the updated documentation.

C# analyzer for Linux and macOS

Remember I mentioned the new products? These are a C# analyzer for Linux and macOS and a JetBrains Rider plugin, neither of which, unfortunately, will be available in this new release, despite our plans. But we did a big job developing them, and they are ready now. About a month ago, we announced Beta testing – we are going to launch it right after the release, so if you haven't applied yet, you still can do so.

Other updates

  • Added support of the TeamCity CI server to the utility for converting PVS-Studio's XML reports (PlogConverter).
  • Added flags --selectProjects / --excludeProjects to select individual projects for analysis in the command line checker for Visual Studio \ MSBuild projects (PVS-Studio_Cmd.exe).
Popular related articles


Comments (0)

Next comments next comments
close comment form