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.11 release: IAR Arm, diagn…

PVS-Studio 7.11 release: IAR Arm, diagnostics, FREE-FREE-FREE-FREE

Dec 18 2020
Author:

This is the press release of the New Year's version of the PVS-Studio 7.11 analyzer. Since the new version includes only a few enhancements, let's take this opportunity to recall the options for free PVS-Studio use.

0785_Release_7_11/image1.png

FREE-FREE-FREE-FREE and the changes

The following professionals can use PVS-Studio for free:

To learn more about these options and choose the appropriate one for your project, please check out the review article: "Ways to get a free PVS-Studio license".

Students and professors can also use our analyzer for free. For this purpose, either adding comments in the code or running the analyzer on the Compiler Explorer site are suitable. More details are available here: Free PVS-Studio for students and teachers.

Why did we decide to review all these options? First, not everyone knows about them yet. Second, this release offers a small update for Linux users who use comments in code.

Here are the changes!

As we know, the free version of PVS-Studio requires adding comments to the beginning of each source file. Users must follow different steps to activate the pvs-studio-analyzer utility for the PVS-Studio Linux free version. Now before starting the analysis for the first time, you must enter a special license key using the following command:

pvs-studio-analyzer credentials PVS-Studio Free FREE-FREE-FREE-FREE.

Yes, this additional action slightly complicates the process. We are sorry. However, we did this to simplify the license check and some other scenarios. For example, if you entered an incorrect name or key as the license information, you will see it immediately, and not at the end of the analysis. We'll tell you more about why we introduced this change in a separate article.

Enhancements

  • We changed the calculation of the message hash. This will ensure more reliable operation of the warnings mass suppression mechanism. Non-Latin characters can be well met, for example, when there is a comment in a line of code. If such warnings were previously suppressed in the suppress files, these warnings may appear again in the analyzer report - such messages will need to be suppressed again.
  • Support of the IAR Arm compilers is now available in the pvs-studio-analyzer utility. This family of compilers was previously supported only in the CLMonitor.exe utility on Windows. Now users of PVS-Studio for Linux can check the code written for these compilers as well.
  • We added interception of compiler calls via ld-linux to the pvs-studio-analyzer utility.

New diagnostics

  • C++. V2574. MISRA. Functions shall not be declared at block scope.
  • C#. V3165. The expression of the 'char' type is passed as an argument of the 'A' type whereas similar overload with the string parameter exists.
  • C#. V3166. Calling the 'SingleOrDefault' method may lead to 'InvalidOperationException'.
  • Java. V6100. An object is used as an argument to its own method. Consider checking the first actual argument of the 'Foo' method.
  • Java. V6101. compareTo()-like methods can return not only the values -1, 0 and 1, but any values.

Additional links

Popular related articles


Comments (0)

Next comments next comments
close comment form