Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Posts: #Knowledge

Posts: # Knowledge

How to introduce a static code analyzer in a legacy project and not to discourage the team
Andrey Karpov
It is easy to try a static code analyzer. But it requires skills to introduce it in the development of an old large project. If the approach is incorrect, the analyzer can add work, slow...
...
A note of caution about using PVS-Studio on godbolt.org (Compiler Explorer)
Andrey Karpov
We have added an option allowing you to experiment with the PVS-Studio static analyzer on the godbolt.org (Compiler Explorer) website. It supports analysis of C and C++ code. We believe this to be...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
May 10 2020
C++ is faster and safer than Rust: benchmarked by Yandex
Roman
Spoiler: C++ isn't faster or slower — that's not the point, actually. This article continues our good tradition of busting myths about the Rust language shared by some big-name Russian companies.
...
Mar 10 2020
Detecting the incorrect double-checked locking using the V3054 diagnostic
Andrey Karpov
The PVS-Studio analyzer can detect incorrect variants of the "double-checked locking" pattern implementation in C# programs. Sometimes users are not aware of the danger in the code indicated by...
...
Zero, one, two, Freddy's coming for you
Andrey Karpov
This post continues the series of articles, which can well be called "horrors for developers". This time it will also touch upon a typical pattern of typos related to the usage of...
...
Machine learning in static analysis of program source code
Andrey Karpov, Victoria Khanieva
Machine learning has firmly entrenched in a variety of human fields, from speech recognition to medical diagnosing. The popularity of this approach is so great that people try to use it wherever...
...
What's the Use of Dynamic Analysis When You Have Static Analysis?
Ilya Gainulin
In order to verify the quality of software, you have to use a lot of different tools, including static and dynamic analyzers. In this article, we'll try to figure out why only one type of...
...
Jul 16 2019
On the Difference Between strlcat and strncat
Sviatoslav Razmyslov
While we are working hard on writing big articles on code check of the Haiku operating system, I'd like to give an example of an often found error with strncat function taken from that project...
...
Jun 26 2019
The dangers of using multi-character constants
Sviatoslav Razmyslov
During code analysis, PVS-Studio analyzes the data flow and operates variable values. Values are taken from constants or derived from conditional expressions. We call them virtual values...
...
Jun 05 2019
Nullable Reference types in C# 8.0 and static analysis
Alexander Senichkin, Paul Eremeev
It's not a secret that Microsoft has been working on the 8-th version of C# language for quite a while. The new language version (C# 8.0) is already available in the recent release of Visual...
...
View more Pagination arrow previous
Showing: - of 157