Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top
>
>
PVS-Studio 7.07

PVS-Studio 7.07

17 Avr 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.

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

S'abonner

Comments (0)

close comment form
close form

Remplissez le formulaire ci‑dessous en 2 étapes simples :

Vos coordonnées :

Étape 1
Félicitations ! Voici votre code promo !

Type de licence souhaité :

Étape 2
Team license
Enterprise licence
** En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité
close form
Demandez des tarifs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
USD
EUR
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
La licence PVS‑Studio gratuit pour les spécialistes Microsoft MVP
close form
Pour obtenir la licence de votre projet open source, s’il vous plait rempliez ce formulaire
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
I want to join the test
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
check circle
Votre message a été envoyé.

Nous vous répondrons à


Si l'e-mail n'apparaît pas dans votre boîte de réception, recherchez-le dans l'un des dossiers suivants:

  • Promotion
  • Notifications
  • Spam