GithubHelp home page GithubHelp logo

matklad / prusti-dev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from viperproject/prusti-dev

0.0 2.0 0.0 9.85 MB

A static verifier for Rust, based on the Viper verification infrastructure.

Home Page: http://prusti.ethz.ch

License: Other

Shell 10.32% Rust 88.76% Python 0.83% Dockerfile 0.08%

prusti-dev's Introduction

Prusti

Test Test on crates Deploy Docker Build Status Test coverage Project chat

Prusti is a prototype verifier for Rust, built upon the the Viper verification infrastructure.

By default Prusti verifies absence of panics by proving that statements such as unreachable!() and panic!() are unreachable. Overflow checking can be enabled with a configuration flag, otherwise all integers are treated as unbounded. In Prusti, the functional behaviour of a function can be specified by using annotations, among which are preconditions, postconditions, and loop invariants. The tool checks them, reporting error messages when the code does not adhere to the provided specification.

For a tutorial and more information, check out the user guide.

Using Prusti

The easiest way to try out Prusti is by using the "Prusti Assistant" extension for VS Code.

Alternatively, if you wish to use Prusti from the command line there are three options:

  • Download the precompiled binaries for Ubuntu, Windows, or MacOS from a GitHub release.
  • Use the viperproject/prusti Docker image.
  • Compile from the source code, by installing rustup, running ./x.py setup and then ./x.py build --release.

All three options provide the prusti-rustc and cargo-prusti programs that can be used analogously to, respectively, rustc and cargo check. For more detailed instructions, refer to the user guide and to the developer guide.

Do you still have questions? Open an issue or contact us on Zulip.

prusti-dev's People

Contributors

fpoli avatar vakaras avatar cmatheja avatar juliand665 avatar aurel300 avatar gavinleroy avatar tillarnold avatar fabianwolff avatar karlosss avatar karenhong avatar frececroka avatar dependabot-preview[bot] avatar dependabot[bot] avatar kammola avatar dario23 avatar mario-bucev avatar zgrannan avatar sapphire-arches avatar dependabot-support avatar alevy avatar erdinm avatar jorajeev avatar rw avatar alexanderjsummers avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.