...
首页> 外文期刊>Journal of software >Detecting Null-dereference Bugs via a Backward Analysis
【24h】

Detecting Null-dereference Bugs via a Backward Analysis

机译:通过向后分析检测Null-dereference错误

获取原文
获取原文并翻译 | 示例

摘要

Null dereference is a common occurring bug in programming languages such as C. In this paper, we propose a path-sensitive and context-sensitive approach that performs a backward dataflow analysis to identify null-dereference bugs. One novel feature of our approach is that with the help of aliasing predicates, it can perform strong updates in presence of aliasing, thus eliminating false positives. The aliasing predicates are introduced on the premise of a canonical representation for program being analyzed. Moreover, a context-sensitive algorithm for inter-procedural null-dereference analysis is also presented in this paper, which also contributes to improve accuracy. We have implemented this approach, and give an evaluation of it on a set of open source benchmarks. The experimental results verify the effectiveness of our approach, and show that it is suitable for exploring large real programs with reasonable accuracy.
机译:空引用是C等编程语言中常见的错误。在本文中,我们提出了一种路径敏感和上下文敏感的方法,该方法执行反向数据流分析以识别空引用错误。我们的方法的一个新功能是借助别名谓词,它可以在存在别名的情况下执行强大的更新,从而消除误报。别名谓词是在要分析的程序的规范表示的前提下引入的。此外,本文还提出了一种用于过程间空引用分析的上下文相关算法,这也有助于提高准确性。我们已经实施了这种方法,并在一组开源基准上对其进行了评估。实验结果验证了我们方法的有效性,并表明它适合于以合理的精度探索大型真实程序。

著录项

  • 来源
    《Journal of software 》 |2013年第12期| 3120-3131| 共12页
  • 作者单位

    State Key Laboratory of Networking and Switching Tech, Beijing University of Posts and Telecommunications Beijing 100876, China;

    State Key Laboratory of Networking and Switching Tech, Beijing University of Posts and Telecommunications Beijing 100876, China;

    State Key Laboratory of Networking and Switching Tech, Beijing University of Posts and Telecommunications Beijing 100876, China;

    State Key Laboratory of Networking and Switching Tech, Beijing University of Posts and Telecommunications Beijing 100876, China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Null-dereference Analysis; Aliasing; Strong updates; Context-sensitive Inter-procedural Analysis;

    机译:空引用分析;别名;强大的更新;上下文相关的过程间分析;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号