Work

Verified up to K: A Stated Verification Bound Anchors LLM Repairs of Buffer Overflows

Year: 2026
Type: preprint
Abstract: This pre-registered study tested whether stating a verification bound changes the buffer sizes selected by three language-model coding systems. Across 2,862 repair attempts on 53 C and C++ contest programs, increasing the stated bound shifted the selected buffer sizes in all three systems. With the bound set to the size of the failing input, the full-suite pass rate fell from 80% to 32% for Claude and from 96% to 76% for Codex. On six C units amenable to a separate ESBMC check, all 15 examined repairs that failed the broader tests were certified at the stated bound. The paper examines how providing the actual input constraint or explaining the scope of the verifier affects repair outcomes.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7236763095
Cites:
Cited by:
Related to: 10