首页> 外文期刊>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 inprogramming languages such as C. In this paper, wepropose a path-sensitive and context-sensitive approach thatperforms a backward dataflow analysis to identify nulldereferencebugs. One novel feature of our approach is thatwith the help of aliasing predicates, it can perform strongupdates in presence of aliasing, thus eliminating falsepositives. The aliasing predicates are introduced on thepremise of a canonical representation for program beinganalyzed. Moreover, a context-sensitive algorithm for interproceduralnull-dereference analysis is also presented in thispaper, which also contributes to improve accuracy. We haveimplemented this approach, and give an evaluation of it on aset of open source benchmarks. The experimental resultsverify the effectiveness of our approach, and show that it issuitable for exploring large real programs with reasonableaccuracy.
机译:空引用是在诸如C之类的编程语言中常见的错误。在本文中,我们提出了一种路径敏感和上下文敏感的方法,该方法执行反向数据流分析以识别空引用错误。我们的方法的一个新功能是借助别名谓词,它可以在存在别名的情况下执行强大的更新,从而消除假阳性。别名谓词是在要分析的程序的规范表示的前提下引入的。此外,本文还提出了一种上下文敏感的过程间空引用分析算法,这也有助于提高准确性。我们已经实现了这种方法,并根据一系列开源基准对其进行了评估。实验结果验证了我们方法的有效性,表明该方法适合于以合理的精度探索大型真实程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号