Data Flow Analysis
Data Flow Analysis
复制标题
数据流分析
DOI:
10.1201/9781420040579.ch1
复制
发表时间:
2002
期刊:
影响因子:
0.6
通讯作者:
Uday P. Khedker
中科院分区:
文献类型:
--
作者:
Uday P. Khedker
In this chapter we introduce techniques for Data Flow Analysis. Data Flow Analysis is the traditional form of program analysis which is described in many textbooks on compiler writing. We will present analyses for the simple imperative language While that was introduced in Chapter 1. This includes a number of classical Data Flow Analyses: Available Expressions, Reaching Definitions, Very Busy Expressions and Live Variables. We introduce an operational semantics for While and demonstrate the correctness of the Live Variables Analysis. We then present the notion of Monotone Frameworks and show how the examples may be recast as such frameworks. We continue by presenting a worklist algorithm for solving flow equations and we study its termination and correctness properties. The chapter concludes with a presentation of some advanced topics, including Interprocedural Data Flow Analysis and Shape Analysis.