Published November 19, 2026 | Version v1

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

Authors/Creators

  • 1. University of Manchester

Description

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.

Files

Verified-up-to-K.pdf

Files (250.2 kB)

Name Size
md5:e8127f87fa36206248cdbb5f0a666750
250.2 kB Preview Download