|
This article is cited in 7 scientific papers (total in 7 papers)
Using unreachable code analysis in static analysis tool for finding defects in source code
R. R. Mulyukov, A. E. Borodin Institute for System Programming of the Russian Academy of Sciences
Abstract:
The goal of finding unreachable code is to report warnings about possible bugs in the source code and an increase of other analyses accuracy. The paper describes unreachable code classification and approaches for finding unreachable code in C/C++ programs. We described three data-flow analysis problems: value interval analysis, excluded value analysis, predicate analysis. Solutions for these problems are used to detect redundant expressions in conditional statements. We described common occurrences of useless warnings. The algorithms are implemented in the Svace tool that is developed by ISP RAS. The results are evaluated for open source projects Android-5.02 and Tizen-2.3. They represent the number of found warnings and its intersection.
Keywords:
static analysis, unreachable code, data-flow analysis, Svace, defects in source code.
Citation:
R. R. Mulyukov, A. E. Borodin, “Using unreachable code analysis in static analysis tool for finding defects in source code”, Proceedings of ISP RAS, 28:5 (2016), 145–158
Linking options:
https://www.mathnet.ru/eng/tisp73 https://www.mathnet.ru/eng/tisp/v28/i5/p145
|
Statistics & downloads: |
Abstract page: | 179 | Full-text PDF : | 78 | References: | 35 |
|