Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Connecting Program Synthesis and Reachability: Automatic Program Repair using Test-Input Generation (1903.11765v1)

Published 28 Mar 2019 in cs.PL

Abstract: We prove that certain formulations of program synthesis and reachability are equivalent. Specifically, our constructive proof shows the reductions between the template-based synthesis problem, which generates a program in a pre-specified form, and the reachability problem, which decides the reachability of a program location. This establishes a link between the two research fields and allows for the transfer of techniques and results between them. To demonstrate the equivalence, we develop a program repair prototype using reachability tools. We transform a buggy program and its required specification into a specific program containing a location reachable only when the original program can be repaired, and then apply an off-the-shelf test-input generation tool on the transformed program to find test values to reach the desired location. Those test values correspond to repairs for the original programm. Preliminary results suggest that our approach compares favorably to other repair methods.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. ThanhVu Nguyen (15 papers)
  2. Westley Weimer (18 papers)
  3. Deepak Kapur (15 papers)
  4. Stephanie Forrest (21 papers)
Citations (17)

Summary

We haven't generated a summary for this paper yet.