Loading…
CppCon 2019 has ended
Wednesday, September 18 • 14:00 - 15:00
Lifetime analysis for everyone

Log in to save this to your schedule and see who's attending!

Object lifetimes are a common source of bugs in C++ that can cause crashes or other unexpected behavior. Fortunately, we now have tools to help us find issues before they can manifest. Guided by Herb Sutter's paper on lifetime analysis, the Clang community has implemented new lifetime warnings which work on single statements. These warnings are only a subset of what is described in the paper, but they have no false positives and still catch important problems in your code. During this talk we will introduce you to the basic principles of the new warnings, share their results on open source projects, and show you tips and tricks on how to get the most out of these diagnostics both for library and application code authors. Spoiler alert: these warnings found bugs in very popular projects!

Speakers
avatar for Gábor Horváth

Gábor Horváth

PhD Student, Eötvös Loránd University
Gabor started a Ph.D. in 2016. He is a contributor to research projects related to static analysis since 2012. He is a clang contributor, participated in Google Summer of Code twice as a student and twice as a mentor, interned for Apple and Microsoft. He teaches C++ and compiler construction... Read More →
avatar for Matthias Gehre

Matthias Gehre

Senior Software Architect, Silexica GmbH
Matthias co-maintains the Clang-based implementation of Herb Sutter’s lifetime checks, available online at https://github.com/mgehre/llvm-project and godbolt.org. He is currently working as a Senior Software Architect at Silexica. With its headquarters in Germany and offices in... Read More →


Wednesday September 18, 2019 14:00 - 15:00
Aurora D

Attendees (280)




Twitter Feed