PVS-Studio

Knowledge base of issues related to 64-bit and parallel software development

The main method of promoting our program product PVS-Studio is to tell the developers about the type issues this tool can solve.

Note. PVS-Studio is an add-in module for Visual Studio 2005/2008 (and 2010 soon) that allows you to detect a lot of various errors in 64-bit and parallel OpenMP applications. PVS-Studio is a contemporary interactive static C/C++ code analyzer. By 'interactive', for instance, we mean the capability of warning filtration and suppression without relaunching the analysis.

Consequences of using the Copy-Paste method in C++ programming and how to deal with it

Of course, it has been known for a long time that using Copy-Paste in programming is a bad thing. But let's try to investigate this problem closely instead of limiting ourselves to just saying "do not copy the code".
  • Sviluppatori
  • C/C++
  • error
  • PVS-Studio
  • code review
  • copy-paste
  • Static analysis and regular expressions

    I develop the PVS-Studio static code analyzer intended for analyzing C/C++ software. After we implemented general analysis in PVS-Studio 4.00, we received a lot of responses, both positive and negative. By the way, you are welcome to download a new version of PVS-Studio where we have fixed a lot of errors and defects thanks to users who told us about them.

    Статический анализ и регулярные выражения

    Я занимаюсь разработкой статического анализатор кода PVS-Studio для анализа программ на языке Си/Си++. После появления в PVS-Studio 4.00 анализа общего назначения мы получили множество откликов, как положительных, так и отрицательных. Кстати, предлагаю скачать новую версию PVS-Studio, в которой благодаря откликам людей было поправлено большое количество ошибок и недочетов.

    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.
  • C/C++
  • errors
  • Intel 64
  • 64-bit
  • PVS-Studio
  • x86-64
  • Win64
  • Porting
  • Новые диагностические возможности, реализованные в PVS-Studio 3.60

    1. Устаревшие функции. Диагностическое сообщение V303.


    В Win64 API присутствует ряд функций, которые присутствуют для совместимости, хотя могут привести к возникновению ошибок в 64-битных программах. Классическим примером является функция SetWindowLong.
    LONG SetWindowLong(HWND hWnd, int nIndex, LONG dwNewLong);

    Iscriversi a PVS-Studio