首页> 外文会议>ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering >Evaluating and tuning a static analysis to find null pointer bugs
【24h】

Evaluating and tuning a static analysis to find null pointer bugs

机译:评估和调整静态分析以找到空指针错误

获取原文

摘要

Using static analysis to detect memory access errors, such as null pointer dereferences, is not a new problem. However, much of the previous work has used rather sophisticated analysis techniques in order to detect such errors.In this paper we show that simple analysis techniques can be used to identify many such software defects, both in production code and in student code. In order to make our analysis both simple and effective, we use a non-standard analysis which is neither complete nor sound. However, we find that it is effective at finding an interesting class of software defects.We describe the basic analysis we perform, as well as the additional errors we can detect using techniques such as annotations and inter-procedural analysis.In studies of both production software and student projects, we find false positive rates of around 20% or less. In the student code base, we find that our static analysis techniques are able to pinpoint 50% to 80% of the defects leading to a null pointer exception at runtime.
机译:使用静态分析来检测内存访问错误,例如空指针解除引用,不是一个新问题。然而,以前的大部分工作都使用了相当复杂的分析技术,以检测这些错误。在本文中,我们表明,可以使用简单的分析技术来识别生产代码和学生代码中的许多这种软件缺陷。为了使我们的分析简单有效,我们使用非标准分析既不完整也不是声音。但是,我们发现它有效地找到了一个有趣的软件缺陷类。我们描述了我们执行的基本分析,以及我们可以使用诸如注释和过程间分析等技术来检测的额外错误。在两种生产的研究中软件和学生项目,我们发现误报率约为20%或更少。在学生代码库中,我们发现我们的静态分析技术能够在运行时确定导致缺陷的50%至80%的缺陷。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号