引用本文:张兴,冯超,雷菁,唐朝京.一种面向模糊测试的GUI程序空转状态实时检测方法.软件学报,2018,29(5):1288-1302
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4626次   下载 10342 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种面向模糊测试的GUI程序空转状态实时检测方法
张兴, 冯超, 雷菁, 唐朝京
国防科技大学 电子科学学院, 湖南 长沙 410073
摘要:
针对当前Windows下GUI软件模糊测试过程中,由于进入空转状态时刻判断不准确导致的测试效率降低的问题,利用自然语言处理的方法在函数执行迹的基础上来解决空转状态识别问题.首先分析了传统程序分析方法在空转状态判断上遇到的困难,提出了基于Bi-Gram模型以及统计分析的空转状态识别方法.通过Bi-Gram算法,将程序函数执行迹转换为概率特征序列;利用空转状态在特征序列中的方差特征,将空转状态特征序列从程序特征序列中分离,在此基础上,进一步提取空转状态特征并实现空转状态实时检测算法.通过对典型源码与二进制软件程序的实验测试表明,该方法在效率和准确性上优于传统方法,能够支撑对GUI程序模糊测试的需求.
关键词:  模糊测试  Bi-Gram模型  GUI程序测试  空转状态测试
DOI:10.13328/j.cnki.jos.005493
分类号:
基金项目:国家自然科学基金(61602502);国家重点研发计划(2016QY07X1500)
Real Time Idle State Decection Method in Fuzzing Test in GUI Program
ZHANG Xing, FENG Chao, LEI Jing, TANG Chao-Jing
School of Electronic Science and Technology, National University of Defense Technology, Changsha 410073, China
Abstract:
GUI program's idle state usually causes low efficiency of fuzzing test.This paper tries to solve idle state detecting problem based on function trace by nature language processing method.It first analyzes the difficulties that traditional program analysis method faces in idle state detection,and then proposes an idle state detecting method based on Bi-Gram module and statistical analysis.Bi-Gram algorithm transforms the function trace of the GUI program to probabilistic characteristics sequence,then segregates the idle state probabilistic characteristics sequence from prgram's probabilistic characteristics by variance characteristics in idle state probabilistic characteristics sequence.The algoritnm finally extracts idle state features which applied to the real-time idle state detecting algorithm.Experiments of source code and binary program show that the new method is more efficient and accurate than traditional method.
Key words:  fuzzing test  Bi-Gram module  GUI program testing  idle state detection

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: