CFAAR: Control Flow Alteration to Assist Repair
We present CFAAR, a program repair assistance technique that operates by selectively altering the outcome of suspicious predicates in order to yield expected behavior. CFAAR is applicable to defects that are repairable by negating predicates under specific conditions. CFAAR proceeds as follows: 1) i...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Trad, Chadi Assi, Rawad Abou Masri, Wes Zaraket, Fadi |
description | We present CFAAR, a program repair assistance technique that operates by
selectively altering the outcome of suspicious predicates in order to yield
expected behavior. CFAAR is applicable to defects that are repairable by
negating predicates under specific conditions. CFAAR proceeds as follows: 1) it
identifies predicates such that negating them at given instances would make the
failing tests exhibit correct behavior; 2) for each candidate predicate, it
uses the program state information to build a classifier that dictates when the
predicate should be negated; 3) for each classifier, it leverages a Decision
Tree to synthesize a patch to be presented to the developer. We evaluated our
toolset using 149 defects from the IntroClass and Siemens benchmarks. CFAAR
identified 91 potential candidate defects and generated plausible patches for
41 of them. Twelve of the patches are believed to be correct, whereas the rest
provide repair assistance to the developer. |
doi_str_mv | 10.48550/arxiv.1808.09229 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_1808_09229</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>1808_09229</sourcerecordid><originalsourceid>FETCH-LOGICAL-a679-3bc62fcd0909427c692f83c9acc7cd13cec4e79545c436d4e0e26e74a52cb47a3</originalsourceid><addsrcrecordid>eNotzsuKwjAUgOFsXAw6DzAr8wKtaa6Nu1DszIAgiPtyPE0hUI2kwcvbD6Ou_t3PR8hXxUpZK8VWkO7hWlY1q0tmObcfZNW0zu3XtInnnOJI2zHeqBuzT5BDPNMcqZumMGW69xcIaUFmA4yT_3x3Tg7t5tD8FNvd92_jtgVoYwtxRM0H7JllVnKD2vKhFmgB0WBfCfQovbFKKpRC99Izz7U3EhTHozQg5mT52j7F3SWFE6RH9y_vnnLxB0K_PNI</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>CFAAR: Control Flow Alteration to Assist Repair</title><source>arXiv.org</source><creator>Trad, Chadi ; Assi, Rawad Abou ; Masri, Wes ; Zaraket, Fadi</creator><creatorcontrib>Trad, Chadi ; Assi, Rawad Abou ; Masri, Wes ; Zaraket, Fadi</creatorcontrib><description>We present CFAAR, a program repair assistance technique that operates by
selectively altering the outcome of suspicious predicates in order to yield
expected behavior. CFAAR is applicable to defects that are repairable by
negating predicates under specific conditions. CFAAR proceeds as follows: 1) it
identifies predicates such that negating them at given instances would make the
failing tests exhibit correct behavior; 2) for each candidate predicate, it
uses the program state information to build a classifier that dictates when the
predicate should be negated; 3) for each classifier, it leverages a Decision
Tree to synthesize a patch to be presented to the developer. We evaluated our
toolset using 149 defects from the IntroClass and Siemens benchmarks. CFAAR
identified 91 potential candidate defects and generated plausible patches for
41 of them. Twelve of the patches are believed to be correct, whereas the rest
provide repair assistance to the developer.</description><identifier>DOI: 10.48550/arxiv.1808.09229</identifier><language>eng</language><subject>Computer Science - Software Engineering</subject><creationdate>2018-08</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,777,882</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/1808.09229$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.1808.09229$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Trad, Chadi</creatorcontrib><creatorcontrib>Assi, Rawad Abou</creatorcontrib><creatorcontrib>Masri, Wes</creatorcontrib><creatorcontrib>Zaraket, Fadi</creatorcontrib><title>CFAAR: Control Flow Alteration to Assist Repair</title><description>We present CFAAR, a program repair assistance technique that operates by
selectively altering the outcome of suspicious predicates in order to yield
expected behavior. CFAAR is applicable to defects that are repairable by
negating predicates under specific conditions. CFAAR proceeds as follows: 1) it
identifies predicates such that negating them at given instances would make the
failing tests exhibit correct behavior; 2) for each candidate predicate, it
uses the program state information to build a classifier that dictates when the
predicate should be negated; 3) for each classifier, it leverages a Decision
Tree to synthesize a patch to be presented to the developer. We evaluated our
toolset using 149 defects from the IntroClass and Siemens benchmarks. CFAAR
identified 91 potential candidate defects and generated plausible patches for
41 of them. Twelve of the patches are believed to be correct, whereas the rest
provide repair assistance to the developer.</description><subject>Computer Science - Software Engineering</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2018</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotzsuKwjAUgOFsXAw6DzAr8wKtaa6Nu1DszIAgiPtyPE0hUI2kwcvbD6Ou_t3PR8hXxUpZK8VWkO7hWlY1q0tmObcfZNW0zu3XtInnnOJI2zHeqBuzT5BDPNMcqZumMGW69xcIaUFmA4yT_3x3Tg7t5tD8FNvd92_jtgVoYwtxRM0H7JllVnKD2vKhFmgB0WBfCfQovbFKKpRC99Izz7U3EhTHozQg5mT52j7F3SWFE6RH9y_vnnLxB0K_PNI</recordid><startdate>20180828</startdate><enddate>20180828</enddate><creator>Trad, Chadi</creator><creator>Assi, Rawad Abou</creator><creator>Masri, Wes</creator><creator>Zaraket, Fadi</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20180828</creationdate><title>CFAAR: Control Flow Alteration to Assist Repair</title><author>Trad, Chadi ; Assi, Rawad Abou ; Masri, Wes ; Zaraket, Fadi</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a679-3bc62fcd0909427c692f83c9acc7cd13cec4e79545c436d4e0e26e74a52cb47a3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2018</creationdate><topic>Computer Science - Software Engineering</topic><toplevel>online_resources</toplevel><creatorcontrib>Trad, Chadi</creatorcontrib><creatorcontrib>Assi, Rawad Abou</creatorcontrib><creatorcontrib>Masri, Wes</creatorcontrib><creatorcontrib>Zaraket, Fadi</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Trad, Chadi</au><au>Assi, Rawad Abou</au><au>Masri, Wes</au><au>Zaraket, Fadi</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>CFAAR: Control Flow Alteration to Assist Repair</atitle><date>2018-08-28</date><risdate>2018</risdate><abstract>We present CFAAR, a program repair assistance technique that operates by
selectively altering the outcome of suspicious predicates in order to yield
expected behavior. CFAAR is applicable to defects that are repairable by
negating predicates under specific conditions. CFAAR proceeds as follows: 1) it
identifies predicates such that negating them at given instances would make the
failing tests exhibit correct behavior; 2) for each candidate predicate, it
uses the program state information to build a classifier that dictates when the
predicate should be negated; 3) for each classifier, it leverages a Decision
Tree to synthesize a patch to be presented to the developer. We evaluated our
toolset using 149 defects from the IntroClass and Siemens benchmarks. CFAAR
identified 91 potential candidate defects and generated plausible patches for
41 of them. Twelve of the patches are believed to be correct, whereas the rest
provide repair assistance to the developer.</abstract><doi>10.48550/arxiv.1808.09229</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.1808.09229 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_1808_09229 |
source | arXiv.org |
subjects | Computer Science - Software Engineering |
title | CFAAR: Control Flow Alteration to Assist Repair |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-17T20%3A57%3A11IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=CFAAR:%20Control%20Flow%20Alteration%20to%20Assist%20Repair&rft.au=Trad,%20Chadi&rft.date=2018-08-28&rft_id=info:doi/10.48550/arxiv.1808.09229&rft_dat=%3Carxiv_GOX%3E1808_09229%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |