Free Version Of PVS-Studio Released
Written by Kay Ewbank   
Friday, 02 December 2016

The team behind PVS-Studio has released a free-to-use version of the static code analyser. The news follows the recent release of a Linux version of the tool.


pvdlogo

PVS-Studio is a tool for bug detection in the source code of programs, written in C, C++ and C#. There are versions for Windows and Linux, and now the free-for-use version.

PVS-Studio performs static code analysis and generates a report that you can use to help you find and fix bugs. It performs a wide range of code checks, and the developers say it is also useful to search for misprints and Copy-Paste errors.

The program works by using pattern-based analysis. An abstract syntax tree is used to look for fragments in the source code that are similar to the known code patterns with an error. It uses type inference based on the semantic model of the program to infer information about all variables and statements in the code, and symbolic execution allows range checking to find potential errors in the values of variables. It also uses data-flow analysis to evaluate what limits are imposed on the values of variables when processing various language constructs.

Finally, method annotations are used to gather more information about the methods used than would be obtained by analyzing only their signatures.

PVS-Studio offers integration with Visual Studio 2010-2015. You can carry out overnight analysis of files, running the scanner overnight then working on the results log in the morning. There's a command line option for project analysis, and you can interactively filter the analysis results in the PVS-Studio window by the diagnostic number, file name, or the keyword in the text of the diagnostic.

Andrey Karpov, co-founder and CTO of Program Verification Systems, has compiled a large collection of tips for programmers as a result of checking open source projects and presented a small selection on I Programmer, see Four Tips For C++ Programmers 

 pvdlogo

More Information

PVS-Studio Site

Related Articles

10,000 Bugs Found - A Milestone for Static Analysis

Reversible PHP Debugger Released

Four Tips For C++ Programmers

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


Wasmer 5 Adds iOS Support
12/11/2024

The Wasmer team has released Wasmer 5.0. The WebAssembly runtime adds experimental support for more back ends including V8, Wasmi and WAMR. It also now has iOS support, and upgraded compilers includin [ ... ]



OpenAI Library For .NET Exits Beta
19/11/2024

A few months ago the OpenAI .NET library was released as a beta. It has now reached version 2.0.0 and the time has come to leave beta and, with a few amendments enter production readiness.


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 02 December 2016 )