通信学报 ›› 2018, Vol. 39 ›› Issue (6): 81-88.doi: 10.11959/j.issn.1000-436x.2018094

• 学术论文 • 上一篇    下一篇

基于变量符号关联分析的程序状态优化方法

郭曦1(),王盼2   

  1. 1 华中农业大学信息学院,湖北 武汉 430070
    2 武汉电力职业技术学院电力工程系,湖北 武汉 430079
  • 修回日期:2018-04-02 出版日期:2018-06-01 发布日期:2018-07-09
  • 作者简介:郭曦(1983-),男,湖北鄂州人,博士,华中农业大学副教授、硕士生导师,主要研究方向为软件分析与测试、信息安全等。|王盼(1987-),女,河南济源人,博士,武汉电力职业技术学院讲师,主要研究方向为电力电子变换等。
  • 基金资助:
    国家自然科学基金资助项目(61502194);中央高校基本科研业务费专项基金资助项目(2662018JC028)

Program state optimal method based on variable symbolic relation analysis

Xi GUO1(),Pan WANG2   

  1. 1 College of Informatics,Huazhong Agriculture University,Wuhan 430070,China
    2 Department of Power Engineering,Wuhan Electric Power Technical College,Wuhan 430079,China
  • Revised:2018-04-02 Online:2018-06-01 Published:2018-07-09
  • Supported by:
    The National Natural Science Foundation of China(61502194);The Central University Basic Business Expenses Special Funding for Scientific Research Projects(2662018JC028)

摘要:

程序分析是主要的程序属性分析方法,在变量依赖关系、路径覆盖率、测试用例约简等方面有广泛的应用,并取得了大量研究成果。目前,程序分析主要以符号执行工具为核心,但是普遍存在路径条件逻辑表达式难以准确生成和约束求解器性能不够高的问题,从而影响程序分析的效果。以提高路径分析精度为目标,首先分析不同执行路径对应的路径条件,并提取公共的符号表达式以提高符号关联分析的精度,然后逆向生成依赖条件逻辑表达式集合,使用依赖关联分析算法以提高路径分析的精度。实验结果表明,所提方法相对于传统的路径分析方法,有更准确的时间复杂度和更高的路径分析精度。

关键词: 程序分析, 符号执行, 约束求解器, 符号分析

Abstract:

Program analysis is the prime method to program property analysis,which is widely used in the domain of parameter dependent relation,path coverage and test case generation,and a lot of progress has been made.Current program analysis is based on the method of symbolic execution,but symbolic execution is usually tackled with the problems of logic expression generation of path condition and low efficiency of constrain solver,which will affect the results of program analysis.Aiming at enhancing the path analysis efficiency,the path conditions of different paths were collected,the common symbolic expression was extracted and the efficiency of symbolic analysis was enhanced,then the logic expression set was generated,the dependent relation algorithm was used to enhance the efficiency of symbolic analysis.Experimental results demonstrate that the proposed method has the advantages of accurate time complexity and better analysis efficiency compare to traditional program analysis method.

Key words: program analysis, symbolic execution, constrain solver, symbolic analysis

中图分类号: 

No Suggested Reading articles found!