CEGAR Based Null-Pointer Dereference Checking in C Programs
-
摘要: 随着计算机软件规模和复杂度的日益增长,软件系统的可靠性和安全性倍受关注.空指针解引用是程序中常见的一类错误.提出了一种基于反例制导抽象精化CEGAR的C程序空指针解引用检测方法.该方法首先使用线性时序逻辑描述空指针解引用问题,然后通过抽象精化的方法检测待测程序中是否含有空指针解引用错误.为了达到完全自动验证的目标,同时针对空指针解引用问题,研究了该类性质的时序逻辑表达方法,并自动从程序中针对所有的指针变量,形成相应的时序逻辑公式.实验结果表明,所提出的方法在大规模C程序的空指针解引用检测方面有着重要的实际应用价值.Abstract: With the rapid growth of computer software in both scale and complexity, more and more attention has been paid by software developers on the reliability and security issue. Null-pointer dereference is a kind of errors which often occur in programs.This paper proposes a CEGAR based null-pointer dereference verification approach for C programs. With this method, first, a linear temporal logic (LTL) formula is used to specify the null-pointer dereference problem. Then whether null-pointer dereference occuring in a program is checked by a CEGAR based model checking approach. In order to verify null-pointer dereference problem in a total automatic way, this paper also studies how to generate temporal logic formulas automatically with respective to null-pointer dereference problem. Experimental results show that the proposed approach is useful in practice for checking null-pointer dereference in C programs with large scale.
-
-
期刊类型引用(3)
1. 陶琪,靳华中,李文萱,黎林,袁福祥. 一种空间关系增强的场景图生成方法. 湖北工业大学学报. 2022(04): 36-42 . 百度学术
2. 张群峰. 基于形态学的智能台区图形自动生成系统设计. 自动化与仪器仪表. 2022(10): 65-68+73 . 百度学术
3. 田鑫,季怡,高海燕,林欣,刘纯平. 外部信息引导和残差置乱的场景图生成方法. 计算机科学与探索. 2021(10): 1958-1968 . 百度学术
其他类型引用(17)
计量
- 文章访问数: 1614
- HTML全文浏览量: 0
- PDF下载量: 755
- 被引次数: 20