mlsanityData to 14 Oct 2026

EvoC2Rust: A Skeleton-guided Framework for Project-Level C-to-Rust Translation

arXiv 2508.04295 ↗First posted 6 Aug 2025cs.SE cs.AIcited by 19

Not on the map. Why?

Abstract (arXiv)

Translating legacy C codebases to Rust is increasingly demanded for building safety-critical systems. While various approaches have emerged for this task, they face inherent trade-offs: rule-based methods often struggle to satisfy code safety and idiomaticity requirements, while LLM-based methods frequently fail to generate semantically equivalent Rust code, due to the heavy dependencies of modules across the entire codebase. Recent studies have revealed that both solutions are limited to small-scale programs. In this paper, we propose EvoC2Rust, an automated framework for converting complete C projects to equivalent Rust ones. EvoC2Rust employs a skeleton-guided translation strategy for project-level translation. The pipeline consists of three stages: 1) it first decomposes the C project into functional modules, employs a feature-mapping-enhanced LLM to transform definitions and macros, and generates type-checked function stubs, which form a compilable Rust skeleton; 2) it then incrementally translates functions, replacing the corresponding stub placeholders; 3) finally, it repairs compilation errors by integrating LLM and static analysis. Through evolutionary augmentation, EvoC2Rust combines the advantages of both rule-based and LLM-based solutions. Our evaluation on open-source benchmarks and six industrial projects demonstrates the superior performance of EvoC2Rust in project-level C-to-Rust translation. The results show that our approach outperforms the strongest LLM-based baseline by 17.24% in syntax accuracy and 14.32% in semantic accuracy, while also achieving a 43.59% higher code safety rate than the best rule-based tool.

Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 20 of its 57 references that are in the map. First posted on arXiv 6 Aug 2025.

Builds on

20 of 57 references.

References · 20

  1. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  2. 2024Executable Code Actions Elicit Better LLM Agentscited by 564
  3. 2020Unsupervised Translation of Programming Languagescited by 263
  4. 2022Productivity Assessment of Neural Code Completioncited by 98
  5. 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
  6. 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
  7. 2023Explainable Automated Debugging via Large Language Model-driven Scientific Debuggingcited by 40
  8. 2024Towards Translating Real-World Code with LLMs: A Study of Translating to Rustcited by 35
  9. 2025CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilationcited by 19
  10. 2025C2SaferRust: Transforming C Projects into Safer Rust with NeuroSymbolic Techniquescited by 18
  11. 2024Unraveling the Potential of Large Language Models in Code Translation: How Far Are We?cited by 17
  12. 2024Syzygy: Dual Code-Test C to (safe) Rust Translation using LLMs and Dynamic Analysiscited by 16
8 more
  1. 2023Ownership guided C to Rust translationcited by 13
  2. 2025RustMap: Towards Project-Scale C-to-Rust Migration via Program Analysis and LLMcited by 10
  3. 2024To Tag, or Not to Tag: Translating C's Unions to Rust's Tagged Unionscited by 8
  4. 2024Translating C To Rust: Lessons from a User Studycited by 8
  5. 2025SafeTrans: LLM-assisted Transpilation from C to Rustcited by 8
  6. 2023Concrat: An Automatic C-to-Rust Lock API Translator for Concurrent Programscited by 5
  7. 2025Forcrat: Automatic I/O API Translation from C to Rust via Origin and Capability Analysiscited by 5
  8. 2025APIRAT: Integrating Multi-source API Knowledge for Enhanced Code Translation with LLMscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 14.

19 papers.

Sort:

By area:

  1. 2025LongCodeZip: Compress Long Context for Code Language Modelscited by 39
  2. 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 38
  3. 2026Reasoning in Trees: Improving Retrieval-Augmented Generation for Multi-Hop Question Answeringcited by 14
  4. 2026Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understandingcited by 13
  5. 2026EffiSkill: Agent Skill Based Automated Code Efficiency Optimizationcited by 9
  6. 2025Neuron-Guided Interpretation of Code LLMs: Where, Why, and How?cited by 5
  7. 2025Adversarial Agent Collaboration for Correctness Improvements of C to Safe Rust Translationcited by 3
  8. 2025HyperAgent: Leveraging Hypergraphs for Topology Optimization in Multi-Agent Communicationcited by 2
  9. 2026ENCRUST: Encapsulated Substitution and Agentic Refinement on a Live Scaffold for Safe C-to-Rust Translationcited by 2
  10. 2026ReCodeAgent: A Multi-agent Workflow for Language-Agnostic Translation and Validation of Large-Scale Repositoriescited by 2
  11. 2026Large Language Models for Multilingual Code Intelligence: A Surveycited by 2
  12. 2026ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generationcited by 2
7 more
  1. 2026His2Trans: A Knowledge-Guided Agentic Framework for Project-Level C-to-Rust Migrationcited by 1
  2. 2026ORBIT: Guided Agentic Orchestration for Autonomous C-to-Rust Transpilationcited by 1
  3. 2026SAMAS: A Spectrum-Guided Multi-Agent System for Achieving Style Fidelity in Literary Translationcited by 0
  4. 2026Documentation-Guided Agentic Codebase Migration from C to Rustcited by 0
  5. 2026Fine-Tuning Qwen3-27B for C-to-Rust Code Translation: A Three-Stage Curriculum of Pretraining, Debugging-Aware SFT, and Task-Specific SFTcited by 0
  6. 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Explorationcited by 0
  7. 2026Translator vs. Challenger: Adversarial Agentic Learning for C-to-Rust Translationcited by 0