Jul 2026
Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
The results show that integrating lightweight analysis tools can improve the safety of LLM-generated code for embedded development by integrating compilation diagnostics, CodeQL static analysis, and KLEE symbolic execution with retrieval of prior repair patterns for iterative refinement.
Vidyut Sriram, Saatvik Pradhan, Suman Saha
· arXiv.org · 0 citations