Hypercritical C++ Code Review

Yuri Minaev

60 minute presentation
intermediate
beginner

C++ code is fraught with perils and pitfalls. That's why a thorough and meticulous code review is very important. The purpose of this talk is to (hopefully) improve your ability to take on such a task. We'll take a look at some error patterns easily overlooked. In all honesty, many people just don't know about them. Meet a dangerous emplace_back, an unexpected integer overflow, a skipped memset, perils of noexcept functions, and so on.

code review
as-if rule
best practices
object lifetime
undefined behaviour

Yuri Minaev

I'm a C++ developer at PVS-Studio. Currently, I'm working on the core features of the C++ static analyser made by the company.