How PVS-Studio prevents rash code changes, example N4 https://pvs-studio.com/en/blog/posts/cpp/0924/
PVS-Studio
How PVS-Studio prevents rash code changes, example N4
If you regularly use a static code analyzer, you can save time on guessing why the new code doesn't work as planned. Let's look at another interesting error — the function broke during refa…
MuditaOS: Will your alarm clock go off? Part II https://pvs-studio.com/en/blog/posts/cpp/0925/
PVS-Studio
MuditaOS: Will your alarm clock go off? Part II
This is the second part in a series of articles checking the MuditaOS operating system. In this article, we cover the bottlenecks of the project that are worth refactoring. The PVS-Studio s…
Top 10 errors PVS-Studio found in ASP.NET Core projects https://pvs-studio.com/en/blog/posts/csharp/0926/
PVS-Studio
Top 10 errors PVS-Studio found in ASP.NET Core projects
Millions of people use web applications based on ASP.NET Core. This is why we enhanced the mechanics of how PVS-Studio analyzes such projects. How does PVS-Studio work now? Let′s see! We ch…
Checking the Ogre3D framework with the PVS-Studio static analyzer https://pvs-studio.com/en/blog/posts/cpp/0927/
PVS-Studio
Checking the Ogre3D framework with the PVS-Studio static analyzer
Developers like graphics engines because they are easy to work with. The PVS-Studio team likes graphics engines because we often find interesting code fragments. One of our readers asked us…
Suspicious sortings in Unity, ASP.NET Core, and more https://pvs-studio.com/en/blog/posts/csharp/0928/
PVS-Studio
Developers don't make silly errors by the example of sorting in Unity, ASP.NET Core, and more
Some believe that experienced developers do not make silly errors. Comparison errors? Dereferencing null references? Bet you think: No, it's definitely not about me... ;) By the way, what a…
Looking for errors in the C# code of the Eto.Forms GUI framework https://pvs-studio.com/en/blog/posts/csharp/0929/
PVS-Studio
Looking for errors in the C# code of the Eto.Forms GUI framework
GUI frameworks are becoming increasingly popular: new ones appear, and old ones get a new life. At PVS-Studio, we are watching this trend very closely. Today we′ll examine suspicious code fragments...
Videos that analyze errors in software projects are an excellent opportunity to practice coding and learn from other people's mistakes 🕵️♂️
This time we'll analyze the .NET 6 source code: https://youtu.be/Mk5gbW8WZL0
This time we'll analyze the .NET 6 source code: https://youtu.be/Mk5gbW8WZL0
YouTube
Mistakes and suspicious code fragments — or how the static analyzer checked .NET 6
Videos that analyze errors in software projects are an excellent opportunity to practice coding and learn from other people's mistakes. This time we'll analyze the .NET 6 source code.
00:00 Intro
00:36 A few words about the check
01:25 Missed interpolation…
00:00 Intro
00:36 A few words about the check
01:25 Missed interpolation…
Checking Barotrauma with the PVS-Studio static analyzer https://pvs-studio.com/en/blog/posts/csharp/0930/
PVS-Studio
Checking Barotrauma with the PVS-Studio static analyzer
Barotrauma is an indie game where you can steer a submarine, hide from monsters, and even play the accordion to save your ship from going down. The Barotrauma project is developed by Undert…
In this video, you'll learn how to install and set up the PVS-Studio plugin for JetBrains Rider and how to run the analysis.
https://youtu.be/7isOxlSMu60
https://youtu.be/7isOxlSMu60
YouTube
Using PVS-Studio with JetBrains Rider
In this video, you'll learn how to install and set up the PVS-Studio plugin for JetBrains Rider and how to run the analysis.
00:00 Intro
00:32 Why do you need PVS-Studio if Rider provides static code analysis?
01:02 Installing the Rider plugin
01:31 Installing…
00:00 Intro
00:32 Why do you need PVS-Studio if Rider provides static code analysis?
01:02 Installing the Rider plugin
01:31 Installing…
What's with the PVS-Studio's coverage of Toyota ITC Benchmark? https://pvs-studio.com/en/blog/posts/cpp/0931/
PVS-Studio
What's with the PVS-Studio's coverage of Toyota ITC Benchmark?
Toyota ITC Benchmark is a synthetic test set for C and C++. It consists of approximately 650 examples, and it's designed for testing code analyzers. This article is an answer to the questio…
PVS-Studio static analyzer to recheck Unity https://pvs-studio.com/en/blog/posts/csharp/0932/
PVS-Studio
PVS-Studio static analyzer to recheck Unity
Unity is one of the most popular game engines. It helps create many excellent cross-platform projects. It's been 4 years since the last time we checked Unity's source code. Time has come ag…
Trojan Source attack for introducing invisible vulnerabilities https://pvs-studio.com/en/blog/posts/cpp/0933/
PVS-Studio
Trojan Source attack for introducing invisible vulnerabilities
Researchers from the University of Cambridge described a technique that allows inserting invisible adversarial code in the reviewed source texts. The attack (CVE-2021-42574) is called Trojan Source...
PVS-Studio 7.18: updates and enhancements https://pvs-studio.com/en/blog/posts/0934/
PVS-Studio
PVS-Studio 7.18: updates and enhancements
Meet the latest PVS-Studio release — 7.18. This article will tell you about how we improved the analysis of modern C++, the search of security defects from the OWASP Top 10 list, and a new …
Trojan Source: Invisible Vulnerabilities https://pvs-studio.com/en/blog/posts/cpp/0935/
PVS-Studio
Trojan Source: Invisible Vulnerabilities
We present a new type of attack in which source code is maliciously encoded so that it appears different to a compiler and to the human eye. This attack exploits subtleties in text-encoding…
How PVS-Studio prevents rash code changes, example N5 https://pvs-studio.com/en/blog/posts/cpp/0936/
PVS-Studio
How PVS-Studio prevents rash code changes, example N5
The PVS-Studio static analyzer encompasses the symbolic execution mechanism. And today we have a great opportunity to demonstrate how this feature helps find errors.
SAST in Secure SDLC: 3 reasons to integrate it in a DevSecOps pipeline https://pvs-studio.com/en/blog/posts/0937/
PVS-Studio
SAST in Secure SDLC: 3 reasons to integrate it in a DevSecOps pi…
Vulnerabilities produce enormous reputational and financial risks. That′s why many companies are fascinated by security and desire to build a secure development life cycle (SSDLC). So, toda…
Four reasons to check what the malloc function returned https://pvs-studio.com/en/blog/posts/cpp/0938/
PVS-Studio
Four reasons to check what the malloc function returned
Some developers may be dismissive of checks: they deliberately do not check whether the malloc function allocated memory or not. Their reasoning is simple — they think that there will be enough...
Why use static analysis? Exploring an error from Akka.NET https://pvs-studio.com/en/blog/posts/csharp/0940/
PVS-Studio
Why use static analysis? Exploring an error from Akka.NET
Use static analysis regularly, not just before releases... The earlier you find errors, the cheaper they are to fix... You probably heard this a hundred times. Today we'll answer the Why? q…
Unreal baselining: PVS-Studio's enhancements for Unreal Engine projects https://pvs-studio.com/en/blog/posts/cpp/0941/
PVS-Studio
Unreal baselining: PVS-Studio's enhancements for Unreal Engine p…
The PVS-Studio static analyzer is constantly evolving. We enhance various mechanisms, integrate the analyzer with game engines, IDEs, CI/CD instruments, and other systems and services. A fe…
PVS-Studio evolution: data flow analysis for related variables https://pvs-studio.com/en/blog/posts/csharp/0942/
PVS-Studio
PVS-Studio evolution: data flow analysis for related variables
Related variables are one of the main problems of static analysis. This article covers this topic and describes how PVS-Studio developers are fighting false positives caused by different re…