We are pleased to announce the first release of PVS-Studio in 2022. In this article, we discuss various enhancements in managing Unreal Engine and ASP.NET Core projects. Keep reading to learn about new diagnostics and latest articles by PVS-Studio.
Managing suppression files for Unreal Engine projects from IDE
We continue to enhance scenarios for working with Unreal Engine projects. Now you can manage suppression files with PVS-Studio plugins for Visual Studio and JetBrains Rider. This makes baselining more convenient when you are just integrating the analyzer in your development process. Also, you can easily suppress/unsuppress the warnings after introducing the analyzer in your regular work.
You can read more about this in the documentation.
Improving the analysis of ASP.NET Core projects
Now, the C# analyzer contains new annotations for the most common classes in ASP.NET Core libraries. Thus, PVS-Studio better understands what is happening in the code written with ASP.NET Core. As a result — the analyzer detects more errors and issues fewer false positives.
Supporting the C6000-CGT compiler by Texas Instruments
The PVS-Studio analyzer for C and C++ now can check projects for C6000-CGT — the compiler for embedded systems developed by Texas Instruments. By the way, you can find the full list of platforms and compilers supported by PVS-Studio here.
Changing the hash algorithms for suppression files in JSON format
Perhaps, the heading makes you wonder why we did this. :) Let me explain. Changing the hash algorithms will make JSON suppress files fully cross-platform for all use-case scenarios of PVS-Studio in future releases.
We changed the algorithm in the LLVM Compilation Database analysis and tracing tool (pvs-studio-analyzer), and in the log conversion tool (plog-converter). The support of old-format suppress files still remains as backward compatibility. If you need to append warnings to your suppress files, you should re-generate the suppress files in a new format.
Here's how we summed up 2021:
Also, we made the lists of useful resources for C++ and C# developers:
Of course, we continue to check projects. Take a look at our recent articles about .NET 6 and Flipper Zero. If you want to expand your knowledge, we invite you to read about the evolution of constexpr in C++ or about static code analysis technology in PVS-Studio.
And just one more thing — don't forget about our YouTube channel. We regularly upload new videos — welcome to our channel!
Hi
Early last year (2021), you published a road map of what you were planning/hoping to address/achieve/enhance during 2021 in PVS Studio.
Do you have plans to do a similar article for 2022 plans?
Mike
We did have a plan to publish such an article, but, unfortunately, it did not quite work out this way :). We know what we will be doing, and we have a plan for this year, but we did not manage to present it as an article. Many of our people caught a bug (yeah, the one we all know and dread), then we were working on our release, etc. As a result, I just closed the task dedicated to writing and publishing the Roadmap 2022 article. By the time we would have written it, the team leads would have reviewed it to make sure nothing is forgotten, the translators would have translated it - it would already be spring. Spring seems too late to publish an article about plans for an upcoming year :).
Here is a short version of what we are planning. Focus on the security direction. Developing new diagnostics. And, of course, supporting new versions of various software systems that PVS-Studio integrates with: Visual Studio, CLion, SonarQube, etc.
English
Français
328