Home
Videos uploaded by user “PVS-Studio”
Static code analysis
 
04:00
Static code analysis is the process of detecting errors and defects in a software source code. Static analysis can be viewed as an automated code review process. You can get a better understanding of the methodology of static analysis, studying the following materials: • PVS-Studio website. Terminology. Static code analysis https://www.viva64.com/en/t/0046/?utm_source=youtube&utm_medium=video_static_code_analysis&utm_campaign=article_terminology_static_code_analysis). • John Carmack. Static Code Analysis (https://www.viva64.com/en/a/0087/?utm_source=youtube&utm_medium=video_static_code_analysis&utm_campaign=article_john_carmack). • Wikipedia. Static code analysis (https://en.wikipedia.org/wiki/Static_program_analysis). • Wikipedia. List of tools for static code analysis (https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis). • Coverity. A Few Billion Lines of Code Later: Using Static Analysis to Find Bugs in the Real World (http://cacm.acm.org/magazines/2010/2/69354-a-few-billion-lines-of-code-later/fulltext). Examples of errors that can be detected using static code analysis: • 27 000 Errors in the Tizen Operating System - https://www.viva64.com/en/b/0519/ • How to find 56 potential vulnerabilities in FreeBSD code in one evening - https://www.viva64.com/en/b/0496/ • Analysis of PascalABC.NET using SonarQube plugins: SonarC# and PVS-Studio - https://www.viva64.com/en/b/0492/ • Another examples - https://www.viva64.com/en/inspections/ ------------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 3084 PVS-Studio
Errors in Tizen OS (C, C++, C#) code, detected using PVS-Studio static code analyzer
 
03:00
The PVS-Studio team did some code research of the Tizen operating system, and published several articles about their inspections which I'd like to bring to your notice. 27 000 Errors in the Tizen Operating System - https://www.viva64.com/en/b/0519/?utm_source=youtube&utm_medium=video_tizen_os&utm_campaign=article_27000_errors_tizen Exploring Microoptimizations Using Tizen Code as an Example - https://www.viva64.com/en/b/0520/?utm_source=youtube&utm_medium=video_tizen_os&utm_campaign=article_exploring_microoptimizations_tizen We Continue Exploring Tizen: C# Components Proved to be of High Quality - https://www.viva64.com/en/b/0521/?utm_source=youtube&utm_medium=video_tizen_os&utm_campaign=article_tizen_csharp Tizen: Summing Up - https://www.viva64.com/en/b/0522/?utm_source=youtube&utm_medium=video_tizen_os&utm_campaign=article_tizen_summing_up Characteristics of PVS-Studio Analyzer by the Example of EFL Core Libraries, 10-15% of False Positives - https://www.viva64.com/en/b/0523/?utm_source=youtube&utm_medium=video_tizen_os&utm_campaign=article_efl_core_libraries ----------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 3396 PVS-Studio
Part 1. What 64-bit systems are
 
06:48
The first tutorial is devoted to the 64-bit systems as a general notion. There two most popular 64-bit microprocessor architectures among Windows developers: IA64 and Intel 64. In this part you will see a brief introduction to the Intel 64 architecture, address space and the program model Win64. Subscribe to our channel and follow the news of the 64-bit application development. Itanium: https://en.wikipedia.org/wiki/itanium x86-64: https://en.wikipedia.org/wiki/x86-64 AMD64 Architecture Programmer's Manual. Volume 1. Application Programming: http://developer.amd.com/wordpress/media/2012/10/24592_apm_v11.pdf More lessons here: https://www.gitbook.com/book/alexastva/lessons-on-the-development-of-64-bit-c-c-applicat/details Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 527 PVS-Studio
Static code analysis used for code clean up
 
24:07
The report gives information about ways to detect bugs, methodology of static analysis, correct and incorrect use of analysis tools. The author also provides myths about static analysis that may lead to erroneous understanding among the developers. The presentation shows errors in Open Source projects, detected by such tools as ReSharper, PVS-Studio, Visual Studio SCA. List of tools for static code analysis: https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis Myths about static analysis: https://www.viva64.com/en/t/0046/#ID0ETUBG/?utm_source=youtube&utm_medium=staticcodeanalysis_clean_up&utm_campaign=article_myths Errors detected in Open Source projects: https://www.viva64.com/en/examples/?utm_source=youtube&utm_medium=staticcodeanalysis_clean_up&utm_campaign=article_errors_in_opensource C++ Quiz: are you a code guru? - http://q.viva64.com/?utm_source=youtube&utm_medium=staticcodeanalysis_clean_up&utm_campaign=article_quiz PVS-Studio для Windows: https://www.viva64.com/en/pvs-studio-download/?win PVS-Studio для Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx ----------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 517 PVS-Studio
Теория и практика использования статического анализа на примере PVS-Studio
 
01:11:36
Автор: Сергей Васильев PVS-Studio - статический анализатор, позволяющий находить ошибки в С, С++ и C# коде. В этом видео будет показано, как использовать PVS-Studio. Будут рассмотрены настройки анализатора, которые позволят сделать его использование максимально удобным и продуктивным. Также будут разобраны интересные ошибки, найденные в проектах MonoDevelop и Godot Engine. PVS-Studio для Windows: https://www.viva64.com/en/pvs-studio-download/?win PVS-Studio для Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 1252 PVS-Studio
PVS-Studio for Linux.  How to find bugs in the code?
 
08:04
PVS-Studio is a static code analyzer for Linux and Windows. This video shows how to install the PVS-Studio for Linux and to check Far Manager for bugs. Download and try - https://www.viva64.com/en/pvs-studio-download-linux/?lnx How to run PVS-Studio on Linux - http://www.viva64.com/en/m/0036/?utm_source=youtube&utm_medium=video_pvsstudio_for_linux&utm_campaign=article_linux_how_to_run The Development History of PVS-Studio for Linux - http://www.viva64.com/en/b/0451/?utm_source=youtube&utm_medium=video_pvsstudio_for_linux&utm_campaign=article_linux_development_history Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 1260 PVS-Studio
Linux news: the Penguin is kidnapped!
 
02:40
Part 2 - https://youtu.be/Em3SLCnsQY8 This video is not really serious, but it is about serious stuff. About the way a bug gets into a Linux program, damages the code and causes headache of the developers. This is about an infinity war - the bug against the unicorn. More hints of how to find bugs in the programs can be found here - http://www.viva64.com/en/b/0441/?utm_source=youtube&utm_medium=video_linux_news&utm_campaign=article_linux_release Download PVS-Studio for Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAn... Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 2898 PVS-Studio
The Evil within the Comparison Functions
 
00:55
Now I want to tell you about a new interesting observation. It turns out that programmers tend to make mistakes in functions comparing two objects. The full article - https://www.viva64.com/en/b/0509/?utm_source=youtube&utm_medium=video_article&utm_campaign=function This statement looks implausible; however, I'll show you a great number of examples of errors that may be shocking to a reader. So, here is a new research, it will be quite amusing and scary. ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 19 PVS-Studio
Разработка новой C# диагностики.  Как мы это делаем, от идеи до прототипа
 
38:12
Автор: Иван Кищенко Разработка диагностики V3133. В этом видео мы кратко покажем, как разрабатываются новые диагностики для нашего статического анализатора PVS-Studio на примере новой C# диагностики. Покажем вам, как идея или случайно найденная ошибка в коде превращается в полноценную диагностику. P.S. Поскольку данная диагностика разрабатывалась в режиме live, то в коде была допущена небольшая ошибка, которая в конечном итоге не влияет на работу диагностики. Это еще раз доказывает, что никто не застрахован от ошибок и статический анализатор является лучшим другом для программиста. Ошибку можно увидеть в коде диагностики на строке 26. На самом деле вместо node.Dec... нужно использовать node.Right.Dec..., так как инкремент или декремент мы ищем только в правой части выражения. Но поскольку в левой части выражения может быть только переменная, это не повлияло на корректность работы диагностики. Все диагностики - https://www.viva64.com/ru/w/?utm_source=youtube&utm_medium=video_csharp_diag&utm_campaign=article_all_diag_ru Загрузить PVS-Studio для Windows: https://www.viva64.com/en/pvs-studio-download/?win Загрузить PVS-Studio для Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 280 PVS-Studio
Adopting PVS-Studio in a large project. Part 1
 
54:07
Author: Pavel Kusnetsov In this video we discuss possible difficulties related to introducing static code analysis to an existing project with a large legacy code base, and how PVS-Studio helps to resolve these difficulties. In particular, we demonstrate how to suppress all the messages reported on legacy code and focus on the issues in new code only. We also describe in detail the PVS-Studio plugin for Microsoft Visual Studio, and how PVS-Studio can be integrated with a build server or a continuous integration server. Download PVS-Studio for Windows: https://www.viva64.com/en/pvs-studio-download/?win Download PVS-Studio for Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 304 PVS-Studio
Проверяем проект GitExtensions с помощью PVS Studio
 
25:03
Автор: Иван Кищенко Как известно Ядро Git представляет собой набор утилит командной строки с параметрами. Для комфортной работы как правило используются утилиты, дающие нам привычный графический интерфейс. Таким инструментом является GitExtensions. Мы уже проверяли его статическим анализатором PVS-Studio и нашли интересные ошибки, которые описаны в статье - https://www.viva64.com/ru/b/0440/. Разработчики их пофиксили, а мы, в свою очередь, спустя некоторое время решили вновь проверить этот проект. О том, какие баги удалось обнаружить в этот раз, смотрите в видео. Загрузить PVS-Studio для Windows: https://www.viva64.com/en/pvs-studio-download/?win Загрузить PVS-Studio для Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 429 PVS-Studio
Celebrating the 30-th anniversary of the first C++ compiler: let's find the bugs in it
 
00:59
Cfront laid the foundation to the C++ language. CFront is a compiler for C++, existing since 1983, which was developed by Bjarne Stroustrup. At that time, that language was known as "C with classes". CFront had a full parser and symbol tables. It was able to build a tree for each class, function, and so on. The full article - https://www.viva64.com/en/b/0355/?utm_source=youtube&utm_medium=video_article&utm_campaign=cfront ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 19 PVS-Studio
PVS-Studio static code analyzer for C, C++ and C#
 
47:09
This presentation looks at PVS-Studio static code analyzer. PVS-Studio is a tool for bug detection in the source code of programs, written in C, C++ and C#. It works in Windows and Linux environment. PVS-Studio performs static code analysis and generates a report that helps a programmer find and fix bugs also performs a wide range of code checks, it is also useful to search for misprints and Copy-Paste errors. The main value of static analysis is in its regular use, so that errors are identified and fixed at the earliest stages. So, let's point out that again - the main idea of static analysis is not to find one hidden bug on the day before the release, but to fix dozens of bugs day by day. PVS-Studio can integrate into Visual Studio development environment 2010-2015. If you use this IDE, then most likely you will just have to go to the menu of PVS-Studio plugin and choose "Check Current Project". Often, it can be a more complicated process, and you will need to integrate PVS-Studio into a build system, even an exotic one. The topic of integration is too broad to describe it here. You can find all the information in the detailed documentation - https://www.viva64.com/en/m/?utm_source=youtube&utm_medium=video_pvsstudio_static_code_analyzer&utm_campaign=article_documentation Download and try: PVS-Studio for Windows: https://www.viva64.com/en/pvs-studio-download/?utm_source=youtube&utm_medium=video_pvsstudio_static_code_analyzer&utm_campaign=article_download_win PVS-Studio for Linux: https://www.viva64.com/en/pvs-studio-download-linux/?utm_source=youtube&utm_medium=video_pvsstudio_static_code_analyzer&utm_campaign=article_download_lnx Presentation in PPTX format - http://www.slideshare.net/Andrey_Karpov/pvsstudio-static-code-analyzer-windowslinux-ccc-2017 Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 12615 PVS-Studio
How to avoid bugs using modern C++
 
00:44
One of the main problems with C++ is having a huge number of constructions of the undefined or unexpected behavior. Let's see which techniques in modern C++ help writing not only simple and clear code, but make it safer and more reliable. The full article - https://www.viva64.com/en/b/0429/?utm_source=youtube&utm_medium=video_article&utm_campaign=modern_cpp ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 31 PVS-Studio
Review of Music Software Code Defects Part 5. Steinberg SDKs
 
00:59
A Steinberg company has several programs with closed source code. We accidentally found the SDK for third-party developers on their website, and, after studying it, found a lot of interesting bugs. The full article - https://www.viva64.com/en/b/0541/?utm_source=youtube&utm_medium=video_article&utm_campaign=steinberg ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 33 PVS-Studio
Control source code quality using the SonarQube platform
 
00:42
SonarQube is an open source platform, designed for a continuous analysis and measurement of code quality. In this article we'll look at the main features of SonarQube and also discuss the advantages of the method for code quality evaluation based on the SonarQube metrics. The full article - https://www.viva64.com/en/b/0452/?utm_source=youtube&utm_medium=video_article&utm_campaign=sonarqube2 ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 189 PVS-Studio
Review of Music Software Code Defects. Part 3. Rosegarden
 
00:52
We analyzer the Rosegarden free MIDI sequencer, music scores editor for Linux which uses ALSA and JACK, a program for creating and editing music such as Apple Logic Pro, Cakewalk Sonar and Steinberg Cubase. The full article - https://www.viva64.com/en/b/0536/?utm_source=youtube&utm_medium=video_article&utm_campaign=rosegarden We considered such errors as: • Unreachable code • Incorrect type conversion • Invalid iterators • Null pointers • and so on ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 57 PVS-Studio
Checking the Source Code of MSBuild with PVS-Studio
 
01:07
Today the Microsoft Build Engine project will be analyzed. A short better known name is MSBuild. It is a platform for build applications automating from Microsoft. MSBuild is typically used together with Microsoft Visual Studio, however, it does not depend on it. In total, 262 warnings were issued by the analyzer, but we’ll go through only the warnings of high and medium levels of certainty. The full article - https://www.viva64.com/en/b/0424/?utm_source=youtube&utm_medium=video_article&utm_campaign=msbuild ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 39 PVS-Studio
How to find bugs in C/C++/С# software by using tool static code analysis
 
01:13
PVS-Studio is a tool for bug detection in the source code of programs, written in C, C++, C# and works under Windows and Linux. It is possible to integrate it into Visuial Studio and other widespread IDE. We regularly check various open-source projects (Tizen OS, Linux kernel, Chromium, Unreal Engine 4, CryEngine V, Mono, Qt and others) with PVS-Studio and send analysis results to developers and usually describe them in our posts as well. Besides, we add them into our bug database - https://www.viva64.com/en/examples/?utm_source=youtube&utm_medium=video_60s&utm_campaign=article_bugs You may download and try the tool by this link: https://www.viva64.com/en/pvs-studio-download/?utm_source=youtube&utm_medium=video_60s&utm_campaign=article_download ----------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 19792 PVS-Studio
Halloween and the Pumpkin buster
 
01:08
On the day of the creepiest holiday, PVS-Studio is fighting bugs using the most dangerous method. DANGEROUS! DO NOT REPEAT! p.s. No one was harmed in the making of this film, except the pumpkins. Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 249 PVS-Studio
Brief facts about PVS-Studio static code analyzer for C, C++ and C#
 
01:41
A short video, describing main features of PVS-Studio static code analyzer. Download PVS-Studio for Windows: https://www.viva64.com/en/pvs-studio-download/?win Download PVS-Studio for Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Website: http://www.viva64.com/ Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 673 PVS-Studio
Review of Music Software Code Defects. Part 1. MuseScore
 
00:53
The program ‘MuseScore’ that was analyzed is the editor of music scores. MuseScore allows to quickly enter notes both with the computer keyboard and with an external MIDI keyboard. The full article - https://www.viva64.com/en/b/0530/?utm_source=youtube&utm_medium=video_article&utm_campaign=musescore We considered such errors as: • Problems with array indexing • Memory leak • Initialization errors • Unreachable code • Invalid pointers • and so on ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 238 PVS-Studio
How to use PVS-Studio for Free
 
00:54
We would like to help the software world improve the quality of the code, and increase the familiarity of static analysis tools. We are giving the opportunity to use PVS-Studio static code analyzer for free, for educational purposes, so that individual developers and enthusiastic teams could also fully use it. The full article - https://www.viva64.com/en/b/0457/?utm_source=youtube&utm_medium=video_article&utm_campaign=pvs_free ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 325 PVS-Studio
Difference between %p and %x
 
00:35
Functions belonging to the printf function family have the type specifiers "%p" and "%x". Sometimes developers don’t distinguish these two specifiers and use them interchangeably. This is incorrect when we speak about 64-bit systems. Let’s discuss this topic in more detail. The full article - https://www.viva64.com/en/k/0019/?utm_source=youtube&utm_medium=video_article&utm_campaign=printf ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 144 PVS-Studio
Null Pointer Dereferencing Causes Undefined Behavior
 
01:02
It all started with an article on checking Linux kernel with PVS-Studio. A stormy reaction was caused by the comment of Andrey Karpov who gave the following fragment from the Linux code and described that code as dangerous, because he thought that the undefined behavior took place here. The full article - https://www.viva64.com/en/b/0306/?utm_source=youtube&utm_medium=video_article&utm_campaign=null_pointer ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 162 PVS-Studio
Вебинар для СПБГЭУ
 
29:12
Что же такое code review и статический анализ? Чем отличаются специализированные инструменты статического анализа от предупреждений компилятора? Каковы возможности анализатора и компилятора при диагностировании ошибочных мест? Об этом вы узнаете в этом видео. Загрузить PVS-Studio для Windows: https://www.viva64.com/en/pvs-studio-download/?win Загрузить PVS-Studio для Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 91 PVS-Studio
Precompiled headers in MSVC: StdAfx.h
 
00:51
This article is meant for those developers who are only getting started with the Visual Studio environment, and trying to compile their C++ projects under it. Everything might look strange and complicated in an unfamiliar environment, and novices are especially irritated by the stdafx.h file that causes strange errors during compilation. The full article - https://www.viva64.com/en/b/0265/?utm_source=youtube&utm_medium=video_article&utm_campaign=stdafx ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 2425 PVS-Studio
Linux news: release of PVS-Studio for Linux!
 
01:06
Part 1- https://youtu.be/m7_xqta_rkE After the victory over a evil bug, PVS-Studio unicorns and Linux penguin decided to celebrate the victory with the programmers. One bug is defeated, but how many of them are still there in the programming code? This video is about friendship, love and faithfulness between Linux and PVS-Studio, who can make the world a better place by eliminating bugs and helping programmers in their unremitting toil. More information here: http://www.viva64.com/en/m/0036/?utm_source=youtube&utm_medium=video_linux_news2&utm_campaign=article_linux_how_to_run Download PVS-Studio for Linux: https://www.viva64.com/en/pvs-studio-download-linux/?lnx Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 1008 PVS-Studio
PVS-Studio plugin for SonarQube
 
02:39
PVS-Studio is a tool for bug detection in the source code of programs, written in C, C++ and C#. It works in Windows and Linux environment. SonarQube is an open source platform, designed for continuous analysis and measurement of code quality. More than a year PVS-Studio has a plugin for the integrating the results of the work in SonarQube. Thanks to it, the abilities of detection critical errors in C/C++/C# can be expanded by the functionality of the quality monitoring. PVS-Studio and SonarQube greatly complement each other, allowing building a powerful factory to bring the program code to the ideal state. Short description: PVS-Studio as a plugin for SonarQube - https://www.viva64.com/en/b/0513/?utm_source=youtube&utm_medium=video_sonarqube&utm_campaign=article_short_description_sonarqube Documentation: Integration of PVS-Studio analysis results into SonarQube - https://www.viva64.com/en/m/0037/?utm_source=youtube&utm_medium=video_sonarqube&utm_campaign=article_documentation_sonarqube Video-presentation on PVS-Studio integration with SonarQube: Adopting PVS-Studio in a large project. Part 2 - https://youtu.be/ZfYQMUISOIA ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 1569 PVS-Studio
Mannequin Challenge for programmers
 
00:24
Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 711 PVS-Studio
The Ultimate Question of Programming, Refactoring, and Everything
 
01:00
In this article you will find 42 recommendations on programming that can help a developer to avoid a lot of errors, save time and efforts. The author is Andrey Karpov - technical director of “Program Verification Systems”, a team of developers, working on PVS-Studio static code analyzer. Every recommendation is given with a practical example, which proves the currentness of the raised question. These tips are intended for C/C++ programmers, but usually they are universal and could be of interest for developers who are using other languages. The full article - https://www.viva64.com/en/b/0391/?utm_source=youtube&utm_medium=video_article&utm_campaign=42_recommendations ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 151 PVS-Studio
Checking the Notepad++: five years later
 
00:56
It’s been 5 years since the previous check of the Notepad ++ project. During this period of time the analyzer was significantly improved: about 190 new diagnostics were added and the old ones got refined. The full article - https://www.viva64.com/en/b/0511/?utm_source=youtube&utm_medium=video_article&utm_campaign=notepad However, at this time we won’t show lots of errors. Notepad++ is quite a small project that has only 123 files with the source code. Nevertheless, there are still errors that are worth fixing. ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 26 PVS-Studio
Using IncrediBuild to Assist Analysis of a Large Project by PVS-Studio
 
00:50
Like a compiler, the analyzer parses the project source files one by one. However, without the help of auxiliary tools, some projects may take several hours to build and even longer to analyze. When building large projects, some developers use the distributed build technology implemented in the IncrediBuild tool. The full article - https://www.viva64.com/en/b/0339/?utm_source=youtube&utm_medium=video_article&utm_campaign=incredibuild ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 20 PVS-Studio
Review of Music Software Code Defects. Part 2. Audacity
 
00:51
We analyzed the Audacity program, which is a free multi-platform audio file editor that focuses on working with multiple tracks. The full article - https://www.viva64.com/en/b/0532/?utm_source=youtube&utm_medium=video_article&utm_campaign=audacity We considered such errors as: • failing Copy-Paste • incorrect work with unique_ptr • Unreachable code • Undefined behavior • and so on ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 48 PVS-Studio
Undefined behavior is closer than you think
 
00:54
Some people think that undefined behavior is caused only by gross errors, for instance accessing outside the bounds of the array, or inadequate constructions. For instance, such tricks with the increment. That’s why it is quite surprising when a programmer sees undefined behavior in the code that used to work correctly, without arousing any suspicion. The full article - https://www.viva64.com/en/b/0374/?utm_source=youtube&utm_medium=video_article&utm_campaign=undefined_behavior ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 23 PVS-Studio
Headache from using mathematical software
 
00:56
We analyzed the Scilab project, which is a package of mathematical applied programs for engineering and scientific calculations. The full article - https://www.viva64.com/en/b/0515/?utm_source=youtube&utm_medium=video_article&utm_campaign=math We will review such errors as: • Typos • Null pointers • Memory leaks • Undefined behavior • and so on ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 24 PVS-Studio
The most dangerous function in the C/C++ world
 
00:45
Having checked various C/C++ projects over a number of years, Andrey Karpov declares: memset() is the most insecure and dangerous function. Most errors are related to the usage of memset function, in comparison to the use of other functions. The full article - https://www.viva64.com/en/b/0360/?utm_source=youtube&utm_medium=video_article&utm_campaign=memset ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 268 PVS-Studio
PVS-Studio for Visual C++
 
00:59
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. Andrey Karpov 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. The full article - https://www.viva64.com/en/b/0305/?utm_source=youtube&utm_medium=video_article&utm_campaign=visual_cpp ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 68 PVS-Studio
Finding bugs in the code of LLVM project with the help of PVS-Studio
 
01:02
LLVM is a universal system of analysis, transformation and optimization of programs. Would you like to find out which bugs PVS-Studio has found in this project? The full article - https://www.viva64.com/en/b/0446/?utm_source=youtube&utm_medium=video_article&utm_campaign=llvm As we think you’ve already guessed, the analyzer has detected the same ones as in other projects: • Returns a reference to a local object • Repeated assignment • Typos • Confusion between the release and reset • Redundant conditions • and so on ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 14 PVS-Studio
Checking the Source Code of FlashDevelop with PVS-Studio
 
01:01
We analyzed a program named FlashDevelop. It is a development environment for Flash applications, which includes the functionality of a modern code editor. This program is written in C#. The full article - https://www.viva64.com/en/b/0412/?utm_source=youtube&utm_medium=video_article&utm_campaign=flashdevelop We will review such errors as: • Unconditional loop termination • Using an instance before checking it for null • Unsafe call to an event handler • Typos • Redundant conditions • and so on ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 30 PVS-Studio
If the coding bug is banal, it doesn't mean it's not crucial
 
00:52
We decided to write a series of articles, whose target audience is project managers. These articles will help to better understand the use of static code analysis methodology. Today we are going to consider a false postulate: "coding errors are insignificant". The full article - https://www.viva64.com/en/b/0499/?utm_source=youtube&utm_medium=video_article&utm_campaign=project_managers ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 46 PVS-Studio
Finding Bugs in C/C++/C# by PVS-Studio Static Code Analyzer
 
00:07
Every programmer, regardless of his level and experience, makes mistakes when writing code. The main objective is to find and eliminate them as soon as possible. So how to find a bug in code? Different tools for bug detection in the source code of programs come to aid. One of them is PVS-Studio static code analyzer. PVS-Studio Analyzer finds errors and weaknesses in programs written in C, C++, and C#. It can be run on Windows and Linux, integrate into build systems, various IDE systems and continuous integration systems. PVS-Studio team found for more than 12 000 bugs in various projects, among which there are many well-known projects, for example: Unreal Engine, Tizen, Unity 3D, CryEngine 5, Open JDK, Linux kernel, FreeBSD, QT, Mono and many others - https://www.viva64.com/en/inspections/?utm_source=youtube&utm_medium=video_6s&utm_campaign=article_inspections The best way to see the benefits from the usage of the analyzer is to run it on your own project. You can download and try both versions of the product on the official site - https://www.viva64.com/en/pvs-studio-download/?utm_source=youtube&utm_medium=video_6s&utm_campaign=article_download ----------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 321 PVS-Studio
Handing out PVS-Studio Analyzer Licenses to Security Experts
 
00:40
We have suddenly realized that there are opportunities for mutually beneficial cooperation between us and information security experts. Those experts who specialize in search of vulnerabilities in software code can use PVS-Studio analyzer for free in their research. The full article - https://www.viva64.com/en/b/0510/?utm_source=youtube&utm_medium=video_article&utm_campaign=security_experts ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 16 PVS-Studio
Characteristics of PVS-Studio Analyzer by the Example of EFL Core Libraries
 
00:55
After I wrote quite a big article about the analysis of the Tizen OS code, we received a large number of questions concerning the percentage of false positives and the density of errors. Therefore, we decided to provide specific figures by doing a more thorough investigation of one of the projects of the Tizen OS. The experiment was performed with the code of Core EFL Libraries. Here is the result: after configuring, PVS-Studio issues 10-15% false positives. The full article - https://www.viva64.com/en/b/0523/?utm_source=youtube&utm_medium=video_article&utm_campaign=evf_core_libraries ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 17 PVS-Studio
Mathematicians: Trust, but Verify
 
00:50
Looking at the hundreds of bugs in code, we’re wondering how the program generally works. This article is about the check of the math library Scilab code. By reading this and other articles written by us, you will get acquainted with the methodology of static code analysis, learn about diverse patterns of errors in code and the ways how to avoid them. The full article - https://www.viva64.com/en/b/0244/?utm_source=youtube&utm_medium=video_article&utm_campaign=mathematicians ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 17 PVS-Studio
Searching for bugs in Mono: there are hundreds of them!
 
01:01
The analyzed Mono project represents the implementation of .NET Framework system based on free software. We will review such errors as: · Using a counter of a different loop · A check of the wrong null reference · Access by null reference · Code formatting that doesn’t comply with the program logic · Incorrect initialization of static members · and so on The full article - https://www.viva64.com/en/b/0431/?utm_source=youtube&utm_medium=video_article&utm_campaign=top_10_csharp ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 13 PVS-Studio
The way static analyzers fight against false positives, and why they do it
 
01:46
In our previous video we wrote that we did't like the approach, when the efficiency of static analyzers is evaluated with the help of synthetic tests. In that article, there was an example of a code fragment that the analyzer treats as a special case and deliberately doesn't issue a warning for it. The full article - https://www.viva64.com/en/b/0488/?utm_source=youtube&utm_medium=video_article&utm_campaign=false_positives ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 13 PVS-Studio
Free PVS-Studio licenses for MVPs
 
00:31
If you are an MVP, just write a letter to our mail [email protected] with the word "MVP" in the letter's heading and also specify your full name. The license allows you to use PVS-Studio for 12 months without any restrictions, including the use for commercial purposes. The full article - https://www.viva64.com/en/n/0089/?utm_source=youtube&utm_medium=video_article&utm_campaign=mvp ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 17 PVS-Studio
Typos in Miranda IM
 
01:02
This article is about common errors which happen due to typos, using Miranda IM as a case in point. Many of these errors can lead to incorrect program behavior; some of them don't do much harm, but they lead to worsened readability of code. The full article - https://www.viva64.com/en/b/0401/?utm_source=youtube&utm_medium=video_article&utm_campaign=miranda ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/siprover
Views: 14 PVS-Studio
Tizen: Summing Up
 
00:46
Our team wrote several articles related to the analysis of code of Tizen operating system. Let’s sum up the results of the work done and answer the number of questions, asked in comments to the previous articles. Content: · The accomplished work · Everything must be rewritten in Rust · 3.3% is a very small sample · It's not as bad as you claim · The article does not specify the percentage of false positives · Enough -Wall-Wextra-Werror · Not all warnings are real errors The full article - https://www.viva64.com/en/b/0522/?utm_source=youtube&utm_medium=video_article&utm_campaign=tizen ---------------------------------------------------------------------------------------------- Facebook: https://www.facebook.com/StaticCodeAnalyzer Twitter: https://twitter.com/Code_Analysis Instagram: https://www.instagram.com/pvsstudio Vk: https://vk.com/pvsstudio_rus
Views: 41 PVS-Studio