节点文献

基于SAT求解的面向对象程序类型分析

Object-oriented Program Type Analysis Based on SAT Solver

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 曹璟; 徐宝文;

【Author】 CAO Jing XU Bao-wen(Department of Computer Science & Engineering,Southeast University,Nanjing 210096,China)(Jiangsu Institute of Software Quality,Nanjing 210096,China)

【机构】 东南大学计算机科学与工程学院; 江苏软件质量研究所;

【摘要】 类型分析是面向对象程序分析中的重要环节,精确的类型分析能够提高其它程序分析的精度。由于传统精确分析方法固有的高复杂性,现有的类型分析大都使用粗糙的分析方法。提出了一种基于SAT求解的面向对象程序类型分析方法。该方法用命题逻辑表示类型在变量间的传递关系,将程序抽象成命题公式,并使用高效的SAT求解器求解,从而获得变量运行时的类型集合。该方法是流敏感的,并且具有良好的伸缩性,既可以进行快速但精度低的上下文不敏感分析,也可以进行较慢但精度高的上下文敏感分析。

【Abstract】 Type analysis plays an important role in object-oriented program analysis.Accurate type analysis will improve the precision of other program analyses.However,due to the inherent high complexity of traditional type analysis,people generally make rapid but coarse analyses.This paper presented a new type analysis method of object-oriented program based on SAT solver,in which we show transfer relationship among variables by the proposition logic method,abstract programs into proposition formulas and adopt highly effective SAT solver so that we can obtain variable run-time types through decoding the results.This method is flow-sensitive with good flexibility,that is to say,it can not only make rapid but rough context-insensitive analysis,but also comparatively slow but highly accurate context-sensitive one.

【基金】 国家杰出青年科学基金项目(60425206);国家自然科学基金与微软亚洲研究院联合资助项目(60633010);国家自然科学基金项目(60503033、60403016);江苏省自然科学基金项目(BK2005060);江苏省高技术研究项目(BG2005032)资助
  • 【文献出处】 计算机科学 ,Computer Science , 编辑部邮箱 ,2009年01期
  • 【分类号】TP311.11
  • 【被引频次】2
  • 【下载频次】123
节点文献中: 

本文链接的文献网络图示:

本文的引文网络