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?
15000 bugs in open-source projects https://pvs-studio.com/en/blog/posts/0948/
PVS-Studio
15000 bugs in open-source projects
The number of bugs in our bug list has exceeded 15000. This is exactly the number of bugs found by the PVS-Studio team in various open-source projects. Most excitingly, our bug collection i…
Should PVS-Studio process other tools' reports? https://pvs-studio.com/en/blog/posts/0949/
PVS-Studio
Should PVS-Studio process other tools' reports?
PVS-Studio can hide repeated warnings. The analyzer allows you to set baseline, which makes it easy to implement static analysis in legacy projects. Should we provide these features for thi…
Things to keep in mind when working with POSIX signals https://pvs-studio.com/en/blog/posts/cpp/0950/
PVS-Studio
Things to keep in mind when working with POSIX signals
Like any other tool, POSIX signals have their own rules on how to use them wisely, securely, and safely. Programming language standards, man pages and the POSIX standard itself have described POSIX...
Embedded system developers do not know how to program https://pvs-studio.com/en/blog/posts/0951/
PVS-Studio
Embedded system developers do not know how to program
Nowadays system resources are widely available. Ordinary high-level application software developers have to follow minimum system requirements. So, don′t expect them to optimize the code to…
Google programmers. How one idiot hired a couple more idiots https://pvs-studio.com/en/blog/posts/csharp/0952/
PVS-Studio
Google programmers. How one idiot hired a couple more idiots
A long time ago, I performed technical interviews on a regular basis — I was recruiting candidates for the position of a programmer in a company. I had a simple, clear, and smart recruitmen…