{"_id":{"_str":"5374e953b3aa0426050028e4"},"__v":0,"authorIDs":[],"author_short":["Nguyen, T.","Kapur, D.","Weimer, W.","Forrest, S."],"bibbaseid":"nguyen-kapur-weimer-forrest-fromprogramsynthesistoprogramreachabilityautomaticprogramrepairusingtestinputgeneration-2014","bibdata":{"downloads":2,"keyword":["Program synthesis; program reachability; reduction proof; equivalence proof; automated program repair; test input generation"],"bibbaseid":"nguyen-kapur-weimer-forrest-fromprogramsynthesistoprogramreachabilityautomaticprogramrepairusingtestinputgeneration-2014","urls":{" code":"https://bitbucket.org/nguyenthanhvuh/ceti/wiki/Home"," paper":"http://cs.unm.edu/~tnguyen/Pub/fse2013.pdf"},"role":"author","abstract":"Program synthesis, which automatically generates code to meet required specifications, is a practical problem with growing interest due to the pressing demand for more reliable software. Program reachability, which decides if a program location is reachable, is a classical and well-studied problem in computer science. In this paper, we present a constructive proof that certain formulations of these two problems are equivalent. We transform a program synthesis problem into a program consisting of a special location, reachable only when code could be generated for the original problem. Conversely, we show that a reachability query can be encoded as a synthesis problem, where a successful synthesis indicates the reachability of the target location. These results demonstrate a link between the two problems and thus allow for the application of ideas between subfields that were previously considered separately. Based on these ideas, we develop an algorithm for automated program repair (a synthesis problem) using test input generation techniques (which solve reachability problems). We transform a buggy program and a test suite defining its expected behaviors into a specific program containing a location reachable only when the original program can be repaired. The transformed program is then sent to an off-the-shelf test input generation tool to find test values that can reach the desired location. Those test values correspond exactly to fixes for the original program. Preliminary case studies suggest that this method can have higher success rates than many other standard methods.","author":["Nguyen, ThanhVu","Kapur, Deepak","Weimer, Westley","Forrest, Stephanie"],"author_short":["Nguyen, T.","Kapur, D.","Weimer, W.","Forrest, S."],"bibbase_kw":"sec1","bibtex":"@inproceedings{ vufse2014,\n abstract = {Program synthesis, which automatically generates code to meet required specifications, is a practical problem with growing interest due to the pressing demand for more reliable software.\nProgram reachability, which decides if a program location is reachable, is a classical and well-studied problem in computer science. \nIn this paper, we present a constructive proof that certain formulations of these two problems are equivalent.\nWe transform a program synthesis problem into a program consisting of a special location, reachable only when code could be generated for the original problem.\nConversely, we show that a reachability query can be encoded as a synthesis problem, where a successful synthesis indicates the reachability of the target location.\nThese results demonstrate a link between the two problems and thus allow for the application of ideas between subfields that were previously considered separately.\n\nBased on these ideas, we develop an algorithm for automated program repair (a synthesis problem) using test input generation techniques (which solve reachability problems). \nWe transform a buggy program and a test suite defining its expected behaviors into a specific program containing a location reachable only when the original program can be repaired.\nThe transformed program is then sent to an off-the-shelf test input generation tool to find test values that can reach the desired location. \nThose test values correspond exactly to fixes for the original program.\nPreliminary case studies suggest that this method can have higher success rates than many other standard methods.},\n author = {ThanhVu Nguyen and Deepak Kapur and Westley Weimer and Stephanie Forrest},\n bibbase_kw = {sec1},\n booktitle = {Foundation of Software Engineering, submitted},\n keywords = {Program synthesis; program reachability; reduction proof; equivalence proof; automated program repair; test input generation},\n organization = {IEEE},\n title = {{From Program Synthesis to Program Reachability: Automatic Program Repair using Test Input Generation}},\n url_code = {https://bitbucket.org/nguyenthanhvuh/ceti/wiki/Home},\n url_paper = {fse2013.pdf},\n year = {2014}\n}","bibtype":"inproceedings","booktitle":"Foundation of Software Engineering, submitted","id":"vufse2014","key":"vufse2014","keywords":"Program synthesis; program reachability; reduction proof; equivalence proof; automated program repair; test input generation","organization":"IEEE","title":"From Program Synthesis to Program Reachability: Automatic Program Repair using Test Input Generation","type":"inproceedings","url_code":"https://bitbucket.org/nguyenthanhvuh/ceti/wiki/Home","url_paper":"fse2013.pdf","year":"2014"},"bibtype":"inproceedings","biburl":"http://cs.unm.edu/~tnguyen/Pub/vu_bibs1.bib","downloads":2,"keywords":["program synthesis; program reachability; reduction proof; equivalence proof; automated program repair; test input generation"],"search_terms":["program","synthesis","program","reachability","automatic","program","repair","using","test","input","generation","nguyen","kapur","weimer","forrest"],"title":"From Program Synthesis to Program Reachability: Automatic Program Repair using Test Input Generation","year":2014,"dataSources":["oTwGrgBRuTZzbtEnY"]}