期刊文献+

基于过程间动态符号执行的C语言测试框架 被引量:3

C testing framework study based on inter-procedural dynamic symbolic execution
下载PDF
导出
摘要 针对C语言白盒测试用例自动生成问题,提出一套基于过程间的动态符号执行框架,建立基于Def-Use链和函数执行树的模型。以函数为单位进行约束收集,解决函数调用中实参和形参的符号统一问题;对过程间动态符号执行的SMART(systematic modular automated random testing)算法进行改进,利用其计算和使用函数摘要,提高动态符号执行的效率和可行性。该方案为C语言过程间测试自动化工具的实现提供了详细的解决方案。 Aiming at the automatic test case generation problem for the C white-box testing, a framework of the dynamic symbolic execution based on the inter-procedural analysis was presented. A model based on the Def-Use chain and the function execution tree was constructed. Constraints were collected by the function and the symbols of arguments and parameters in the function call were unified. An improved DSE-based SMART algorithm for computing using the function summary was designed to make the dynamic symbolic execution efficient and scalable. A detailed solution is provided for the realization of the automatic test case generation tool on the C inter-procedural testing.
出处 《计算机工程与设计》 CSCD 北大核心 2014年第8期2746-2751,共6页 Computer Engineering and Design
基金 国家自然科学基金项目(91118007) 国防科工局"航天器产品软件安全性评价体系及关键技术研究"基金项目
关键词 过程间测试 测试用例 自动生成 动态符号执行 SMART(系统模块化自动随机测试算法) inter-procedural testing test case automated generation dynamic symbolic execution SMART (systematic modular automated random testing)
  • 相关文献

参考文献12

  • 1Godefroid P, Klarlund N, Sen K. Dart:Drected automated random testing [C] //Proceedings of the 5th International Hai- fa Verification Conference on Hardware and Software: Verifica- tion and Testing, 2009.
  • 2Cadar C, Dunbar D, Engler D. Klee; Unassisted and auto- matic generation of high-coverage tests for complex systems pro- grams [C] //Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation, 2008: 209 -224.
  • 3Tillmann N, Halleux J De. Pex: White box test generation fornet [C] //Proceedings of the 2nd International Conference on Tests and Proofs, 2008: 134-153.
  • 4Person S, Yang G, Rungta N, et al. Directed incremental symbolic execution [C] //Proceedings of the 32nd ACM SIGP- LAN Conference on Programming Language Design and Imple- mentation, 2011: 504- 515.
  • 5Cadar C, Godefroid P, Khurshid S, et al. Symbolic execution for software testing in practice: Preliminary assessment [C]//New York: Proceedings of the 33rd International Con- ference on Software Engineering, 2011: 1066-1071.
  • 6Xu Guoqing, Rountev A. AJANA: A general framework for source-code-level inter procedural dataflow analysis of aspect software [C] //Proceedings of the 7th International Confe- rence on Aspect-Oriented Software Development, 2008: 36-47.
  • 7Godefroid P. Compositional dynamic test generation [J]. ACM SIGPLAN Notices, 2007, 42 (1): 47-54.
  • 8Yu Xiao, Sun Shuai, Pu Geguang, et al. A parallel approach to eoncolic testing with low-cost synchronization [C] //Proc the 4th International Wokshop on Harnessing Theories for Tool Support in Software, 2010: 83-96.
  • 9Wang Zheng, Yu Xiao, Sun Tao, et al. Test data generation for derived types in C program [C] //Proc the 3rd IEEE Inter national Symposium on Theoretical Aspects of Software Engi- neering, 2009: 155-162.
  • 10Moura L de, Bjorner N. Z3: An efficient SMT solver [C] //Proceedings of Tools and Algorithms for the Construc- tion and Analysis of Systems, 2008: 337- 340.

同被引文献31

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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