Pull to refresh
126.68
PVS-Studio
Static Code Analysis for C, C++, C# and Java
Show first

A tale of how PVS-Studio reimagined the bug

Reading time 4 min
Views 741
PVS-Studio corporate blog Graphic design *Branding Design

You all know our mascot — a unicorn — many people grew fond of him! However, PVS-Studio has a supporting character who is also the antagonist of our product — a bug! Well, a bug is not omnipresent, indestructible evil. It's more like an everyday or a work-related trouble. In this article, you'll learn how we created a new character, and why he looks like a ladybug. Oh, and if you wonder why the hell he has a belly button — keep reading!

Read more
Total votes 1: ↑1 and ↓0 +1
Comments 2

How PVS-Studio prevents rash code changes, example N4

Reading time 2 min
Views 877
PVS-Studio corporate blog C++ *Development Management *

Blender, PVS-Studio, std::clamp
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 refactoring, and no one noticed that. No one — except for PVS-Studio that can automatically scan the project and email the report to us.

Read more →
Total votes 2: ↑1 and ↓1 0
Comments 0

Why does my app send network requests when I open an SVG file?

Reading time 8 min
Views 1.9K
PVS-Studio corporate blog Information Security *Programming *.NET *C# *

0923_SVG_XXE_ru/image1.png


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 network requests. And data is leaking from the host-machine. How so?

Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 0

Visual Studio 2022 — stylish and fresh. How PVS-Studio supported VS2022

Reading time 7 min
Views 1.1K
PVS-Studio corporate blog Visual Studio *Development for Windows *

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 release. Almost everything went smoothly. However, there were some hitches that we're going to discuss today.

Read more
Rating 0
Comments 0

Vulnerabilities due to XML files processing: XXE in C# applications in theory and in practice

Reading time 16 min
Views 1.1K
PVS-Studio corporate blog Information Security *Programming *.NET *C# *

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 looks like.


0918_XXE_BlogEngine/image1.png

Read more →
Total votes 1: ↑1 and ↓0 +1
Comments 0

Stop losing clients! Or how a developer can test a website, by the example of PVS-Studio. Part 1

Reading time 15 min
Views 834
PVS-Studio corporate blog IT systems testing *Python *Django *Web services testing *
Tutorial

A website with bugs could be a real pain in the neck for business. Just one 404 or 500 error could end up costing an obscene amount of money for the company and hurt a good reputation. But there is a way to avoid this issue: the website testing. That's sort of what this article is about. After reading this article, you will learn how to test code in Django, create your "own website tester" and much more. Welcome to the article.

Read more
Rating 0
Comments 2

Re-checking PascalABC.NET

Reading time 8 min
Views 478
PVS-Studio corporate blog .NET *Visual Studio *C# *Development for Windows *

Welcome all fans of clean code! Today we analyze the PascalABC.NET project. In 2017, we already found errors in this project. We used two static analysis tools (more precisely, plugins for SonarQube): SonarC# and PVS-Studio. Today, we analyze this project with the latest version of the PVS-Studio analyzer for C#. Let's see what errors we can find today, especially when our analyzer has become more advanced and got new features: it can find more exquisite errors and potential vulnerabilities.


0912_PascalABCNET_2/image1.png

Read more →
Total votes 3: ↑2 and ↓1 +1
Comments 0

How many marketing specialists do you need to create one video?

Reading time 8 min
Views 696
PVS-Studio corporate blog Internet marketing *Display advertising *

0911_Videomarketing_en/image1.png


Video is one of the simplest and most attractive formats for information perception. Especially now, in the era of TikTok, Instagram and YouTube. It is not surprising that marketing specialists often choose video format for business promotion.

Read more →
Total votes 4: ↑3 and ↓1 +2
Comments 3

How PVS-Studio prevents rash code changes, example N2

Reading time 2 min
Views 463
PVS-Studio corporate blog C *Development Management *

Blender bug, PVS-Studio
When developers do make mistakes, it's often accidental or because the developers are in a hurry. These errors often make their way into small edits to the code. Let's review one of these cases: a developer fixes an error and introduces a new one simultaneously.

Read more →
Total votes 4: ↑2 and ↓2 0
Comments 0

Information

Website
pvs-studio.com
Registered
Founded
2008
Employees
31–50 employees