/seaurchin

Seahorn for Rust

Primary LanguageDafny

Installation

Preequisites

You will need the following software

Seaurchin installation and run

  1. Clone the repo
git clone https://github.com/priyasiddharth/seaurchin.git && cd seaurchin
  1. Set SEAHORN_ROOT.

INFO: Your SEAHORN_ROOT may be different

export SEAHORN_ROOT=$HOME/seahorn/seahorn/build-dbg/run
  1. Run verification job

INFO: The first run will download the docker image. It will take ~5 minutes.

./urchin rpf  --command=bpf seahorn/jobs/mult_no_overflow/
  1. Run verification job (verbose). This is useful to see compilation errors
./urchin rpf  --command=bpf seahorn/jobs/mult_no_overflow/ -v1

Additional info

  • The urchin script will look for Cargo.toml in the given directory.
  • The docker build script and Rust verification tools are here.