Renaming Global Variables in C Mechanically Proved Correct

Most integrated development environments are shipped with refactoring tools. However, their refactoring operations are often known to be unreliable. As a consequence, developers have to test their code after applying an automatic refactoring. In this article, we consider a refactoring operation (re...

Full description

Bibliographic Details
Main Author: Julien Cohen
Format: Article
Language:English
Published: Open Publishing Association 2016-07-01
Series:Electronic Proceedings in Theoretical Computer Science
Online Access:http://arxiv.org/pdf/1607.02226v1
id doaj-9019a3bab21949b7ac570de3a020dc19
record_format Article
spelling doaj-9019a3bab21949b7ac570de3a020dc192020-11-25T00:24:02ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802016-07-01216Proc. VPT 2016506410.4204/EPTCS.216.3:2Renaming Global Variables in C Mechanically Proved CorrectJulien Cohen0 Université de Nantes Most integrated development environments are shipped with refactoring tools. However, their refactoring operations are often known to be unreliable. As a consequence, developers have to test their code after applying an automatic refactoring. In this article, we consider a refactoring operation (renaming of global variables in C), and we prove that its core implementation preserves the set of possible behaviors of transformed programs. That proof of correctness relies on the operational semantics of C provided by CompCert C in Coq.http://arxiv.org/pdf/1607.02226v1
collection DOAJ
language English
format Article
sources DOAJ
author Julien Cohen
spellingShingle Julien Cohen
Renaming Global Variables in C Mechanically Proved Correct
Electronic Proceedings in Theoretical Computer Science
author_facet Julien Cohen
author_sort Julien Cohen
title Renaming Global Variables in C Mechanically Proved Correct
title_short Renaming Global Variables in C Mechanically Proved Correct
title_full Renaming Global Variables in C Mechanically Proved Correct
title_fullStr Renaming Global Variables in C Mechanically Proved Correct
title_full_unstemmed Renaming Global Variables in C Mechanically Proved Correct
title_sort renaming global variables in c mechanically proved correct
publisher Open Publishing Association
series Electronic Proceedings in Theoretical Computer Science
issn 2075-2180
publishDate 2016-07-01
description Most integrated development environments are shipped with refactoring tools. However, their refactoring operations are often known to be unreliable. As a consequence, developers have to test their code after applying an automatic refactoring. In this article, we consider a refactoring operation (renaming of global variables in C), and we prove that its core implementation preserves the set of possible behaviors of transformed programs. That proof of correctness relies on the operational semantics of C provided by CompCert C in Coq.
url http://arxiv.org/pdf/1607.02226v1
work_keys_str_mv AT juliencohen renamingglobalvariablesincmechanicallyprovedcorrect
_version_ 1725354339033153536