|
Computing methodologies and applications
The complex approach of the C-lightVer system to the automated error localization in C-programs
D. A. Kondratyev, A. V. Promsky A. P. Ershov Institute of Informatics Systems SB RAS,
6 Akademik Lavrentyev av., Novosibirsk 630090, Russia
Abstract:
The C-lightVer system for the deductive verification of C programs is being developed at the IIS SB RAS. Based on the two-level architecture of the system, the C-light input language is translated into the intermediate C-kernel language. The meta generator of the correctness conditions receives the C-kernel program and Hoare logic for the C-kernel as input. To solve the well-known problem of determining loop invariants, the definite iteration approach was chosen. The body of the definite iteration loop is executed once for each element of the finite dimensional data structure, and the inference rule for them uses the substitution operation rep, which represents the action of the cycle in symbolic form. Also, in our meta generator, the method of semantic markup of correctness conditions has been implemented and expanded. It allows to generate explanations for unproven conditions and simplifies the errors localization. Finally, if the theorem prover fails to determine the truth of the condition, we can focus on proving its falsity. Thus a method of proving the falsity of the correctness conditions in the ACL2 system was developed. The need for more detailed explanations of the correctness conditions containing the replacement operation rep has led to a change of the algorithms for generating the replacement operation, and the generation of explanations for unproven correctness conditions. Modifications of these algorithms are presented in the article. They allow marking rep definition with semantic labels, extracting semantic labels from rep definition and generating description of break execution condition.
Keywords:
deductive verification, semantic label, error localization, C-lightVer, ACL2, MetaVCG, definite iteration, proof strategy.
Received: 23.09.2019 Revised: 25.11.2019 Accepted: 27.11.2019
Citation:
D. A. Kondratyev, A. V. Promsky, “The complex approach of the C-lightVer system to the automated error localization in C-programs”, Model. Anal. Inform. Sist., 26:4 (2019), 502–519
Linking options:
https://www.mathnet.ru/eng/mais694 https://www.mathnet.ru/eng/mais/v26/i4/p502
|
Statistics & downloads: |
Abstract page: | 88 | Full-text PDF : | 78 | References: | 33 |
|