首页 | 官方网站   微博 | 高级检索  
     

基于条件范围约束的越界访问检测方法
引用本文:夏一民,罗军,张民选.基于条件范围约束的越界访问检测方法[J].计算机研究与发展,2006,43(10):1760-1766.
作者姓名:夏一民  罗军  张民选
作者单位:国防科学技术大学计算机学院,长沙,410073
基金项目:国家高技术研究发展计划(863计划)
摘    要:程序执行时的越界访问将导致异常的行为,已有的越界检测方法存在效率低或精度不高的缺点.分两步检测程序中的越界访问语句:在约束产生阶段,提出一个流敏感、过程间的约束状态产生算法,为每条语句建立一个范围约束集合和值约束集合;在约束求解阶段,利用线性规划计算程序访问的内存大小和偏移量,报告可能的越界访问漏洞.实验表明,检测效率明显高于路径敏感的范围分析方法,而平均检测精度高于80%.

关 键 词:越界访问  静态分析  条件范围约束  线性规划  流敏感分析  可靠性  安全
收稿时间:07 26 2005 12:00AM
修稿时间:2005-07-262006-03-24

Detecting Out-of-Bounds Accesses with Conditional Range Constraint
Xia Yimin,Luo Jun,Zhang Minxuan.Detecting Out-of-Bounds Accesses with Conditional Range Constraint[J].Journal of Computer Research and Development,2006,43(10):1760-1766.
Authors:Xia Yimin  Luo Jun  Zhang Minxuan
Affiliation:School of Computer Science, National University of Defense Technology, Changsha 410073
Abstract:Out-of-bounds accesses can lead to nondeterministic behaviors. Proposed in this paper is a novel detection method based on conditional range constraint. It divides the detection process into two phrases: the constraint generation phase and the constraint resolution phase. In the phase of constraint generation,a flow-sensitive,inter-procedure algorithm is proposed to propagate range constraints and value constraints respectively. In the constraint resolution phase,a linear programming solver is used to determine the bounds of abstract memory locations and the offset. The experiment results show that the method proposed is effective,and its precision is higher than 80%.
Keywords:out-of-bounds access  static analysis  conditional range constraint  linear programming  flow sensitive analysis  reliability  security
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号