From 70194baa133d2d0dedd38b499727f6ad4214c5d8 Mon Sep 17 00:00:00 2001 From: "o.elhawi@gmail.com" Date: Mon, 5 Nov 2018 12:51:01 +0000 Subject: [PATCH] verison upgraded --- README.md | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index b054fd2..aedd7b7 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

DepthK 3.0

+

DepthK 3.1

K-Induction adopting program invariants

================ @@ -16,13 +16,16 @@ To use this tool is necessary that the system contains the following software al > - Linux OS > - Python (v2.7.1 or higher); -> - sed; -> - grep; -> - GCC compiler; > - Uncrustify (v0.60 or higher) - http://uncrustify.sourceforge.net/ > - Pycparser (v2.10) - https://github.com/eliben/pycparser > - Ctags - http://ctags.sourceforge.net +> - Clang (v3.5) - http://clang.llvm.org > - PIPS - http://pips4u.org +> - sed +> - grep +> - timeout +> - GCC compiler +> - Java (v1.7 or higher); ============== @@ -36,8 +39,11 @@ First of all, you need to install the required packages: > - Uncrustify:
Ubuntu $ sudo apt-get install uncrustify
Fedora $ sudo yum install uncrustify > - Pycparser:
Ubuntu $ sudo apt-get install python-pycparser
Fedora $ sudo yum install python-pycparser -> - Ctags:
Ubuntu $ sudo apt-get install exuberant-ctags
Fedora $ sudo yum install ctags -> - PIPS:
Available at http://pips4u.org/copy_of_getting-pips/building-and-installing-pips-from%20svn
+> - Ctags:
Ubuntu $ sudo apt-get install exuberant-ctags
Fedora $ sudo yum install ctags +> - Clang:
Ubuntu $ sudo apt-get install clang-3.5
Fedora $ sudo yum install clang-3.5 +> - GCC:
Ubuntu $ sudo apt-get install gcc
Fedora $ sudo yum groupinstall "Development Tools" +> - Java:
Ubuntu $ sudo apt-get install openjdk-8-jre
+> - PIPS (optional):
Available at http://pips4u.org/copy_of_getting-pips/building-and-installing-pips-from%20svn
You should set the environment variable PATH in your .bashrc file.
Checkout Step 4: Load the PIPS environment variables from that link
@@ -59,27 +65,16 @@ or from https://github.com

Testing tool. DepthK can be invoked through a standard command-line interface. DepthK should be called -in the installation directory as follows: -

- -> $ ./depthk.py samples/conceptproof/invgen/confuse/confuse.c -g
-> \>\> Running PIPS to generate the invariants
-> \>\> Translating the PIPS annotation with the invariants
-> \>\> Starting the verification of the P' program
-> \-\> Actual k = 1
-> Status: checking base case
-> Status: checking forward condition
-> Status: checking inductive step
-> TRUE
- +in the installation directory. For help and others options: -By default ESBMC is called, as follows: -> $ ./esbmc --64 --no-library --z3 --unwind \ --timeout 15m [--base-case|--forward-condition|--inductive-step] +> $ ./depthk.py --help -For help and others options: +

-> $ ./depthk.py --help +Use the 'depthk-wrapper.sh' script in the installation directory to verify each single test-case: +> $ ./depthk-wrapper.sh -c /home/user/depthk/samples/ALL.prp /home/user/depthk/samples/example1_true-unreach-call.c
+> TRUE
=========================== @@ -90,7 +85,7 @@ Use the 'depthk-wrapper.sh' script in the installation directory to verify each Usage: -> $ ./wrapper_script_tests.sh <[-p|]> file.i +> $ ./depthk-wrapper.sh -c full/path/propertyFile.prp full/path/file.i

DepthK provides as verification result: