Blog

  • We are Closing Down the CppCat Project

    26.04.2015
    One odd year ago, we decided to carry out an experiment and release a tool for small teams and single developers as an alternative to the PVS-Studio static code analyzer. This is how a very inexpensive analyzer CppCat was born. Now we can sum up the results of that experiment and admit that it has failed. During its short lifetime, this project has brought us almost as much money as we had put into its development, promotion, and maintenance. Thus, the project has proved unprofitable. And we could have spent all that time (the most valuable resource) on improving PVS-Studio instead, couldn't we? So we have to close down the CppCat project and focus on PVS-Studio. I hope you will find it interesting to learn from someone else's experience of launching a new business idea, for negative experience is still experience. Read more
  • PVS-Studio: New Trial Mode

    09.04.2015
    Sometimes we experiment with the PVS-Studio analyzer's trial mode to make it as efficient as possible for users to get started with. Recently, we again have changed the format of the trial version. This note is intended to answer every possible question developers may want to ask when starting to work with our tool. This article is in fact the answer to the question, "can I try the demo version and what limitations does it have?". Read more
  • Bugs. Bugs Never Change

    08.04.2015
    What you have just opened is the article you should link to in your Twitter or post in your favorite programmer public. This will benefit both us and the open-source software community. We analyze open-source projects and help make them better to get programmers all over the world to learn about PVS-Studio. Meanwhile, we write interesting and helpful articles. The more people get to know about them, the more pleased we'll be doing that and the more projects we will check. Everyone profits - sounds great, doesn't it?. Read more
  • LibreOffice Project's Check

    01.03.2015
    We invite you to read a new article about how we analyzed another well-known open-source project. This time it is the LibreOffice office suite that I have examined. The project is developed by more than 480 programmers. We have found that it is pretty high-quality and that it is regularly checked by the Coverity static analyzer. But, like in any other large project, we still managed to find previously undetected bugs and defects and in this article we are going to discuss them. Just for a change, this time we will be accompanied by cows instead of unicorns. Read more
  • Null Pointer Dereferencing Causes Undefined Behavior

    16.02.2015
    I have unintentionally raised a large debate recently concerning the question if it is legal in C/C++ to use the &P->m_foo expression with P being a null pointer. The programmers' community divided into two camps. The first claimed with confidence that it wasn't legal while the others were as sure saying that it was. Both parties gave various arguments and links, and it occurred to me at some point that I had to make things clear. For that purpose, I contacted Microsoft MVP experts and Visual C++ Microsoft development team communicating through a closed mailing list. They helped me to prepare this article and now everyone interested is welcome to read it. For those who can't wait to learn the answer: That code is NOT correct. Read more
  • PVS-Studio for Visual C++

    09.02.2015
    Many of our articles are concentrated on anything but the PVS-Studio analyzer itself. We tell our readers about projects we have checked, nuances of C++ language, creation of plugins in C#, running PVS-Studio from the command line... But PVS-Studio was first of all designed for Visual Studio users. We have done a lot to make their work with the tool as comfortable as possible. But this particular fact is very often left outside the frame. I've decided to improve the situation and tell you about the PVS-Studio plugin from scratch. If you work in Visual C++, this article is for you. Read more
  • PVS-Studio and Hostile Environment

    28.01.2015
    This is another story about programs having a hard time trying to interact with the external world. At first glance, a static analyzer should face no problems at all. It just gets files and some additional information at the input and generates a log-file out of it. But the Devil is, as usual, in the detail. Read more
  • Twitter for C++ Programmers (updated)

    23.01.2015
    This small post is for those programmers who use Twitter or are just about to start doing this. I'm sure developers will find some useful information here. Read more
  • Reflections on the Null Pointer Dereferencing Issue

    15.01.2015
    As I have recently found out, the question whether or not the code &((T*)(0)->x) is correct appears to be quite complicated. I decided to write a small post on this subject. Read more
  • PVS-Studio Probes into Linux' Innards (3.18.1)

    03.01.2015
    For the sake of advertisement, we decided to analyze the Linux kernel with our static code analyzer. The difficulty of this task makes it especially interesting. Linux' source codes have been checked and are still checked by numbers of different tools. So finding anything new was hardly probable. But if we succeeded, it would be a nice advertisement for the PVS-Studio analyzer's capabilities. Read more