| 注册
首页|期刊导航|计算机工程与应用|基于属性可靠分析的空指针引用缺陷检测

基于属性可靠分析的空指针引用缺陷检测

董玉坤

计算机工程与应用2016,Vol.52Issue(22):9-14,104,7.
计算机工程与应用2016,Vol.52Issue(22):9-14,104,7.DOI:10.3778/j.issn.1002-8331.1604-0140

基于属性可靠分析的空指针引用缺陷检测

Null pointer dereference defects detection based on property sound analysis

董玉坤1

作者信息

  • 1. 中国石油大学 华东 计算机与通信工程学院,山东 青岛 266580
  • 折叠

摘要

Abstract

In order to fully detect null pointer dereference defects for C procedures based on static analysis, this paper introduces a method based on property sound analysis. Firstly, defect pattern and feature of null pointer dereference are introduced. Then, the property sound analysis theory is proposed to detect null pointer dereference defects, and the point property of pointers is abstracted as attribute lattice. Through an abstract memory model and transfer function of each kind of statement, point-to property of each pointer can be get soundly, and null pointer dereference defects detection can be realized based on the point-to property of each referenced pointer. Experiment results of five real projects show that this method can fully detect null pointer dereference defects.

关键词

缺陷检测/缺陷模式/空指针引用/属性可靠分析

Key words

defect detection/defect pattern/null pointer dereference/property sound analysis

分类

信息技术与安全科学

引用本文复制引用

董玉坤..基于属性可靠分析的空指针引用缺陷检测[J].计算机工程与应用,2016,52(22):9-14,104,7.

基金项目

山东省自然科学基金(No.BS2015DX017);中央高校基本科研业务费专项资金(No.15CX02050A)。 ()

计算机工程与应用

OA北大核心CSCDCSTPCD

1002-8331

访问量0
|
下载量0
段落导航相关论文