Loading…
View analytic
Wednesday, October 17 • 4:30pm - 5:00pm
Faster, Stronger C++ Analysis with the Clang Static Analyzer

Sign up or log in to save this to your schedule and see who's attending!

Over the last year we’ve made the Clang Static Analyzer faster and improved its C++ support. In this talk, we will describe how we have sped up the analyzer by changing the order in which it explores programs to bias it towards covering code that hasn’t been explored yet. In contrast with the previous exploration strategy, which was based on depth-first search, this coverage-guided approach gives shorter, more understandable bug reports and can find up to 20% more bugs on typical code bases. We will also explain how we’ve reduced C++ false positives by providing infrastructure in Clang’s control-flow graph to help the analyzer understand the myriad of ways in which C++ objects can be constructed, destructed, and have their lifetime extended. This infrastructure will also make it easier for the analyzer to support C++ as the language continues to evolve.


Wednesday October 17, 2018 4:30pm - 5:00pm
1 - General Session (Rm LL20ABC)

Attendees (48)