计算机工程与应用Issue(3):69-73,5.DOI:10.3778/j.issn.1002-8331.1304-0138
Cppcheck的软件缺陷模式分析与定位
Software defect pattern analysis and location based on Cppcheck
摘要
Abstract
The C/C++ program which is compiled well does not always guarantee that there are no defects in the code. There may still contain defects relativing to securities, design and code style, therefore it may result in memory leak or misuse of pointers so that it is difficult to accomplish the expected goal of software requirements. Aiming to software defection tool of Cppcheck’s insufficiency for open software defect, this paper mainly analyses the Cppcheck architecture, defect pattern representation and implementation, as well as on the basis of summarizing 350 defect patterns to improve Cppcheck. It makes two relevant experiments to verify the effectiveness of improved Cppcheck.关键词
软件缺陷/缺陷模式/CppcheckKey words
software defect/defect pattern/Cppcheck分类
信息技术与安全科学引用本文复制引用
张仕金,尚赵伟..Cppcheck的软件缺陷模式分析与定位[J].计算机工程与应用,2015,(3):69-73,5.基金项目
国家自然科学重点基金(No.91118005);国家自然科学基金(No.61173130);重庆市自然科学基金(CSTC-2010BB2217)。 ()