How to create a .NET library: a complete guide https://pvs-studio.com/en/blog/posts/csharp/1022/
PVS-Studio
How to create a .NET library: a complete guide
Looking to build a .NET library, but unsure where to begin? Already developing something similar, but want to discover something new? Looking for ways to extend automation? Not sure what to do with...
PVS-Studio now analyzes Blazor components https://pvs-studio.com/en/blog/posts/csharp/1023/
PVS-Studio
PVS-Studio now analyzes Blazor components
Hello everyone. This is a small article about how PVS-Studio analyzes Blazor components. We′ll try to anticipate your questions and answer them here. Enjoy!
Falsehoods programmers believe about undefined behavior https://pvs-studio.com/en/blog/posts/cpp/1024/
PVS-Studio
Falsehoods programmers believe about undefined behavior
Undefined behavior (UB) is a tricky concept in programming languages and compilers. I′ve heard many misconceptions about what the compiler guarantees in the presence of UB. This is unfortunate but...
C++ — programming language of the year 2022. What about other languages? https://pvs-studio.com/en/blog/posts/1026/
PVS-Studio
C++ — programming language of the year 2022. What about other la…
Overtaking Python, C++ became the TIOBE′s language of 2022. It outscored Rust, C#, Go and others by a large margin. Don′t you find this weird? Well, let′s figure this out.
Wave Function Collapse for procedural generation in Unity https://pvs-studio.com/en/blog/posts/csharp/1027/
PVS-Studio
Wave Function Collapse for procedural generation in Unity
Wave Function Collapse is an algorithm that can generate anything by arranging it according to rules or samples. In this article, we are going to look at how to use WFC to generate a map in Unity.
Under the hood of SAST: how code analysis tools look for security flaws https://pvs-studio.com/en/blog/posts/cpp/1028/
PVS-Studio
Under the hood of SAST: how code analysis tools look for securit…
Here we′ll discuss how SAST solutions find security flaws. I′ll tell you about different and complementary approaches to detecting potential vulnerabilities, explain why each of them is nec…
What you need to know about PVS-Studio enhancements https://pvs-studio.com/en/blog/posts/1029/
PVS-Studio
What you need to know about PVS-Studio enhancements
In this article, you are going to learn about new useful features appeared in PVS-Studio over the past three years. The article contains several sections — so, you don′t have to read the wh…
Overview of the PVS-Studio plugin for Visual Studio Code https://pvs-studio.com/en/blog/posts/1030/
PVS-Studio
Overview of the PVS-Studio plugin for Visual Studio Code
Now you can take advantage of static analysis when working with the Visual Studio Code editor due to the new PVS-Studio extension. In this article, we will explore the use of the plugin, fr…
C++ subtleties: so, you've declared a class... https://pvs-studio.com/en/blog/posts/cpp/1031/
PVS-Studio
C++ subtleties: so, you′ve declared a class...
Our team constantly encounters some C++ features that may be unknown to some developers. In this article, we′re going to learn how a seemingly typical feature — class forward declarations — works.
Should we check libraries before using them? MudBlazor helps us find the answer https://pvs-studio.com/en/blog/posts/csharp/1032/
PVS-Studio
Should we check libraries before using them? MudBlazor helps us find the answer
There was a need in our company to use a library for Blazor components. We chose MudBlazor and checked its code quality before implementation. The result is a number of strange things and even a...
Captain Blood's adventures: would Arabella sink? https://pvs-studio.com/en/blog/posts/cpp/1033/
PVS-Studio
Captain Blood′s adventures: would Arabella sink?
We recently found out that the source code of the Captain Blood game (formerly known as Age of Pirates: Captain Blood) has been opened. We couldn′t pass it up so we checked the game′s quali…
PVS-Studio 7.23: Qt Creator 9 plugin, and more https://pvs-studio.com/en/blog/posts/1034/
PVS-Studio
PVS-Studio 7.23: Qt Creator 9 plugin, and more
PVS-Studio 7.23 is released. We improved the Qt Creator support, increased the stability of PVS-Studio Java, solved issues with the analysis of NMake projects, added a number of new diagnos…
Is ChatGPT good enough at spotting bugs in code? https://pvs-studio.com/en/blog/posts/1035/
PVS-Studio
Is ChatGPT good enough at spotting bugs in code?
Neural networks are making their way into our daily lives, trying to make them better. ChatGPT has recently sparked a frenzy of online debate. It can write texts, code, essays and songs. What is...
64-bit errors: LONG, LONG_PTR and blast from the past https://pvs-studio.com/en/blog/posts/cpp/1036/
PVS-Studio
64-bit errors: LONG, LONG_PTR and blast from the past
64-bit errors are a thing of the bygone days. Very few developers are porting code from a 32-bit to a 64-bit system these days. Those who needed it have already ported their programs. Those who don′t...
What static analysis cannot find https://pvs-studio.com/en/blog/posts/1037/
PVS-Studio
What static analysis cannot find
Static code analysis is valuable because it helps detect errors in the early stages of development. However, it is not omnipotent and there are a number of limitations that prevent it from detecting...
Converting string to enum at the cost of 50 GB: let's analyze the CVE-2020-36620 vulnerability https://pvs-studio.com/en/blog/posts/csharp/1038/
PVS-Studio
Converting string to enum at the cost of 50 GB: let′s analyze the CVE-2020-36620 vulnerability
In this article, we′re going to discuss the CVE-2020-36620 vulnerability and see how a NuGet package for converting string to enum can make a C# application vulnerable to DoS attacks.
Why change an assembly version when making a new assembly release, or how to break Visual Studio with a single command https://pvs-studio.com/en/blog/posts/csharp/1039/
PVS-Studio
Why change an assembly version when making a new assembly releas…
Usually, when developers make a new release of an assembly, they also change its version. Changing the version is particularly important when developing a library on which other projects de…
Top Reddit communities for Devs and ITs: from beginners to advanced https://pvs-studio.com/en/blog/posts/1040/
PVS-Studio
Top Reddit communities for Devs and ITs: from beginners to advanced
This article is about a popular network on the Internet – Reddit. For those who don′t know what Reddit is, it′s a platform that connects thousands of communities of diverse interests. We respect and...