~/talk

Cross-Procedural Control Flow Analysis

TalkinRussianat DotNext 2019 Piter · 2019-05-15..05-16· [compilers-and-language-design, developer-experience]
slides:none on file

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

  1. 0:00Introduction
  2. 10:37What is data flow analysis
  3. 18:20Cross-procedural analysis problems
  4. 27:53Local functions and calls
  5. 37:53Whole-program application
  6. 46:27Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.