@inproceedings{329e022e38224dd69a6ec05a73510f00,
title = "Semantics-based memory leak detection for C programs",
abstract = "Memory leak detection for C programs is a significant while difficult research field. Based on executable formal semantics of C programming language, a new method is proposed in this paper for memory leak detection. By extending and modifying state Configuration and rules of memory manipulation and pointer manipulation in semantics, this method can employ the powerful expression and executive capacity of rewriting logic to describe both behaviors of memory operation such as malloc, free, pointer and unit of scope, and memory leak pattern of C programs in executable semantics. Because the modified state Configuration and rules are executable, the memory leak flaws can be matched and detected automatically by execution. Three typical memory leak flaws, namely unreleased allocated-memory, pointer reassigning and inconsistency between allocated space and released space, are tested with some code segments containing them to verify the method. The results and testing time show that the semantics-based method can detect memory leak flaws in C programs effectively.",
keywords = "Formalization, Memory Leak, Programming Language, Semantic",
author = "Zhiqiang Liu and Bo Xu and Dong Liang and Chang Liu and Zejun Jiang and Chenglie Du",
note = "Publisher Copyright: {\textcopyright} 2015 IEEE.; 12th International Conference on Fuzzy Systems and Knowledge Discovery, FSKD 2015 ; Conference date: 15-08-2015 Through 17-08-2015",
year = "2016",
month = jan,
day = "13",
doi = "10.1109/FSKD.2015.7382308",
language = "英语",
series = "2015 12th International Conference on Fuzzy Systems and Knowledge Discovery, FSKD 2015",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "2283--2287",
editor = "Zhuo Tang and Jiayi Du and Shu Yin and Renfa Li and Ligang He",
booktitle = "2015 12th International Conference on Fuzzy Systems and Knowledge Discovery, FSKD 2015",
}