arxivcs.SEcs.AI2026-07-21
Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
Vidyut Sriram, Saatvik Pradhan, Suman Saha
Large language models can generate C code from natural-language descriptions, but resulting programs often contain security vulnerabilities and compilation errors, posing risks for embedded and resource-constrained systems. This work investigates how feedback and retrieval improv…