errors

90 errors in open-source projects

There are actually 91 errors described in the article, but number 90 looks nicer in the title. The article is intended for C/C++ programmers, but developers working with other languages may also find it interesting.
  • errors
  • C++
  • open source
  • bugs
  • cpp
  • PVS-Studio
  • code review
  • static code analyzer
  • Security Community
  • Parallel Computing
  • Open Source
  • Myths about static analysis. The second myth - expert developers do not make silly mistakes.

    While communicating with people on forums, I noticed there are a few lasting misconceptions concerning the static analysis methodology. I decided to write a series of brief articles where I want to show you the real state of things.

    The second myth is: "Expert developers do not make silly mistakes that are mostly caught by static code analyzers".

    This is how this statement looks in discussions on forums (this is a collective image):

    Big Brother helps you

    I was convinced one more time that programmers write programs absolutely carelessly, so that their programs work not because of their skill but due to chance and care of Microsoft or Intel compiler developers. Right it is they who really care and put crutches under our lop-sided programs when necessary.

    Further is a byte-rending story of the CString class and daughter of its, the Format function, for you to read.

    Difference of code analysis approaches in compilers and specialized tools

    Compilers and third-party static code analyzers have one common task: to detect dangerous code fragments. However, there is a great difference in the types of analysis performed by each kind of these tools.
  • errors
  • C++
  • Intel C++
  • PVS-Studio
  • code review
  • A Collection of Examples of 64-bit Errors in Real Programs

    This article is the most complete collection of examples of 64-bit errors in the C and C++ languages. The article is intended for Windows-application developers who use Visual C++, however, it will be useful for other programmers as well.
  • errors
  • C++
  • Porting
  • Intel 64
  • 64-bit
  • PVS-Studio
  • x86-64
  • Win64
  • errors abonnieren