edit: I'm particularly interested in formal specifications and their use in open source software.
edit: I'm particularly interested in formal specifications and their use in open source software.
* https://github.com/nikomatsakis/rust-memory-model * http://plv.mpi-sws.org/rustbelt/ * https://kha.github.io/2016/07/22/formally-verifying-rusts-bi...
The first isn't using formal methods AFAIK, the second is, and the third is as well, but I think they're targeting safe code only.
ftp://ftp.cs.washington.edu/tr/2015/03/UW-CSE-15-03-02.pdf
Disclaimer: I am affiliated with the project.
The contribution here is a formalization of borrowing and ownership semantics very close to Rust's, plus a sketch of how one would prove that these semantics give memory safety. The techniques can probably be adapted to an analysis of Rust itself.
Benitez, S. "Rusty Types for Solid Safety." ACM PLAS 2016. https://sergio.bz/docs/rusty-types-2016.pdf
(Full disclosure: Sergio and I are colleagues.)