Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/14209

TítuloAssertion-based slicing and slice graphs
Autor(es)Barros, José Bernardo
Cruz, Daniela da
Henriques, Pedro Rangel
Pinto, Jorge Sousa
Palavras-chaveProgram slicing
Program analysis
Verification conditions
Control flow graphs
Data2012
EditoraSpringer
RevistaFormal Aspects of Computing
Resumo(s)This paper revisits the idea of slicing programs based on their axiomatic semantics, rather than using criteria based on control/data dependencies. We show how the forward propagation of preconditions and the backward propagation of postconditions can be combined in a new slicing algorithm that is more precise than the existing specification-based algorithms. The algorithm is based on (i) a precise test for removable statements, and (ii) the construction of a \emph{slice graph}, a program control flow graph extended with semantic labels and additional edges that ``short-circuit'' removable commands. It improves on previous approaches in two aspects: it does not fail to identify removable commands; and it produces the smallest possible slice that can be obtained (in a sense that will be made precise). Iteration is handled through the use of loop invariants and variants to ensure termination. The paper also discusses in detail applications of these forms of slicing, including the elimination of (conditionally) unreachable and dead code, and compares them to other related notions.
TipoArtigo
URIhttps://hdl.handle.net/1822/14209
DOI10.1007/s00165-011-0196-1
ISSN0934-5043
Versão da editoraThe original publication is available at http://www.springerlink.com/content/j45m7rtv2563r135/
Arbitragem científicayes
AcessoAcesso aberto
Aparece nas coleções:HASLab - Artigos em revistas internacionais
DI/CCTC - Artigos (papers)

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
SEFM2010specSlicing-journal.pdfDocumento principal422,49 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID