摘要
指针的动态性使得程序分析中一个指针变量往往被认为有多个可能的指向目标,构成多个指向关系。现有的依赖图构建方法虽然较全面地考虑了指针的多指向性,但并未考虑指向关系之间的可组合性,因此精度上仍存在许多不足。为此,提出了一种利用无效指向组合优化依赖图构建的方法,新方法可以排除现有方法所不能识别的伪依赖,从而有效地提高依赖图的构建精度。
The dynamic nature of pointers makes a pointer possibly points to many different locations in an execution in program analysis.The existing dependence graph construction algorithms have already taken these multiple points-to relations into consideration.However,they do not consider the combination of points-to relations.Many points-to relations are not combinable.Without excluding these invalid combinations,we may lose precision in dependence graph construction.To address the problem,this paper proposed an approach that uses the invalid combinations of points-to relations to optimize dependence graph construction.The approach can discard many false dependences which cannot be identified by the existing approaches,and thereby improve the precision of dependence graph construction.
出处
《计算机科学》
CSCD
北大核心
2013年第1期139-143,共5页
Computer Science
基金
国家自然科学基金(60903026)资助
关键词
依赖图
指针
组合
别名
程序切片
Dependence graph
Pointer
Combination
Alias
Program slicing