5

[2212.12976] Modular Formal Verification of Rust Programs with Unsafe Blocks

 1 year ago
source link: https://arxiv.org/abs/2212.12976
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[Submitted on 26 Dec 2022]

Modular Formal Verification of Rust Programs with Unsafe Blocks

Download PDF

Rust is a modern systems programming language whose type system guarantees memory safety. For the sake of expressivity and performance it allows programmers to relax typing rules temporarily, using unsafe code blocks. However, in unsafe blocks, the burden of making sure that the code does not end up having undefined behaviour is on the programmer. Even most expert programmers make mistakes and a memory safety bug in an unsafe block renders all the type system guarantees void. To address this problem we are trying to verify soundness of Rust unsafe code applying our Modular Symbolic Execution algorithm. This text outlines our approach and the progress that has been made so far.

Comments: 22 pages, 13 listings, 3 figures, Technical report, Appendix by Bart Jacobs
Subjects: Logic in Computer Science (cs.LO); Programming Languages (cs.PL)
Cite as: arXiv:2212.12976 [cs.LO]
  (or arXiv:2212.12976v1 [cs.LO] for this version)
  https://doi.org/10.48550/arXiv.2212.12976

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK