TRACTOR Benchmark for Evaluating C to Rust Translators
Hamed Okhravi, Brandt Ogden, Noah Luther, Ian McQuoid, Howard Mak, Nathan Burow
Abstract
Memory-safety vulnerabilities remain a persistent source of security risk in critical software, much of which is implemented in memory-unsafe languages such as C and C++. Recent advances in programming languages, program analysis, and artificial intelligence have created new opportunities to modernize these legacy systems through automated translation to memory-safe languages such as Rust. The DARPA Translating All C to Rust (TRACTOR) program seeks to develop scalable techniques for translating large C codebases into safe, performant, and maintainable Rust. MIT Lincoln Laboratory serves as the program's independent test and evaluation organization and has developed a standardized benchmark for systematically assessing C-to-Rust translation tools. This report describes the TRACTOR benchmark, including progressively challenging test batteries and larger milestone projects, as well as the supporting evaluation infrastructure and metrics for assessing correctness, safety, idiomaticity, and performance. The benchmark and associated evaluation infrastructure are publicly available to support the broader development and evaluation of C-to-Rust translation technologies.
Create a lesson
Metadata
- Categories
- cs.SE, cs.CR, cs.PL
Related papers
FineCR: A Fine-Grained Benchmark for Evaluating LLMs on Raising Code Review and its Resolution
Shared title terminologycs.SETaufiqul Islam Khan, Shaowei Wang, Haoxiang Zhang et al.
Repairing Model Context Protocol Software: Fix Patterns, Benchmark, and Agent Evaluation
Shared title terminologycs.SEMina Taraghi, Mohammad Mehdi Morovati, Foutse Khomh
Translator vs. Challenger: Adversarial Agentic Learning for C-to-Rust Translation
Shared title terminologycs.SEChaofan Wang, Xiaodong Gu, Yuling Shi et al.
Evaluating Code Slop in Long-Horizon Coding Agents
Shared title terminologycs.SEShubham Gandhi, Shyam Agarwal, Nachiket Kotalwar et al.
MEDSWE-BENCH: A Benchmark for Biomedical Software Engineering Agents
Shared title terminologycs.SEZhaoyang Zhu, Sicong Li, Zihan Liao et al.
J2KMigBench: Evaluating LLMs on Java-to-Kotlin Migration in Real-World Repositories
Shared title terminologycs.SEMoshood A. Fakorede, Marcoantoni Rubio-Gonzalez, Umar Farooq