首页 | 本学科首页   官方微博 | 高级检索  
     

符号执行中的循环依赖分析方法
引用本文:刘杰,曹琰,魏强,彭建山.符号执行中的循环依赖分析方法[J].计算机工程,2012,38(22):24-27.
作者姓名:刘杰  曹琰  魏强  彭建山
作者单位:国家数字交换系统工程技术研究中心,郑州,450002
基金项目:国家"863"计划基金资助项目
摘    要:符号执行方法处理循环时存在路径爆炸的问题。为此,提出一种基于归纳变量的循环依赖分析方法。通过识别循环归纳变量及符号表达式,结合边界约束条件生成可达归纳变量分支的路径约束,并采用符号化映射方法分析嵌套循环归纳变量依赖问题,从而在不展开循环的情况下生成覆盖归纳变量分支的测试用例。对开源工具Libxml2进行实验,该方法能发现其中2个while循环所引发的数组访问越界错误。

关 键 词:符号执行  路径爆炸  归纳变量  循环依赖  约束求解  嵌套循环
收稿时间:2012-02-23
修稿时间:2012-03-21

Loop Dependence Analysis Method in Symbolic Execution
LIU Jie , CAO Yan , WEI Qiang , PENG Jian-shan.Loop Dependence Analysis Method in Symbolic Execution[J].Computer Engineering,2012,38(22):24-27.
Authors:LIU Jie  CAO Yan  WEI Qiang  PENG Jian-shan
Affiliation:(National Digital Switching System Engineering &; Technological R&;D Center, Zhengzhou 450002, China)
Abstract:Input-dependent loops can cause the problem of path explosion in symbolic execution, a method based on induction variable for analysis of loop dependence is proposed in this paper. By recognizing the loop induction variables and symbolic expressions, it is combined with the bound conditions to generate feasible path constraint for induction variable branches. Induction variable dependence of nested-loop is solved by symbolic affine analysis. It can generate test cases which can cover the branches of induction variables without loop unrolling. Test results show that by this method, two array access violations of the open source tools Libxml2 are found in while loops.
Keywords:symbolic execution  path explosion  induction variable  loop dependence  constraint solving  nested loop
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号