作者: Yuxia Wang , Fusheng Jin , Xiangyu Han , Runan Wang
DOI: 10.1007/978-981-13-0896-3_7
关键词:
摘要: The improper use of pointers in C/C++ programming language brings about a lot memory-related issues. In this paper, causes four kinds memory defects are analyzed and summarized. Besides, novel triad model has been proposed. Based on the variable life cycle methodology, an approach for inner-procedure inter-procedure detection presented too. Eventually, prototype CAnalyzer is implemented basis Clang static analyzer. Experiment results show that can effectively detect types defects.