+
Skip to content

wit4java/wit4java

Repository files navigation

Wit4Java: A Violation-Witness Validator for Java Verifiers

Codacy Badge

Description

Modern verification tools report a violation witness amidst verification if a bug is encountered. To check the validity of the counterexample wit4java can be used for Java-based verifiers.

The tool employs execution-based validation to assert the violation of a witness. This process involves extracting information on the assumptions of the verifier from the standardised 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.

Literature

Usage

usage: wit4java [-h] [--packages [PACKAGE_PATHS [PACKAGE_PATHS ...]]]
                --witness WITNESS_FILE [--version]
                benchmark

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

positional arguments:
  benchmark             Path to the benchmark directory

optional arguments:
  -h, --help            show this help message and exit
  --packages [PACKAGE_PATHS [PACKAGE_PATHS ...]]
                        Path to the packages used by the benchmark
  --witness WITNESS_FILE
                        Path to the witness file. Must conform to the exchange
                        format
  --version             show program's version number and exit

Authors

Tong Wu (University of Manchester, United Kingdom) wutonguom@gmail.com

Lucas Cordeiro (University of Manchester, United Kingdom) lucas.cordeiro@manchester.ac.uk

Peter Schrammel (University of Sussex, United Kingdom) P.Schrammel@sussex.ac.uk

Maintainers

Joss Moffatt (University of Manchester, United Kingdom) josshmoffatt@gmail.com

Links

About

An execution-based violation-witness validator for Java

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载