|
Automatic repair of code defects in the svace system
S. V. Syromiatnikov Ivannikov Institute for System Programming of the RAS
Abstract:
The main task described in this article is automatic fixing defects in C/C++ code found by a static analyzer on big software projects. We describe how we solved this task for Svace static analyzer and discuss main principles of automatic fixing defects of various types. We pay special attention to fixing null pointer dereference since it is the most important and sophisticated defect type among those we've supported. Statistics on fixes proposed for defects of this type is also provided. We discuss common limitations and other specificity of our task and explain why we cannot use existing automatic fixing tools for solving it. At the end we outline further steps of development of our tool.
Keywords:
automatic program repair, automatic defect fixing, static analysis, code defects, null pointer dereference.
Citation:
S. V. Syromiatnikov, “Automatic repair of code defects in the svace system”, Proceedings of ISP RAS, 33:6 (2021), 83–94
Linking options:
https://www.mathnet.ru/eng/tisp647 https://www.mathnet.ru/eng/tisp/v33/i6/p83
|
Statistics & downloads: |
Abstract page: | 15 | Full-text PDF : | 6 |
|