Most influential programmers say that code must be self-documenting. They find comments useful only when working with something uncommon. Our team shares this opinion. Recently we came across a...
Users sometimes ask how new diagnostics appear in the PVS-Studio static analyzer. We answer that we draw inspiration from a variety of sources: books, coding standards, our own mistakes, our...
Episode 281 of CppCast was recorded on January 6th, 2021. Hosts Rob Irving and Jason Turner talked to Zach Lieberman, a professor at MIT's Media Lab, about Herb Sutter's 2020 Wrap-Up blog post...
Snort is the most widely used Intrusion Detection System (IDS) in the world. Anyone who's ever dealt with information security is probably familiar with Snort. Can the PVS-Studio static analyzer...
Static analysis helps developers catch errors early and improve code quality and reliability. This article examines some potential vulnerabilities and errors PVS-Studio found in the STP...
Having only programming background, it is impossible to develop software in some areas. Take the difficulties of medical software development as an example. The same is with music software...
In our articles, we regularly repeat an important idea: a static analyzer should be used regularly. This helps detect and cheaply fix many errors at the earliest stage. It looks nice in theory. As...
Episode 277 of CppCast was recorded on December 8-th, 2020. Hosts Rob Irving and Jason Turner talked to Patrice Roy about intmax_t in C and C++, Lexy, CLion 2020.3, teaching C++ during COVID and...
Recently we found out that the new version of the fheroes2 project was released. In our company there are many fans of Heroes of Might and Magic game series. So, we couldn't pass it up and...
An essential part of any modern static code analyzer is data flow analysis. However, from an outside perspective, the use of data flow analysis and its benefit is unclear. Some people still...