CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Building
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
Other references · 15
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2023InferFix: End-to-End Program Repair with LLMscited by 114
- 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasonerscited by 63
- 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 45
- 2024DOCBENCH: A Benchmark for Evaluating LLM-based Document Reading Systemscited by 37
- 2024Exploring Autonomous Agents through the Lens of Large Language Models: A Reviewcited by 31
- 2019DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippetscited by 13
- 2023Automatically Generating Dockerfiles via Deep Learning: Challenges and Promisescited by 3
- 2024Sketch: A Toolkit for Streamlining LLM Operationscited by 3
Built on by
Citing papers per year: 2025: 4; 2026: 6.
10 papers.
- 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarkscited by 7
- 202590% Faster, 100% Code-Free: MLLM-Driven Zero-Code 3D Game Developmentcited by 4
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platformscited by 2
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agentscited by 2
- 2025LLMs as Packagers of HPC Softwarecited by 1
- 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agentscited by 1
- 2026Reproducible, Explainable, and Effective Evaluations of Agentic AI for Software Engineeringcited by 1
- 2026Agent-Based Software Artifact Evaluationcited by 0
- 2026Still Manual? Automated Linter Configuration via DSL-Based LLM Compilation of Coding Standardscited by 0
- 2026BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledgecited by 0
- 2026ASEval: Automated Trajectory-Level Security Testing for Autonomous Agents21 May 2026
- 2026BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledge15 May 2026
- 2026Reproducible, Explainable, and Effective Evaluations of Agentic AI for Software Engineering1 Apr 2026
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platforms5 Mar 2026
- 2026Still Manual? Automated Linter Configuration via DSL-Based LLM Compilation of Coding Standards8 Feb 2026
- 2026Agent-Based Software Artifact Evaluation2 Feb 2026
- 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agents24 Nov 2025
- 2025LLMs as Packagers of HPC Software7 Nov 2025
- 202590% Faster, 100% Code-Free: MLLM-Driven Zero-Code 3D Game Development30 Sep 2025
- 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarks12 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compiler
- 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Software
- 2025A Survey on Code Generation with LLM-based Agents
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks
- 2024Agentless: Demystifying LLM-based Software Engineering Agents
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future
- 2026Developing LLM-based Multi-Agent Systems in Software Engineering: A Mixed-Method Experience Report
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch