2026 EuroLLVM - Adding Nullability Checking and Annotations to Many Millions of Lines of Code @LLVMPROJ
2026 EuroLLVM - Adding Nullability Checking and Annotations to Many Millions of Lines of Code  @LLVMPROJ
Uploaded June 2026 | Updated November 2026, 1 week ago
2026 EuroLLVM Developers' Meeting
llvm.org/devmtg/2026-04
------
Title: Adding Nullability Checking and Annotations to Many Millions of Lines of Code
Speaker: Jan Voung
------
Slides: llvm.org/devmtg/2026-04/slides/technical_talk/technical_talk_voung.pdf
-----
At Google, our team has been working on reducing null pointer dereference crashes in a huge and diverse C++ codebase by: (a) adopting the Clang nullability annotations and (b) implementing a flow-sensitive intra-procedural dataflow analysis in ClangTidy that verifies that code adheres to the contracts of the annotations. However, to get the most coverage, we need to introduce the annotations to millions of lines of code. To assist with that, we've developed an inter-TU annotation inference tool, and added inferred annotations through a "large-scale change". This talk introduces how the ClangTidy verification and inference tools work, but also discusses the practical experience and the challenges we faced attempting to infer the annotations in "legacy" C++.
-----
Videos Edited by Bash Films: BashFilms.com
2026 EuroLLVM - Adding Nullability Checking and Annotations to Many Millions of Lines of Code2026 EuroLLVM - What Compiler Implementers and Language Designers Need to Know About Pointer Auth...2025 US LLVM Developers Meeting: LLM Schedule Primitive Generator with MLIR based Polyhedral Engine2025 AsiaLLVM - Toward a Practical Double-Fetch Checker for Clang Static Analyzer2025 EuroLLVM - How to reduce an llvm bug2025 EuroLLVM - Accidental Dataflow Analysis: Extending the RISC-V VL Optimizer2025 US LLVM Developers Meeting2026 EuroLLVM - clang-reforge: Automatic whole-codebase source code rewriting tool for security...2025 US LLVM Developers Meeting: Shared Representation across Languages2025 US LLVM Developers Meeting: Modular MAX’s JIT Graph Compiler2025 US LLVM Developers Meeting: Triton-San: Toward Precise Debugging of Triton Kernels2026 EuroLLVM - Object Size Reduction via shortening STRTAB entries
LLVM |

2026 EuroLLVM - Adding Nullability Checking and Annotations to Many Millions of Lines of Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER