filmov
tv
2023 EuroLLVM - Using the Clang data-flow framework for null-pointer analysis

Показать описание
2023 European LLVM Developers' Meeting
------
Using the Clang data-flow framework for null-pointer analysis
Speaker: Viktor Cseh
------
-----
In late 2021 a new data-flow analysis framework was introduced into the Clang analysis tooling, enabling reasoning about program states the symbolic execution engine of the Clang Static Analyzer had difficulty deducing. In this talk, we summarize our experience with the data-flow framework through the lens of implementing a Clang-Tidy checker using null-pointer analysis. We discuss various approaches we tested to encode pointer values within the framework, their performance and limitations, and best practices and common pitfalls we encountered while implementing checkers using the framework.
-----
------
Using the Clang data-flow framework for null-pointer analysis
Speaker: Viktor Cseh
------
-----
In late 2021 a new data-flow analysis framework was introduced into the Clang analysis tooling, enabling reasoning about program states the symbolic execution engine of the Clang Static Analyzer had difficulty deducing. In this talk, we summarize our experience with the data-flow framework through the lens of implementing a Clang-Tidy checker using null-pointer analysis. We discuss various approaches we tested to encode pointer values within the framework, their performance and limitations, and best practices and common pitfalls we encountered while implementing checkers using the framework.
-----