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…
Code comments as a work of art https://pvs-studio.com/en/blog/posts/0943/
PVS-Studio
Code comments as a work of art
Welcome all developers and everyone who commiserate. Everyone commented their code at least once — that′s for sure. Was it your code or someone else′s? Were these comments useful? Or were they made...
Debug output on microcontrollers: how Concepts and Ranges put my printf to rest https://pvs-studio.com/en/blog/posts/cpp/0944/
PVS-Studio
Debug output on microcontrollers: how Concepts and Ranges put my…
Hello! My name is Alexander and I work as a microcontroller developer.
Why should Unity game developers use static analysis? https://pvs-studio.com/en/blog/posts/csharp/0945/
PVS-Studio
Why should Unity game developers use static analysis?
The cost of making a video game has increased over the years. Game development is becoming increasingly complex, the code base is getting larger as well. It′s getting harder for developers …
How to spot C and C++ developers by their code https://pvs-studio.com/en/blog/posts/cpp/0946/
PVS-Studio
How to spot C and C++ developers by their code
We happen to write code for IoT stuff related to electricity, like car charging stations. Since hardware resources are usually sufficient, our main goal is not to save on every byte possibl…
Are you sure your passwords protected? The Bitwarden project check https://pvs-studio.com/en/blog/posts/csharp/0947/
PVS-Studio
Are you sure your passwords protected? The Bitwarden project che…
Bitwarden is an open-source password management service. The software helps generate and manage unique passwords. Will PVS-Studio find errors in such a project?