CMind: An AI Agent for Localizing C Memory Bugs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Su, Chia-Yi, McMillan, Collin
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910028164759552
author Su, Chia-Yi
McMillan, Collin
author_facet Su, Chia-Yi
McMillan, Collin
contents This demonstration paper presents CMind, an artificial intelligence agent for localizing C memory bugs. The novel aspect to CMind is that it follows steps that we observed human programmers perform during empirical study of those programmers finding memory bugs in C programs. The input to the tool is a C program's source code and a bug report describing the problem. The output is the tool's hypothesis about the reason for the bug and its location. CMind reads the bug report to find potential entry points to the program, then navigates the program's source code, analyzes that source code, and generates a hypothesis location and rationale that fit a template. The tool combines large language model reasoning with guided decision making we encoded to mimic human behavior. The video demonstration is available at https://youtu.be/_vVd0LRvVHI.
format Preprint
id arxiv_https___arxiv_org_abs_2601_14434
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CMind: An AI Agent for Localizing C Memory Bugs
Su, Chia-Yi
McMillan, Collin
Software Engineering
This demonstration paper presents CMind, an artificial intelligence agent for localizing C memory bugs. The novel aspect to CMind is that it follows steps that we observed human programmers perform during empirical study of those programmers finding memory bugs in C programs. The input to the tool is a C program's source code and a bug report describing the problem. The output is the tool's hypothesis about the reason for the bug and its location. CMind reads the bug report to find potential entry points to the program, then navigates the program's source code, analyzes that source code, and generates a hypothesis location and rationale that fit a template. The tool combines large language model reasoning with guided decision making we encoded to mimic human behavior. The video demonstration is available at https://youtu.be/_vVd0LRvVHI.
title CMind: An AI Agent for Localizing C Memory Bugs
topic Software Engineering
url https://arxiv.org/abs/2601.14434