Giter Site home page Giter Site logo

wytseoortwijn / vercors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from utwente-fmt/vercors

0.0 1.0 0.0 322.99 MB

The VerCors tool set for Verification of Concurrent Software

License: Other

Java 35.99% ANTLR 2.06% C 0.05% Tcl 2.37% Batchfile 0.21% Shell 0.20% HTML 0.18% Scala 54.71% SMT 3.00% AutoHotkey 0.01% CSS 0.16% JavaScript 1.02% TeX 0.03%

vercors's Introduction

VerCors Verification Toolset

This repository hosts VerCors, a toolset for the verification of concurrent and parallel programs. VerCors aims to verify many different concurrency constructs, including: heterogeneous concurrency (Java and C), GPU kernels using barriers and atomics (OpenCL), and compiler directives as used in deterministic parallelism (OpenMP). VerCors is able to prove data-race freedom, memory safety, and functional correctness of (concurrent) programs written in Java, C, OpenCL, OpenMP, and PVL (Prototypal Verification Language, a procedural toy language for prototyping new verification features). Moreover, VerCors is designed to be language-independent, which makes adding new front-end languages a straightforward engineering effort.

A list of verified examples and case studies is maintained online and can be found here. This webpage also contains an online interface for VerCors and allows to try VerCors online.

The latest release of VerCors (as a collection of JARs) can be downloaded here.

Installation Instructions

The VerCors toolset can be installed and used on MacOS X, Linux, and Windows (via Cygwin). When using Windows make sure that the environment variable JAVA_HOME is configured. A basic installation requires:

If you have these requirements, proceed to 'Building'. On MacOS X, the easiest way to get them is:

  1. Be sure to have installed Homebrew
  2. brew tap homebrew/cask-versions
  3. brew cask install java8
  4. brew install ant
  5. Rest of the instructions below

Building

For a basic build of VerCors the following steps should be taken:

  1. Clone the VerCors repository using git clone https://github.com/utwente-fmt/vercors.git and move into the cloned directory, cd vercors.
  2. Create symbolic links to link the Viper modules, as described on the vercors/viper page. Users with a Unix system can also use the travis_build.sh script to create the symbolic links and install VerCors by running 'sh travis_build.sh' from the project's root directory.
  3. Build VerCors with Ant by running ant clean, followed by ant.
  4. Test whether the build was successful by running ./unix/bin/vct --test=examples/manual --tool=silicon --lang=pvl,java.

The last command tests the VerCors installation by verifying a large collection of examples (from the ./examples directory). This command should eventually report that all ? tests passed.

Usage instructions

VerCors verifies programs that are annotated with JML-style specifications (the underlying theory uses separation logic with permission accounting). Details on the specification language can be found on the VerCors Wiki pages. Furthermore, a large collection of example programs can be found (and verified) in the ./examples directory.

The VerCors toolset can be used from the main directory by running ./unix/bin/vct --silver=silicon <filepath>, with <filepath> the path of the (Java, C, or PVL) file to verify.

Contact

Related papers

A complete list of papers on the VerCors project is given here.

License

Copyright (c) 2008 - 2018 Formal Methods and Tools, University of Twente All rights reserved.

The license to VerCors is a mozilla open source license as described in LICENSE.TXT in the root of this project. It is a free to use, share-alike license. Should this license be too restrictive for your purpose, please let us know by creating an issue in our bug tracker. Direct contributors (people who send us pull-requests or edit this repository directly) are expected to agree with any license that the University of Twente might decide. If you do not agree with future license changes, please instead fork this repository as allowed under the conditions of LICENSE.TXT.

vercors's People

Contributors

mschwerhoff avatar aimenel avatar pieter-bos avatar fauziae avatar vakaras avatar sccblom avatar wytseoortwijn avatar stefanheule avatar marcoeilers avatar aterga avatar alexanderjsummers avatar reckoner-david avatar sjcjoosten avatar henkmulder avatar severinh avatar raulmonti avatar sophietje avatar saeeddarabi avatar fhahn avatar marieke73 avatar j3173 avatar lucasbru avatar

Watchers

 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.