Assertion-based Slicing and Slice Graphs

Detalhes bibliográficos
Autor(a) principal: Daniela Cruz
Data de Publicação: 2012
Outros Autores: José Bernardo Barros, Jorge Sousa Pinto, Pedro Rangel Henriques
Tipo de documento: Artigo
Idioma: eng
Título da fonte: Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
Texto Completo: http://repositorio.inesctec.pt/handle/123456789/2779
http://dx.doi.org/10.1109/SEFM.20
Resumo: 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 post conditions 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 slice graph, a program control flow graph extended with semantic labels. 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). The paper also reviews in detail, through examples, the ideas behind the use of preconditions and post conditions for slicing programs.
id RCAP_51347c01d704d21164cdb7c3da382389
oai_identifier_str oai:repositorio.inesctec.pt:123456789/2779
network_acronym_str RCAP
network_name_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository_id_str 7160
spelling Assertion-based Slicing and Slice GraphsThis 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 post conditions 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 slice graph, a program control flow graph extended with semantic labels. 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). The paper also reviews in detail, through examples, the ideas behind the use of preconditions and post conditions for slicing programs.2017-11-16T14:07:06Z2012-01-01T00:00:00Z2012info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/articleapplication/pdfhttp://repositorio.inesctec.pt/handle/123456789/2779http://dx.doi.org/10.1109/SEFM.20engDaniela CruzJosé Bernardo BarrosJorge Sousa PintoPedro Rangel Henriquesinfo:eu-repo/semantics/openAccessreponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2023-05-15T10:19:42Zoai:repositorio.inesctec.pt:123456789/2779Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireopendoar:71602024-03-19T17:52:06.469556Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse
dc.title.none.fl_str_mv Assertion-based Slicing and Slice Graphs
title Assertion-based Slicing and Slice Graphs
spellingShingle Assertion-based Slicing and Slice Graphs
Daniela Cruz
title_short Assertion-based Slicing and Slice Graphs
title_full Assertion-based Slicing and Slice Graphs
title_fullStr Assertion-based Slicing and Slice Graphs
title_full_unstemmed Assertion-based Slicing and Slice Graphs
title_sort Assertion-based Slicing and Slice Graphs
author Daniela Cruz
author_facet Daniela Cruz
José Bernardo Barros
Jorge Sousa Pinto
Pedro Rangel Henriques
author_role author
author2 José Bernardo Barros
Jorge Sousa Pinto
Pedro Rangel Henriques
author2_role author
author
author
dc.contributor.author.fl_str_mv Daniela Cruz
José Bernardo Barros
Jorge Sousa Pinto
Pedro Rangel Henriques
description 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 post conditions 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 slice graph, a program control flow graph extended with semantic labels. 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). The paper also reviews in detail, through examples, the ideas behind the use of preconditions and post conditions for slicing programs.
publishDate 2012
dc.date.none.fl_str_mv 2012-01-01T00:00:00Z
2012
2017-11-16T14:07:06Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://repositorio.inesctec.pt/handle/123456789/2779
http://dx.doi.org/10.1109/SEFM.20
url http://repositorio.inesctec.pt/handle/123456789/2779
http://dx.doi.org/10.1109/SEFM.20
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.source.none.fl_str_mv reponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron:RCAAP
instname_str Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron_str RCAAP
institution RCAAP
reponame_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
collection Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository.name.fl_str_mv Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
repository.mail.fl_str_mv
_version_ 1799131597878853632