mlsanityData to 14 Oct 2026

CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Building

arXiv 2505.21069 ↗First posted 27 May 2025cs.SEcited by 10

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Project building is pivotal to support various program analysis tasks, such as generating intermediate rep- resentation code for static analysis and preparing binary code for vulnerability reproduction. However, automating the building process for C/C++ projects is a highly complex endeavor, involving tremendous technical challenges, such as intricate dependency management, diverse build systems, varied toolchains, and multifaceted error handling mechanisms. Consequently, building C/C++ projects often proves to be difficult in practice, hindering the progress of downstream applications. Unfortunately, research on facilitating the building of C/C++ projects remains to be inadequate. The emergence of Large Language Models (LLMs) offers promising solutions to automated software building. Trained on extensive corpora, LLMs can help unify diverse build systems through their comprehension capabilities and address complex errors by leveraging tacit knowledge storage. Moreover, LLM-based agents can be systematically designed to dynamically interact with the environment, effectively managing dynamic building issues. Motivated by these opportunities, we first conduct an empirical study to systematically analyze the current challenges in the C/C++ project building process. Particularly, we observe that most popular C/C++ projects encounter an average of five errors when relying solely on the default build systems. Based on our study, we develop an automated build system called CXXCrafter to specifically address the above-mentioned challenges, such as dependency resolution. Our evaluation on open-source software demonstrates that CXXCrafter achieves a success rate of 78% in project building. Specifically, among the Top100 dataset, 72 projects are built successfully by both CXXCrafter and manual efforts, 3 by CXXCrafter only, and 14 manually only. ...

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 16 of its 54 references that are in the map. First posted on arXiv 27 May 2025.

Builds on

16 of 54 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging26 Apr

Other references · 15

  1. 2020Extracting Training Data from Large Language Modelscited by 2,189
  2. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  3. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  4. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  5. 2023InferFix: End-to-End Program Repair with LLMscited by 114
  6. 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasonerscited by 63
  7. 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 45
  8. 2024DOCBENCH: A Benchmark for Evaluating LLM-based Document Reading Systemscited by 37
  9. 2024Exploring Autonomous Agents through the Lens of Large Language Models: A Reviewcited by 31
  10. 2019DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippetscited by 13
  11. 2023Automatically Generating Dockerfiles via Deep Learning: Challenges and Promisescited by 3
  12. 2024Sketch: A Toolkit for Streamlining LLM Operationscited by 3
3 more
  1. 2022Towards Understanding Third-party Library Dependency in C/C++ Ecosystemcited by 2
  2. 2024Untangling Knots: Leveraging LLM for Error Resolution in Computational Notebookscited by 2
  3. 2021CENTRIS: A Precise and Scalable Approach for Identifying Modified Open-Source Software Reusecited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 6.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compiler
  2. 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Software
  3. 2025A Survey on Code Generation with LLM-based Agents
  4. 2026Evaluating LLM Agents on Automated Software Analysis Tasks
  5. 2024Agentless: Demystifying LLM-based Software Engineering Agents
  6. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future
  7. 2026Developing LLM-based Multi-Agent Systems in Software Engineering: A Mixed-Method Experience Report
  8. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch