Journal article · 2025 · Open access

C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques

Vikram Nitin, Rahul Krishna, Luiz Lemos do Valle, Baishakhi Ray

IEEE Transactions on Software Engineering, 52(2), 618–630 · Published 9 December 2025 · DOI 10.1109/tse.2025.3641486

Open PDFView at the publisherCite this paper

In brief

“C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques” is a 2025 journal article by Vikram Nitin and 3 co-authors, published in IEEE Transactions on Software Engineering. OpenAlex counts 65 citations as of 17 November 2026. It is open access under a CC BY licence: the full text is free to read at arXiv (Cornell University).

Citations
65
Most cited in
2026 (48)
Field-weighted impact
32.24
References
26
Authors
4

Abstract

In recent years, there has been a lot of interest in converting C code to Rust, to benefit from the memory and thread safety guarantees of Rust. C2Rust is a rule-based system that can automatically convert C code to functionally identical Rust, but the Rust code that it produces is non-idiomatic, i.e., makes extensive use of unsafe Rust, a subset of the language thatdoesn’thave memory or thread safety guarantees. At the other end of the spectrum are LLMs, which produce idiomatic Rust code, but these have the potential to make mistakes and are constrained in the length of code they can process. In this paper, we present C2SAFERRUST, a novel approach to translate C to Rust that combines the strengths of C2Rust and LLMs. We first use C2Rust to convert C code to non-idiomatic, unsafe Rust. We then decompose the unsafe Rust code into slices that can be individually translated to safer Rust by an LLM. After processing each slice, we run end-to-end test cases to verify that the code still functions as expected. We also contribute a benchmark of 7 real-world programs, translated from C to unsafe Rust using C2Rust. Each of these programs also comes with end-to-end test cases. On this benchmark, we are able to reduce the number of raw pointers by up to 38%, and reduce the amount of unsafe code by up to 28%, indicating an increase in safety. The resulting programs still pass all test cases. C2SAFERRUST also shows convincing gains in performance against two previous techniques for making Rust code safer.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Nitin, V., Krishna, R., Valle, L. L. D., & Ray, B. (2025). C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques. IEEE Transactions on Software Engineering, 52(2), 618–630. https://doi.org/10.1109/tse.2025.3641486

MLA 9

Nitin, Vikram, et al. “C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques.” IEEE Transactions on Software Engineering, vol. 52, no. 2, 2025, pp. 618–630. https://doi.org/10.1109/tse.2025.3641486.

Chicago

Nitin, Vikram, Rahul Krishna, Luiz Lemos do Valle, and Baishakhi Ray. 2025. “C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques.” IEEE Transactions on Software Engineering 52 (2): 618–630. https://doi.org/10.1109/tse.2025.3641486.

Harvard

Nitin, V. et al. (2025) ‘C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques’, IEEE Transactions on Software Engineering, 52(2), pp. 618–630. doi:10.1109/tse.2025.3641486.

IEEE

V. Nitin, R. Krishna, L. L. D. Valle, and B. Ray, “C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques,” IEEE Transactions on Software Engineering, vol. 52, no. 2, pp. 618–630, 2025, doi: 10.1109/tse.2025.3641486.

BibTeX

@article{nitin2025saferrust,
  title     = {{C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques}},
  author    = {Nitin, Vikram and Krishna, Rahul and Valle, Luiz Lemos do and Ray, Baishakhi},
  journal   = {IEEE Transactions on Software Engineering},
  year      = {2025},
  volume    = {52},
  number    = {2},
  pages     = {618--630},
  doi       = {10.1109/tse.2025.3641486},
  url       = {https://doi.org/10.1109/tse.2025.3641486}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
202411
20251616
20264848

Its field-weighted citation impact is 32.24: it has been cited 32.24 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Information Systems › Software Engineering Research

  • C to Rust translation
  • memory safety
  • thread safety
  • large language models
  • end-to-end testing

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Nitin, V., Krishna, R., Valle, L. L. D., & Ray, B. (2025). C2SaferRust: Transforming C Projects Into Safer Rust With NeuroSymbolic Techniques. IEEE Transactions on Software Engineering, 52(2), 618–630. https://doi.org/10.1109/tse.2025.3641486

How many times has this paper been cited?

65 times, according to OpenAlex on 17 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at arXiv (Cornell University): sign in and open the PDF from this page.

Who wrote this paper?

Vikram Nitin, Rahul Krishna, Luiz Lemos do Valle, Baishakhi Ray.

What is the DOI of this paper?

10.1109/tse.2025.3641486, permanently at https://doi.org/10.1109/tse.2025.3641486. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 17 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.