DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Information
원문 초록
Automated Program Repair (APR) seeks to generate correct patches for buggy programs, but recent Large Language Model (LLM)-based repair systems remain sensitive to superficial code changes and often rely on coarse test outcomes during iterative repair. We propose DynaFix, an LLM-based APR framework that integrates execution-level dynamic information into a closed-loop repair workflow. The distinguishing feature of DynaFix lies not in using execution-level information per se, but in repeatedly updating and exploiting such information throughout the iterative repair process. In each repair round, DynaFix uses ByteTrace to collect variable states, branch paths, and call stacks, incorporates these runtime signals into structured prompts, validates generated patches through re-execution, and feeds the resulting updated traces into subsequent repair iterations. This process grounds patch generation in concrete execution behavior rather than static code alone. We evaluate DynaFix on Defects4J v2.0, the Real-World Benchmark, and a code perturbation benchmark, Defects4J-Trans. DynaFix repairs 236 single-function Defects4J bugs with GPT-4 and 186 with GPT-4o, including 23 bugs not fixed by existing baselines. On Defects4J-Trans, DynaFix achieves 15.6%-32.1% higher aggregate repair counts than ReinFix and shows higher repair retention under semantics-preserving transformations. It also reduces token consumption by 60%-70% compared with state-of-the-art LLM-based APR methods. These results show that repeatedly updating and exploiting execution-level information throughout iterative repair can substantially improve the effectiveness, robustness, and cost efficiency of LLM-based program repair.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2512.24635v3제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.