期刊文献+

基于动态协同双向映射的相似执行路径生成方法 被引量:1

A Technique of Similar Execution Paths Generation Based on Dynamic Synergy Bidirectional Mapping
在线阅读 下载PDF
导出
摘要 相似执行路径的生成是代码分析和检测的基础性工作之一,现有的方法通常以程序的行为序列或结构为分析对象,通过改变关键谓词的取值等方法来进行分析,但由于缺乏必要的引导信息导致生成的相似路径的有效性较低,另外由于路径的谓词集合较长而难以求解也降低了分析的精度.提出基于动态协同双向映射的分析方法,通过对程序控制流图的表示形式进行扩展,结合后向符号分析的方法生成候选路径的最弱前置条件,并以此为引导信息使用编辑距离的方法通过改变距离因子的取值来生成有针对性的相似路径集合.实验结果表明,与现有的方法相比,该方法的准确性和效率有明显的优势. Similar execution paths generation is one of the fundamental tasks in code analysis and detection. The current methods usually target to the program behavior or program structure,and change the value of key predicates,but these methods has a low effectiveness due to the lack of the necessary guidance information,Meanwhile,the predicates set has a large size and usually hard to solve,thus it will reduce the analyze precision as well. A technique of similar execution paths generation based on dynamic synergy bidirectional mapping is proposed in this paper. According to extend the shape of Control Flow Graph and use the backward symbolic analysis,the weakest precondition of the candidate path is generated,which can be used as the guidance information to generate pointed similar execution paths set according to the edit distance via changing the distance factor.The experimental results show that this method has the advantage of precision and anti-inference.
作者 郭曦 王盼
出处 《电子学报》 EI CAS CSCD 北大核心 2014年第11期2168-2173,共6页 Acta Electronica Sinica
基金 国家自然科学基金(No.61103220 No.91118003) 湖北省自然科学基金(No.2014CFB144) 中央高校基本科研业务费专项资金(No.0900206154) 武汉大学搏士短期出国(境)研修专项经费
关键词 静态分析 控制流图 最弱前置条件 相似执行路径 static analysis control flow graph weakest precondition similar execution path
  • 相关文献

参考文献16

  • 1张健.精确的程序静态分析[J].计算机学报,2008,31(9):1549-1553. 被引量:36
  • 2King J. Symbolic execution and program testing[ J]. Commurli- cations of the ACM, 1976,19(7) : 385 - 394.
  • 3Dijstra E. A discipline of programming[ R]. Englewood Cliffs: Prentice Hall, 1976.
  • 4单锦辉,王戟,齐治昌.面向路径的测试数据自动生成方法述评[J].电子学报,2004,32(1):109-113. 被引量:46
  • 5Miller W, Spooner D L. Automatic generation of floating point test data[ J]. IEEE Trans on Software Engineering, 1976,2(3) : 223 - 226.
  • 6Korel B. Automated software test data generation [ J ]. IEEE, Tram on Software Engineering, 1990,16(8) :870 - 879.
  • 7Gupta N, et al. Automated test data generation using an iterative relaxation method [ A ]. Proceedings of the ACM SIGSOFF Sixth Int. Symposium on the Foundations of Software Engineer- ing[ C ]. Orlando, Florida, USA, 1998.231 - 244.
  • 8张岩,巩敦卫.基于搜索空间自动缩减的路径覆盖测试数据进化生成[J].电子学报,2012,40(5):1011-1016. 被引量:20
  • 9Zhongxian G, Earl T, David J. Has the bug really been fixed [ A] .Proceedings of the 32nd Conference on International Con- ference on Software Engineering( ICSE 2010)[C]. Cape Town, South Africa, 2010: 55 - 64.
  • 10He H, Gupta N. Automated debugging using path-based weak- est preconditions[ A]. Proceedings of the 7th Fundamental Ap- proaches to Software Engineering(FASE 2004) [ C]. Barcelon- a, Spain, 2004: 267 - 280.

二级参考文献33

  • 1邱晓康,李宣东.一个面向路径的软件测试辅助工具[J].电子学报,2004,32(F12):231-234. 被引量:13
  • 2汪黎,杨学军,王戟,罗宇.操作系统内核程序函数执行上下文的自动检验[J].软件学报,2007,18(4):1056-1067. 被引量:5
  • 3Ahmed M A, Hermadi I. GA-based multiple paths test data generator[ J ]. Computers and Operations Research, 2008, 35 (10) :3107 - 3124.
  • 4Bueno P M S, Jino M. Automatic test data generation for pro- gram paths using genetic algorithms[ J]. International Journal of Software Engineering and Knowledge Engineering, 2002, 12 (6) :691 - 709.
  • 5Lin J, Yeh P. Automatic test data generation for path testing us- ing GAs[ J] .Information Sciences, 2001,131 (1-4) :47 - 64.
  • 6Korel B. Automated software test data generation [ J ]. IEEE Transaction on Software Engineering, 1990,16(8) : 870 - 879.
  • 7Offutt J, Jin Z, Pan J. The dynamic domain reduction procedure for test data generation[ J] .Software Practice and Experience, 1999,29(2) :167 - 193.
  • 8Harman M, McMinn P, Wegener J. The impact of input domain reduction on search-based test data generation[ A]. Proceedings of the ACM SIGSOFT Symposium on the Foundations of Soft- ware Engineering [ C ]. New York: ACM Press, 2007. 155 - 164.
  • 9Harman M, Islam F, Xie T, Wappler S. Automated test data generation for aspect-oriented programs [ A ]. Proceedings of the 8th International Conference on Aspect-Oriented Software Development[ C] .New York: ACM Press,2009. 185 - 196.
  • 10Ribeiro J C B, Zenha-Rela M A, Fern&tdez de Vega F. Test case evaluation and input domain reduction strategies for the evolutionary testing of object-oriented software [J]. Informa- tion and Software Technology,2009,51( 11 ) : 1534 - 1548.

共引文献94

同被引文献4

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部