首页    期刊浏览 2025年04月09日 星期三
登录注册

文章基本信息

  • 标题:Detecting Null-dereference Bugs via a Backward Analysis
  • 本地全文:下载
  • 作者:Wang, Qian ; Jin, Dahai ; Gong, Yunzhan
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2013
  • 卷号:8
  • 期号:12
  • 页码:3120-3131
  • DOI:10.4304/jsw.8.12.3120-3131
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要: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.
  • 关键词:Null-dereference Analysis; Aliasing; Strong updates; Context-sensitive Inter-procedural Analysis
国家哲学社会科学文献中心版权所有