On the Compilation of Programs into their Equivalent Constraint Representation

被引:0
|
作者
Wotawa, Franz [1 ]
Nica, Mihai [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, Inffeldgasse 16b-2, A-8010 Graz, Austria
来源
基金
奥地利科学基金会;
关键词
constraint satisfaction problems; hyper-graph decomposition; debugging;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we introduce the basic methodology for analyzing and debugging programs. We first convert programs into their loop-free equivalents and from this into the static single assignment form. From the static single assignment form we derive a corresponding constraint satisfaction problem. The constraint representation can be directly used for debugging. From the corresponding hyper-tree representation of the constraint satisfaction problem we compute the hyper-tree width which characterizes the complexity of finding a solution for the constraint satisfaction problem. Since constraint satisfaction can be effectively used for diagnosis the conversion can be used for debugging and the obtained hyper-tree width is an indi-cator of the debugging complexity.
引用
收藏
页码:359 / 371
页数:13
相关论文
共 50 条