Giter Site home page Giter Site logo
Polywit Logo

Codacy Badge PyPI version PyPI download month Python

Description

Modern verification tools report a violation witness amidst verification if a bug is encountered. Polywit employs execution-based validation to check the validity of the counterexample. This process involves extracting information on the assumptions of the verifier from the standardized exchange format for violation witnesses and building a test harness to provide a concrete execution of the program. The tool then executes the test harness on the code under verification and can either confirm or reject the violation witness if the relevant assertion is reached.

Whilst most modern execution-based validators such as wit4java and CPA-wit2test focus on specific language, polywit aims to provide an extensible, feature rich framework to allow for easy language integration and validator quality.

Framework

For a general language, the polywit implementation has the following architecture:

Polywit Architecture
  • The File Processor deals with processing of the compilation units.
  • The Witness Processor deals with processing of the witness.
  • The Test Harness deals with construction and execution of a test to check the validity of the reported violation.

Literature

Usage

usage: polywit [-h] frontend ...

Validate a given program with a witness conforming to the appropriate SV-COMP
exchange format.

positional arguments:
  frontend    Frontend language
    java      Use the java validator

options:
  -h, --help  show this help message and exit

Authors

Joss Moffatt (University of Manchester, United Kingdom) [email protected]

Tong Wu (University of Manchester, United Kingdom) [email protected]

Lucas Cordeiro (University of Manchester, United Kingdom) [email protected]

Peter Schrammel (University of Sussex, United Kingdom) [email protected]

Polywit's Projects

polywit icon polywit

🌍 A poly-language execution-based violation-witness validator

polywit.github.io icon polywit.github.io

✨ Build a beautiful and simple website in literally minutes. Demo at https://beautifuljekyll.com

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.