期刊文献+

面向源代码的导向Concolic测试方法研究 被引量:1

Directed Concolic testing method for source code
下载PDF
导出
摘要 对规模较大的程序进行安全测试过程中,Concolic测试常面临路径爆炸和求解能力不足等问题。为缓解此类问题,提出一种面向源代码的导向Concolic测试方法。针对容易产生缺陷的危险代码区域,依据控制流和数据流属性,采用回溯的方式推导出静态可达路径信息和必要的符号变量,实现仅针对危险代码区域的覆盖测试。实证研究结果表明,通过规避对不关心路径和符号变量的分析,所提方法显著提升了覆盖测试危险代码区域的效率和发现缺陷的概率。 In the process of safety testing in large-scale programs,Concolic tests often faced problems such as path explosion and lack of constraint solving ability.In order to alleviate these problems,this paper proposed a directed Concolic testing method for source code.Aiming at the danger code area prone to produce defects,the paths which could reach the critical code areas and the essential symbolic variables could be inferred based on backtracking control-flow and data-flow analysis.These information limited the dynamic testing only to cover the danger code area.The empirical results show that by ignoring analysis of the unconcerned paths and symbolic variables,the method significantly improves the test efficiency and the provability of finding defects.
作者 常超 刘克胜 赵军 Chang Chao;Liu Kesheng;Zhao Jun(Dept.of Doctoral Student,Electronics Engineering Institute,Hefei 230037,China;Dept.of Network,Electronics Engineering Institute,Hefei 230037,China)
出处 《计算机应用研究》 CSCD 北大核心 2018年第1期140-144,共5页 Application Research of Computers
基金 国家自然科学基金资助项目(61272491 61602491)
关键词 Concolic测试 缺陷检测 符号执行 代码插桩 约束求解 Concolic testing defect detection symbolic execution code instrumentation constraint solving
  • 相关文献

参考文献6

二级参考文献81

  • 1刘杰,徐伟俊,夏宇闻,秦冀龙.设计验证中的随机约束[J].中国集成电路,2006,15(11):28-31. 被引量:5
  • 2Brat G, Havelund K, Park S, et al. Model checking programs [C]//IEEE International Conference on Automated Software Engineering. March 2000:25-37.
  • 3Xie Y, Kiken A. Saturn: A SAT-based tool for bug detection[C]// Proceeding of the Conference on Computer-Aided Verification. 2005:13-18.
  • 4Feng X,Ni Z,Shao Z,et al. An open framework for foundational proof-carrying code[C] // Proceeding of ACM SIGPLAN International Workshop on Types in Language Design and Implementation. 2007 : 67-78.
  • 5King J C. Symbolic Execution and Program Testing[J].Communications of the ACM, 1976,19(7) : 385-394.
  • 6Zhang Jian. Symbolic execution of program paths involving pointer and structure variables[C]//4th International Conference on Quality Software(QSIC'04). 2004:87-92.
  • 7Xu Z,Zhang J. A test data generation tool for unit testing of C programs[C] // International Conference on Quality Software (QSIC'06). 2006 : 63-74.
  • 8Cadar C,Dunbar D,Engler D. KLEE: Unassisted and Automatic Generation of High coverage Tests for Complex Systems Programs[C]//USENIX Symposium on Operating Systems Design and Implementation (OSI)I 2008). San Diego, December 2008: 33-45.
  • 9Cadar C, Dunbar D. EXE: Automatically generating inputs of death[J]. ACM Transactions on Information and System Security, 2008,12(2) :26-43.
  • 10Necula G C, McPeak S , Rahul S, et al. CIL: Intermediate language and tools for analysis and transformation of C programs [C] /// International Conference on Compiler Construction. March 2002 :67-83.

共引文献37

同被引文献11

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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