safety-tool

Crates.iosafety-tool
lib.rssafety-tool
version0.3.8
created_at2025-06-10 07:46:44.840862+00
updated_at2025-09-25 01:15:59.367268+00
descriptionA tool for analyzing safety tags defined in tag-std
homepage
repositoryhttps://github.com/Artisan-Lab/tag-std
max_upload_size
id1706772
size125,418
XU, Hui (hxuhack)

documentation

README

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
Commit count: 633

cargo fmt