Static Analysis Method of C Code Based on Model Checking and Defect Pattern Matching


연구 분야: Verification



학회: 2023 IEEE 5th International Conference on Power, Intelligent Computing and Systems (ICPICS)


초록

Static code analysis is an important means to ensure the quality and safety of software code, but the existing static code analysis tools have some problems such as complex configuration, low performance, and insufficient accuracy. This paper proposes a static analysis method of C code, which combines model checking technology and defect pattern matching technology based on lexical analysis. A framework model is designed to detect whether the C code conforms to Misra C 2012 rules, and a static analysis tool is developed based on this model method to verify validity. Experimental results show that the static analysis tool based on the model framework performs well. Compared to the open source static analysis tool Cppcheck, the accuracy and performance have been greatly improved, which improves the accuracy and performance of static analysis in large-scale code scenarios.


Author Profile
Xu Yaozong

School of Mechanical Engineering Tianjin University

정보 없음
Author Profile
Shao Xuebin

CATARC Software Testing (Tianjin) Co. Ltd. Tianjin China

China
Author Profile
Zhou Shuhua

CATARC Software Testing (Tianjin) Co. Ltd. Tianjin China

China

📄 논문 정보

발행 연도 2023년
인용수 1
출판 국가 China
사이트 IEEE
좋아요 수 0

연관 논문 목록 (317건)