Saltar para:
Logótipo
Você está em: Início > Publicações > Visualização > Towards a Rust-Like Borrow Checker for C

Towards a Rust-Like Borrow Checker for C

Título
Towards a Rust-Like Borrow Checker for C
Tipo
Artigo em Revista Científica Internacional
Ano
2024
Autores
Silva, T
(Autor)
Outra
A pessoa não pertence à instituição. A pessoa não pertence à instituição. A pessoa não pertence à instituição. Sem AUTHENTICUS Sem ORCID
Correia, P
(Autor)
Outra
A pessoa não pertence à instituição. A pessoa não pertence à instituição. A pessoa não pertence à instituição. Sem AUTHENTICUS Sem ORCID
Sousa, L
(Autor)
Outra
A pessoa não pertence à instituição. A pessoa não pertence à instituição. A pessoa não pertence à instituição. Sem AUTHENTICUS Sem ORCID
Carvalho, T
(Autor)
Outra
A pessoa não pertence à instituição. A pessoa não pertence à instituição. A pessoa não pertence à instituição. Sem AUTHENTICUS Sem ORCID
Revista
ISSN: 1539-9087
Editora: ACM
Outras Informações
ID Authenticus: P-017-CWJ
Abstract (EN): <jats:p>Memory safety issues in C are the origin of various vulnerabilities that can compromise a program¿s correctness or safety from attacks. We propose an approach to tackle memory safety by replicating Rust¿s Mid-level Intermediate Representation (MIR) Borrow Checker. Our solution uses static analysis and successive source-to-source code transformations to be composed upstream of the compiler, ensuring maximal compatibility with existing build systems. This allows us to apply the memory safety guarantees of the rustc compiler to C code with fewer changes than a rewrite in Rust. In this work, we present a comprehensive study of Rust¿s efforts towards ensuring memory safety, and describe the theoretical basis for a C borrow checker, alongside a proof-of-concept that was developed to demonstrate its potential. We have evaluated the prototype on the CHStone and bzip2 benchmarks. This prototype correctly identified violations of the ownership and aliasing rules, and exposed incompatibilities between such rules and common C patterns, which can be addressed in future work.</jats:p>
Idioma: Inglês
Tipo (Avaliação Docente): Científica
Documentos
Não foi encontrado nenhum documento associado à publicação.
Publicações Relacionadas

Da mesma revista

Techniques and Analysis for Mixed-criticality Scheduling with Mode-dependent Server Execution Budgets (2019)
Artigo em Revista Científica Internacional
Pedro F. Souto; Muhammad Ali Awan; Konstantions Bletsas; Benny Akesson; Eduardo Tovar
Online Processing of Vehicular Data on the Edge Through an Unsupervised TinyML Regression Technique (2024)
Artigo em Revista Científica Internacional
Andrade, P; Silva, I; Diniz, M; Flores, T; Costa, DG; Soares, E
Minimal-Overlap Centrality for Multi-Gateway Designation in Real-Time TSCH Networks (2024)
Artigo em Revista Científica Internacional
Gaitán, MG; Luis Almeida; D'Orey, PM; Santos, PM; Watteyne, T
Guidelines for a graduate curriculum on embedded software and systems (2005)
Artigo em Revista Científica Internacional
Caspi, P; Vincentelli, ALS; Luis Almeida; Benveniste, A; Bouyssounouse, B; Buttazzo, GC; Crnkovic, I; Damm, W; Engblom, J; Fohler, G; Valls, MG; Kopetz, H; Lakhnech, Y; Laroussinie, F; Lavagno, L; Lipari, G; Maraninchi, F; Peti, P; Puente, JAdl; Scaife, N...(mais 8 autores)
Recomendar Página Voltar ao Topo
Copyright 1996-2025 © Faculdade de Medicina Dentária da Universidade do Porto  I Termos e Condições  I Acessibilidade  I Índice A-Z
Página gerada em: 2025-10-07 às 12:07:57 | Política de Privacidade | Política de Proteção de Dados Pessoais | Denúncias | Livro Amarelo Eletrónico