MuditaOS: Will your alarm clock go off? Part I https://pvs-studio.com/en/blog/posts/cpp/0914/
PVS-Studio
MuditaOS: Will your alarm clock go off? Part I
Operating systems are a kind of software where code quality is critical. This time the PVS-Studio analyzer checked MuditaOS. So let′s take a look at what the static analyzer found in this open-source...
Playing with null: Checking MonoGame with the PVS-Studio analyzer https://pvs-studio.com/en/blog/posts/csharp/0915/
Pvs-Studio
Playing with null: Checking MonoGame with the PVS-Studio analyzer
The PVS-Studio analyzer often checks code of libraries, frameworks, and engines for game development. Today we check another project — MonoGame, a low-level gamedev framework written in C#.
What memory release strategy does the PVS-Studio C and C++ core use? https://pvs-studio.com/en/blog/posts/cpp/0916/
Pvs-Studio
What memory release strategy does the PVS-Studio C and C++ core …
In various discussions, we have already commented on how the PVS-Studio C and C++ module works with memory. Now it's time to make a small article from this comment.
An example of undefined behavior caused by absence of return https://pvs-studio.com/en/blog/posts/cpp/0917/
PVS-Studio
An example of undefined behavior caused by absence of return
This article contains a very interesting example. The absence of the return statement in a value-returning function leads to undefined behavior. It′s a perfect example of how wrong code can crash one...
Vulnerabilities due to XML files processing: XXE in C# applications in theory and in practice https://pvs-studio.com/en/blog/posts/csharp/0918/
PVS-Studio
Vulnerabilities due to XML files processing: XXE in C# applications in theory and in practice
How can simple XML files processing turn into a security weakness? How can a blog deployed on your machine cause a data leak? Today we′ll find answers to these questions, learn what XXE is and how it...
PVS-Studio 7.17: Unreal Engine, ASP.NET Core, Texas Instruments https://pvs-studio.com/en/blog/posts/0919/
Pvs-Studio
PVS-Studio 7.17: Unreal Engine, ASP.NET Core, Texas Instruments
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 lea…
Visual Studio 2022 — stylish and fresh. How PVS-Studio supported VS2022 https://pvs-studio.com/en/blog/posts/0920/
Pvs-Studio
Visual Studio 2022 — stylish and fresh. How PVS-Studio supported…
Seems like Microsoft has just announced Visual Studio 2022. And it already came out! For us at PVS-Studio, this meant only one thing — we must support this IDE in the next PVS-Studio releas…
How PVS-Studio prevents rash code changes, example N3 https://pvs-studio.com/en/blog/posts/cpp/0922/
Pvs-Studio
How PVS-Studio prevents rash code changes, example N3
Let's continue with a series of small notes illustrating the PVS-Studio's ability to quickly find new errors in the code. If the analyzer is regularly used, of course :). Today we have anot…
Why does my app send network requests when I open an SVG file? https://pvs-studio.com/en/blog/posts/csharp/0923/
PVS-Studio
Why does my app send network requests when I open an SVG file?
You decided to make an app that works with SVG. Encouraged by the enthusiasm, you collected libraries and successfully made the application. But suddenly you find that the app is sending strange...
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…