#safety-properties #tags #tool #show #analyzing #tag-std #asterinas

nightly no-std bin+lib safety-tool

A tool for analyzing safety tags defined in tag-std

11 unstable releases (3 breaking)

Uses new Rust 2024

0.4.1 Oct 22, 2025
0.4.0 Oct 9, 2025
0.3.8 Sep 25, 2025
0.3.6 Aug 14, 2025
0.1.0 Jun 10, 2025

#3 in #safety-properties

MPL-2.0 license

105KB
2K SLoC

safety-tool

A demo to show how safety properties can be checked on unsafe Rust code.

Install

Several projects are checked, while each project may pin own toolchain.

So to support them in the same tool, conditional compilation gated by --features is needed.

Projects and feature names:

project --features (or -F)
verify-rust-std std
Rust for Linux rfl
asterinas asterinas

There is no default toolchain for now, so one must set up it first and then build or install it.

For example, to check Rust for Linux codebase, specify rfl like this:

./gen_rust_toolchain_toml.rs rfl
cargo build -Frfl

Dependencies

~50MB
~822K SLoC