Understanding Programming Bugs in Java Programs Using Counterexamples - Optimizing minimal counterexamples
Java PathFinder(JPF)
Java Bounded Model Checker(JBMC)
IDEA Intellij Community Edition
JPF and JBMC are required to install on your machine prior to clone this repository, please go to their github page for more details.
Once the repository is cloned, use Intellij or terminal to build under gradle environment:
and run all tests by
Run the following command:
An example of running can be shown as
For JBMC, simply add jbmc.exe into your PATH variable(under Windows machine) and use the command in a terminal
An example of running can be shown as (do not include .class suffix in argument)
An example of JPF output:
The detailed demonstration of this seminar can be seen inside the PDF or PPT attached.