Cross-Procedural Control Flow Analysis
summary
Explains how to implement cross‑procedural control‑flow and data‑flow analysis for C# code analyzers (ReSharper, Roslyn or custom). Describes ReSharper’s data‑flow algorithm, the impact of C#7 local functions, and an API‑agnostic, iterative algorithm for collecting cross‑procedure data with time/memory complexity estimates and examples of using the resulting model beyond the initial scenario.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 10:37What is data flow analysis
- 18:20Cross-procedural analysis problems
- 27:53Local functions and calls
- 37:53Whole-program application
- 46:27Summary
related talks
22mA Type- And Control- Flow Analysis for System FC (Extended Abstract)
01h 01mCode Analysis++
01h 01mBuilding Code Analyzers with the new C# compiler platform (Roslyn)
16mBeyond Relooper: Recursive Translation of Unstructured Control Flow to Structu…
50mAnalyzing Code in .NET
01h 00mC# Language Internals
01h 08mAnalyzing source code using Roslyn
50mImproving Source Code with Roslyn
