Everything About ___
Live briefing

Everything about Control-flow graph

Graphical representation of a computer program or algorithm

In computer science, a control-flow graph (CFG) is a representation, using graph notation, of all paths that might be traversed through a function during its execution, or control flow. The control-flow graph was conceived by Frances E. Allen, who noted that Reese T. Prosser used boolean connectivity matrices for flow analysis before. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Control-flow graphA 5-minute orientation
  2. Skim a recent paper: Short-term OD flow prediction for urban rail transit control: A multi-graph spatiotemporal fusion approachInfluential work since 2022
  3. Pick up a classic book: Fundamentals of Computer Programming with CSharp Free Book (by Nakov & Co.)The most-reprinted book on the subject
  4. Read the landmark paper: Control Flow Graph Embedding Based on Multi-Instance Decomposition for Bug LocalizationCited 43 times
  5. Go sideways: Single-entry single-exitA closely related topic
  6. Go sideways: Data-flow analysisA closely related topic

📖 Definitions

Noun A representation, using graph notation, of all paths that might be traversed through a program during its execution.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics