next up previous contents
Next: 3.3 The iterative worklist Up: 3. Data-flow analysis Previous: 3.1 Introduction

3.2 Building the control-flow graph (CFG)

The first phase of the analysis builds the CFG, from the abstract syntax tree (AST). The CFG represents the control flow in the program:

The CFG is extended to hold the information collected by the various analyses.



Diego
2000-05-17