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…
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…